#include <stdio.h>
#include <stdlib.h>
int main(int argc, char* argv[])
{ char* key="844607587";
while(*key!=0){
printf("hello world,%c\n",*key);
key++;}
}
Run Code Online (Sandbox Code Playgroud)
为什么程序不能停在零位数?然后0是什么意思?那个没有''的人
我试图计算地图中〜1000点之间每两点之间的距离.在定义距离数组d [1000] [1000]时,我得到错误"code :: blocks已停止工作".
码:
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
int main(){
double d[1000][1000];
//...
return 0;
}
Run Code Online (Sandbox Code Playgroud)
我正在使用64位PC并在Code :: Blocks中编码.