@義忠仁-15345107-PP 今天下午研究出来的C语言代码,winxp/2000系统直接崩溃重启!如果把print语句去掉可以使NT4.0系统蓝屏。 #include< ;stdio.h> int main( void ) { for(;;){ printf( "hung up\\t\\t\\b\\b\\b\\b\\b\\b" ); print("hung up\\t\\t\\b\\b\\b\\b\\b\\b"); } return 0; } 只有九行不要说我暴力= =展开全文 include< ;stdio.h> {int i=26; i=i+1; printf("Happy %d th birthday to me /n",i); printf("Birthday is another day.") }cin.get():用法1: cin.get(字符变量名)可以用来接收字符 #include <iostream> using namespace std; main () { char ch; ch=cin.get(); //或者cin.get(ch); cout<<ch<<endl; } 输入:jljkljkl...文字版>> 🔗 网页链接 (新浪长微博>> http://t.cn/zOXAaic) 展开全文 #include <stdio.h># include <string.h>#include <string># include <iostream>using namespace std;char s1[201]={'\\0'},s2[201]={'\\0'};char opt[201][201][201]={'\\0'};int maxlen[201][201]={0};int main(){ scanf("%s",s1); scanf("%s",s2); int i,j; int n=strlen(s1),m=strl展开全文 小甲鱼要求用C语言写的投票系统,有不足的地方请大家指出。(附源码) | #include< ;stdio.h> # include< ;stdlib.h> #include< ;string.h> struct toupiao { char name[20]; int piaoshu; }a = {\\"小甲鱼\\"}, b = {\\"苍井空\\"}, c = {\\"小泽玛利亚\\"}, 🔗 网页链接 展开全文 @丧心病狂青年踏步 #include< ;stdio.h> int main() { int a,i,j,x; printf("Shawn, input\ "); scanf("%d",&x); for(i=0,j=x;i<3;++i) {a=j%10; j/=10;} //累说是不是这个意思?俺是这个意思 printf("%dHundred%dTen%d",a[0],a,a);return 0; }展开全文 根据以下源程序,分析程序的功能是_____________ #include <stdio.h> void main() { int x,y; scanf("%d",&x) ; if(x<0) y=-1 ; else if(x==0) y=0; else y=1; printf("x=%d,y=%d\ ",x,y); } 展开全文 我写分解质因数是......... | #include< ;stdio.h> # include< ;malloc.h> bool susu(int i) { int j, k; k = 0; for(j = 2;j<i;++j) { if(i % j ==0) { k++; } } if(k == 0) { return true; } else { return false; } } void main() { star1:printf( 🔗 网页链接 展开全文 LOL 【【全部通过图灵测试】人工智能一览】 1、女神智能 #include< ;stdio.h> void main() { char a[1000]; int i,j; for(i=0;i<=5;i++)//与女神聊天 ... (来自 @果壳网) 🔗 网页链接 #include <stdarg.h> C语言中的函数重载,可以用在函数中,可以使用多个值 有三个函数:va_start(ap,argN), va_arg(ap,type),va_end(ap)!! 需要好好学习~~~ #include <iostream> using namespace std; long fac(int); int main() {int n; long y; cin>>n; y=fac(n); cout<<n<<"!="<<y<<endl; return 0; } long fac(int n) {double f; if(n<0) {cout<<"n<0,data error!"<<endl; f=-1;} else if(n==0||n==1) f=1; else f=fac(n-1)*n; return f; } 展开全文 #include< ;stdio.h> # include< ;string.h> int main() {char str1[30]={"People's Republic of "};str2[]={"China"}; int k,j; k=strlen(str1); for(j=0;j<strlen(str2);j++) {str1=str2,k++;} printf("%s",str1[]); return 0; }展开全文 #include< ;stdio.h> void main() { if(2l) printf("lzsb"); else printf("2l da sb"); return 0; } 展开全文 #include< ;stdio.h> void main() { float x,y; printf("请输入一个X的值:"); scanf("%f",&x); if(x<1) y=x; else if(x>=10) y=3*x-11; else y=2*x-1; printf("得到Y的值为:%f\ ",y); } lbb 展开全文 #include< ;stdio.h>int dinner;void main(){dinner=汉堡+香草奶昔;/*火黑真爱套餐or junk food*/while(1){int wind;wind=香草;if(动画二期角色歌青黄也能来一发)printf("good!");}} 展开全文 晚饭是汉堡+香草奶昔的火黑真爱套餐^q^(其实只是垃圾食品套餐吧…… 路上loop着香草风,就在想如果动画二期角色歌青黄也能来一发就好了……www 使用tcmalloc的话在动态链接-ltcmalloc后怎样判断程序中的malloc calloc使用的是tcmalloc中的方法?我去掉了include <malloc.h>的声明后会报警告啊 这是不是代表我动态链接失败了用了还是标准库中的malloc calloc?求转发@CodeBox-腾讯 展开全文 #include <studio.h> # define PI 3.14 void main() { float r v scarf("%f,&r); v=4.0/3.0 PI r•r•r prinf ("%f\ ",v); } 为啥我要学介个展开全文 #include <stdio.h># include <math.h>#define PI 3.14159void main(){float y,x;print("please input x:"); scanf("%f",&x);if(x<-PI/2) y=2*x*x*x+3*cos(x)+5;else if(x<PI/2) y=((x-1)/(x+2))*((x-1)/(x+2))*((x-1)/(x+2))+5*x;else y=sqrt(x+sin(3*x));printf("y=%f",y);}@张启进 @娄义端 @飛澐 展开全文 #include< ;stdio.h> int main() { float x,y; printf("input x:"); scanf("%f",&x); if(x<1) y=x; else if (1<=x<10) y=2*x-5; else y=3*x-11; printf("y=%f\ ",y); return 0; } 展开全文 #include< ;iostream.h> # define PAI 3.14 void main () { double rad; cout<<"请输入圆的半径:";//cout<<“Inpit:"; cin>>rad;//半径 cout<<"圆的面积是:"<<PAI*rad*rad<<'\ '<<"圆的周长:"<<2*PAI*rad<<endl; //cout<<"area;"<<PAI*rad*rad<<'\ ' //cout<<"zc;"<<2*PAI*rad<<endl; }展开全文 #include< ;stdio.h> int main(void) { double x,y; printf("Enter x(x>=0):\ "); scanf("%lf",&x); if(x<=15) y=4*x/3; else y=2.5*x-10.5; printf("y=f(%f)=%.2f\ ",x,y); return 0; } @咸黑鱼是大心脏 笨B!赶紧抄吧 展开全文 #include< ;stdio.h> may be ; when I inter I Love U; maybe; I can hear I Love U too; but I need; When I say I cant Love U; U Can Always say Love U ; break ;for ever ; End; 展开全文