00问答网
所有问题
当前搜索:
c2239
编程时遇到了错误:error
C2239
: unexpected token '{' following declara...
答:
你定义如下:typedef struct_WNDCLASS { UINT style;WNDPROC lpfnWndProc;int cbClsExtra;int cbWndExtra;HANDLE hInstance;HICON hIcon;HCURSOR hCursor;HBRUSH hbrBackground;LPCTSTR lpszMenuName;LPCTSTR lpszClassName;} WNDCLASS;缺少关键字struct,应该改为:typedef struct struct_WNDCLASS {//此处缺少一...
error
C2239
: unexpected token '{' following declaration of 'Li...
答:
List后面的{导致语法错误,这种错误说明你代码语法不对,无代码无真相
error
C2239
: unexpected token '{' following declaration of 'r...
答:
int main(){ char
c
,filename[20];FILE *fp1,*fp2;printf("请输入待加密的文件名:\n");scanf("%s",filename);fp1=fopen(filename,"r");fp2=fopen("miwen.txt","w");do { c=fgetc(fp1);if(c>=32&&c<=126){ c=c-32;c=126-c;} if(c!=-1)fprintf(fp2,"%c",c);} ...
error
C2239
: unexpected token '{' following declaration of 'ma...
答:
你要求的输入格式是:scanf("%d,%d,%d",&a,&b,&c);你输入的是:1 2 3 你要求逗号分割,你自己输入一个空格分割的,scanf当然识别不了后面两个喇,因为格式都不匹配。
error
C2239
: unexpected token '{' following declaration of 'su...
答:
对不起,这是
C
语言,不是写伪逻辑语言 include"stdio.h"//预处理 int sum(int a, int b){ return a+b;} int main(){ int a,b,
c
;a=123;b=456;c=sum(a, b);printf("sum is %d\n",c);return 0;}
error
C2239
: unexpected token '{' following declaration of 'ma...
答:
include <stdio.h>#include <math.h>int main(){ int a; int b; int
c
; scanf("%f,%f,%f\n",&a,&b,&c); double delta; double x1; double x2; delta = b*b-4*a*c; if (delta > 0) { x1 = (-b + sqrt(delta))/(2*a); x2 = (-b - sqrt(...
error
C2239
: unexpected token '{' following declaration of 'ma...
答:
你main函数后面没有加(),加上再试试。。。
0x774
c2239
指令引用的0x00000014内存。该内存不能为written。
答:
1一、硬件的可能性是比较小的,如果是硬件,那就应该是内存条跟主机不兼容的问题导致的 如果能排除硬件上的原因(内存条不兼容,更换内存)往下看:二、系统或其它软件引起的,可用下述方法处理: 系统本身有问题,及时安装官方发行的补丁,必要时重装系统。 病毒问题:杀毒 。杀毒软件与其它软件冲突:卸载...
C语言习题求解?zhizhen.cpp(34) : error
C2239
: unexpected token...
答:
定义 指针函数时不需要括号 void *p(int x[])//定义形参时不要指定大小
程序显示这个错误: error
C2239
: unexpected token '{' following decla...
答:
input应该改成*input()吧,
1
2
3
4
5
6
7
8
9
10
下一页
尾页
其他人还搜
2239次列车
京津城际高铁时间表查询
C2239时刻表
k205次列车时刻表
高铁2239经过哪些站点
G429次列车时刻表
g2239次列车途经站点时刻表
k223次列车时刻表
c862次列车途经站点