这段代码写的是什么progarmming laguage?你能帮帮我吗? [英] What progarmming laguage are this code written in? Could you help me plz?

查看:94
本文介绍了这段代码写的是什么progarmming laguage?你能帮帮我吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

double metric;

  if ((bearer->GetApplication ()->GetApplicationType () == Application::APPLICATION_TYPE_INFINITE_BUFFER)
      ||
      (bearer->GetApplication ()->GetApplicationType () == Application::APPLICATION_TYPE_CBR))
    {
      metric = (spectralEfficiency * 180000.)
                /
                bearer->GetAverageTransmissionRate();
    }
  else
    {

     QoSForEXP *qos = (QoSForEXP*) bearer->GetQoSParameters ();

推荐答案

嗯...您已在所申请的标签中回答了自己的问题。

这是C ++



但是如果你是从互联网上收集随机来源而不知道(或能够识别)它写的语言,那么我怀疑你将很难理解代码以创建我自己的提议算法



学习语言并首先变得优秀并且精通它 - 或者它将会从长远来看,效果不佳。
Um...you have answered your own question in the tag you applied.
This is C++

But if you are collecting random source from the internet without even knowing (or being able to recognise) what language it is written in, then I suspect you are going to have considerable problem understanding the code sufficiently to "create my own proposal algorithm"

Learn the language and become good and proficient in it first - or it will not work well in the long run.


这篇关于这段代码写的是什么progarmming laguage?你能帮帮我吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆