This can be avoided by storing the constant string into a local array and then using the array as the argument to the function.
这可以通过以下方法来避免:将常数字符串存储在某个本地数组中,然后将该数组用作函数的参数。
Even if it's the address, you will face undefine behavior since it's a local array which ends its life after exitting the scope.
即使它的地址,你将面临由于这是当地的一个阵列,其结束生命后退出范围未定义行为。
The larger the array, the more local references will be created.
数组越大,所创建的本地引用就越多。
A huge and varied array of local factors will affect the results, which will make it hard to work out the impact of his decision.
当地因素繁杂且变化多端,将会影响到竞选结果,所以很难估量出他这个决定所带来的影响。
In each of these places, a great array of cultural forces, both local and external, lent a unique, often bittersweet texture to daily life, at least when cosmopolitanism was at its height.
三者中的每一处,地方的和外来的各种文化力量都给人们日常生活添加了独特的神韵,期间大多有苦有甜。至少在城市国际化进程到达顶峰时如此。
Voters queued for hours at a local school-turned-polling-station to choose from a bewildering array of 97 different lists of candidates.
选民们在充当投票站的一所当地学校里排了数小时队,从一个令人眼花缭乱的由97份不同候选者名单所组成的阵列中作出选择。
Swarms of fans shouted loudly in exhilarated frenzy as an array of local stars strutted down the red carpet.
当本土明星们踏过红地毯时,粉丝们的尖叫声充斥着整个现场。
Literal values and local variables can be accessed very quickly, whereas array items and object members take longer.
直接量和局部变量访问速度非常快,数组项和对象成员需要更长时间。
We designed a landscape deeply rooted in the local culture while also proposing an array of solutions that enhanced the relationship between the buildings and the landscape.
我们的景观设计植根于当地文化,同时也采用一系列手法力求加深景观和建筑之间的关系。
The matching of the local light wavefront and signal light wavefront in the laser coherent array imaging radar system will directly affect the sensitivity and resolution of the system.
激光相干阵列成象雷达系统中本振光波前与信号光波前匹配与否直接影响系统的灵敏度和分辨力。
This paper also covers the main process of binocular 3D laser scanner, which uses laser dots array as initiative light, stereo matching, 3D reconstruction and local registration.
对用激光点阵作为主动光的双目3D扫描仪软件实现的主要过程进行了描述,并对立体匹配,三维重建和局部配准进行了比较详细的阐述。
However, the resetting to zero does not work as intended, because only the local copy of each element is reset to zero, while the original element is left unchanged in the original array.
但是,将元素重置为零的操作无法完成,因为只有每个元素的本地副本被重置为零,而原始数组中的原始元素却保留未变。
Like the local variables, the operand stack is organized as an array of words.
和局部变量区一样,操作数栈也是被组织成一个以字长为单位的数组。
In Dream of migrant (2005), Wang Qingsong's face is hidden behind the camera, but the rich array of local actors present his vision of the ramshackle life of China's millions of migrants.
在《盲流梦》(2005年)中,王庆松的面孔隐藏在照相机后,单是当地演员富庶的穿着却表现了他眼中中国千百万盲流们苦不堪言的生活。
The Skyline Caverns gift shop presents an endless array of specialties, collectibles, local handcrafts, native Virginia foods and jewelry, as well as photographic supplies.
宝石花洞的礼品店中充斥着琳琅满目的特产,收藏品,地方手工艺品,维吉尼亚土产食物、珠宝和照片。
Gets the index of the local name of the current node within an array of names.
获取名称数组中当前节点的本地名称的索引。
Each address in this array gives the location of thread-local storage data.
此数组中的每个地址提供线程本地存储区数据的位置。
Indicates that an array in a structure or non-local variable should be treated as a fixed-length array.
表示结构或非区域变数的阵列应视为固定长度的阵列。
In order to measure dynamically the local temperature or wall shear stress of a flow, a new structure of flexible hot-film sensor array and its fabrication process are proposed.
为了实现流场壁面剪应力等动态定点分布测量,提出了一种新的柔性热膜传感器阵列结构,并介绍了其制作工艺。
In order to measure dynamically the local temperature or wall shear stress of a flow, a new structure of flexible hot-film sensor array and its fabrication process are proposed.
为了实现流场壁面剪应力等动态定点分布测量,提出了一种新的柔性热膜传感器阵列结构,并介绍了其制作工艺。
应用推荐