-
-
3如何在Makefile中定义宏进行条件编译-- “-D” 在源代码里面如果这样是定义的: #ifdef MACRONAME //可选代码 #endif 那在makefile里面 gcc -DMACRONAME=MACRODEF 或者 gcc -DMACRONAME 这样就定义了预处理宏,编译的时候可选代码就会被编译进去了。举例说明: -Dmacro=string,等价于在头文件中定义:#define macro string。 -DTRUE=true,等价于在头文件中定义:#define TRUE true -Dmacro,等价于在头文件中定义:#define macro 1,实际上也达到了定义:#define macro的目的。 -DLINUX,等价于:#d
-
3子程序太多了,在编写Makefile时需要把所有子程序所在的文件的文件名显式的写在Makefile中,如 source = \ xx1.F \ xx2.F \ xx3.F \ . . . xxx.F 如何快速的得到所有文件的文件名呢。。。 今天下午试了一下,一个一个输进去,大概有300个子程序的文件,每个文件的文件名并不长,但是这也是一个相当苦逼的工作。。。 查了一下,可以采用下面的脚本得到所有文件的文件名,并把这些文件名存放在一个指定的文件中,这里假定把所有文件名信息存储在一个名为name_l
-
6Plot3d File Format for Grid and Solution Files This page describes the Plot3d file format for writing CFD structured grids and solutions. Below are examples for reading the files using Fortran 77 code. The examples assumes the grid file has been opened to unit 7 and the solution file to unit 8. Shown are examples for 2D, formatted, single-block files and 3D, unformatted, multi-block files. Permutations of these formats are possible and should be evident from the examples. 2D, Whole, Formatted, Single-Block Grid and Solution parameter ( imax = 100 ) parameter ( jmax = 100 ) integer i integer j
-
207不要再喝茶了小兮 快回来!
-
20
-
7
-
88
-
52
-
32
-
11看到大家都玩的不亦乐乎,于是在下也来试一发~
-
10昨天终于受不了S/L的无趣,找来了Bruteforce来了一发~ 首先是准备工作,需要先下一些软件~ msvbvm50.rar【缺少MSVBVM50.DLL时用】 Bruteforce save data winhex【16进制文件编辑与磁盘编辑工具】 由于我电脑有vs2010所以不需要再装别的
-
01.打酱油的 2.乘虚而入 3.初出茅庐 4.小有所成 5.小露锋芒 6.龙争虎斗 7.横扫千军 8.八门金锁 9.锦帆游侠 10.常胜将军 11.一骑当千 12.西凉麒麟 13.唯我独尊 14.天道威仪 15.运筹帷幄 16.功成名就 17.君临天下 18.天下无双
-
1欢迎来到西凉麒麟吧,本吧为个人贴吧,此贴为吧规及相关导航~ ★本贴禁止回复。
-
15哈哈终于有个人贴吧了赶紧来备份