登录
首页 » Visual C++ » compare

compare

于 2014-09-02 发布 文件大小:1KB
0 264
下载积分: 1 下载次数: 3

代码说明:

  int compare(const char* a, const char* b, int size) { for (int i = 0 i < size i ++) { if (a[i] != b[i]) { return i } } return -1 } (int compare(const char* a, const char* b, int size) { for (int i = 0 i < size i++) { if (a[i] != b[i]) { return i } } return-1 } )

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 88
    说明:  一维等离子体的时域有限差分方法的仿真详细步奏(plasma FDTD)
    2015-04-11 16:26:47下载
    积分:1
  • geneticalgorithm
    调试所用Matlab版本是6.5,gatbx-toolbox是调试过程中使用的工具箱,有些热心的研友已经提供了该工具箱,之所以再贴一遍,是因为6.5版本下调试该工具箱会出现一些错误提示,在该版本中已经进行了改正,使用该工具箱只需要将压缩包下的gatbx和gatbxTest_fns加入到Matlab搜索路径即可,另外gatbx-origin是Sheffield大学提供的原始版本的工具箱,未做任何改动,两者可做比较之用 3.gatbx-example是算例调试源码和各算例的调试说明,大家可以对照原书进行比较 4.窃以为gatbx工具箱较之Matlab7新版下的gads工具箱更能让人熟悉和了解遗传算法的原理和计算过程,虽然在可视化方面不及gads 5.学习遗传算法如果首先用熟相关工具箱的话,能够先培养信心,然后更有兴趣去专研和了解具体的算法,如果就用现有的工具箱就能解决问题的话,不了解其详细的算法也未尝不可,毕竟不是每个研友都能向see_moonlight那样开发自己的工具箱吧, ( The debugging uses the Matlab edition is 6.5, gatbx-toolbox debugs the toolbox which in the process uses, somewhat warm-hearted ground the friend already to provide this toolbox, the reason that pasted again, was because under 6.5 editions debugged this toolbox to be able to present some wrong prompts, had already carried on the correction in this edition, will use this toolbox only to need to compress package of under gatbx and gatbx Test_fns joins to the Matlab search path then, moreover gatbx-origin was the primitive edition toolbox which the Sheffield university provided, has not made any modification, both might make the comparison are the example debugging sound code and various examples debugging explained with 3.gatbx-example, everybody might compare the original bookCarries on comparison 4. in my opinion under the gatbx toolbox s to be able to let the human compared with Matlab7 update gads toolbox be familiar with the understanding genetic algorithm principle and)
    2010-10-17 15:04:57下载
    积分:1
  • FiniteEM
    求电磁场边值,程序简洁,方法得当,运算速度快,是这一程序的最突出的特点(For electromagnetic field boundary value, the program is simple and methodologically sound, computing speed, this procedure is the most prominent feature of)
    2007-08-20 16:15:19下载
    积分:1
  • file
    说明:  matlab书籍很好 很好 的文章 (matlab books very good very good article)
    2008-10-27 21:02:01下载
    积分:1
  • SytheticRec_MATLAB
    用matlab合成地震记录,matlab代码,石油勘探,地震正演模拟(sythetic seismic record with matlab)
    2013-11-29 13:10:25下载
    积分:1
  • zuoye
    这是一个我们平时的作业,里面的内容是关于MATLAB的,希望大家觉得有用(This is one of our normal operations, which the content is on the MATLAB, and hope you find it useful)
    2011-05-14 17:33:00下载
    积分:1
  • Clieduua
    计算机械振动烈度,由采集的振振动位移数据来求得可直接使用。 (Calculation of the mechanical vibration intensity, obtained by the vibration vibration displacement data collected can be used directly.)
    2012-07-24 00:39:57下载
    积分:1
  • BP-neural-network--MATLAB-
    神经网络进行预测matlab,很不错,值得看看(Neural network prediction matlab, very good, worth a look)
    2013-11-15 16:54:03下载
    积分:1
  • matlab-data-to-txt
    matlab中将数据输出保存为txt格式文件的几种方法.(matlab will save the data output to txt format files in several ways.)
    2012-10-27 11:18:42下载
    积分:1
  • FFT
    可以实现快速傅里叶的计算,适用于matlab环境(Calculation can achieve fast Fourier for matlab environment)
    2016-12-04 20:20:31下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载