
关注
码龄 粉丝数 原力等级 --
- 被采纳
- 被点赞
- 采纳率
c语言error C2059: syntax error:’}’怎么改
收起
- 写回答
- 好问题 0 提建议
- 关注问题
微信扫一扫点击复制链接分享
- 邀请回答
- 编辑 收藏 删除 结题
- 收藏 举报
1条回答 默认 最新
- 关注
码龄 粉丝数 原力等级 --
- 被采纳
- 被点赞
- 采纳率
信仰869 2021-10-14 19:20关注多了一个}
本回答被题主选为最佳回答 , 对您是否有帮助呢? 本回答被专家选为最佳回答 , 对您是否有帮助呢? 本回答被题主和专家选为最佳回答 , 对您是否有帮助呢?解决评论 打赏无用 1举报
微信扫一扫点击复制链接分享
评论按下Enter换行,Ctrl+Enter发表内容
报告相同问题?
提交
- 2021-03-20 23:31wanyiiii的博客 error C2059:syntax error : ‘)’ syntax意思是语法,所以就是语法错误。 这类问题一般都是语法问题,不改写括号写括号啦,变量名写错啦什么的,不知道就看‘ ‘内的内容,基本都是相关的。
- 2021-05-21 18:44参数化凯同学的博客 #include#includeint commp(const void *a, const void *b){return ((float *)a)[0] > ((float *)b)[0] ?...}main(){float c[25],a[30][2];int x[2][17];int i,j;printf("\n");for(i=0;i<25;i++)sca...
- 2021-05-20 02:23weixin_39664962的博客 gdiplustypes.h(280): error C2059: syntax error : ‘constant‘gdiplustypes.h(280): error C2238: unexpected token(s) preceding ‘;‘gdiplustypes.h(281): error C2059: syntax error : ‘constant...
- 2021-05-22 07:31贫僧法号止尘的博客 #define ERROR -1 #define FAIL 0 #define OK 1 // Constant #define NAMESIZE128 #define PATHSIZE128 #define TIMESIZE128 #define STACKSIZE128 typedef struct Time{ int year; int month; int day; int hour; ...
- 2021-05-19 14:24柴犬花生酱的博客 c语言的问题errorC2059:syntaxerror:'{'0#include typedef struct node{int data;struct node *next;}LinkList;print(LinkList *h){LinkList *p;for(p=h;p;p=p->next)printf("%4d",p->next);}LinkList *creatl...
- 2021-05-22 17:36网友shaw的博客 该楼层疑似违规已被系统折叠隐藏此楼查看此楼在后面temp=fwrite(temp,struct book *temp,1,fp); //////////////就过不去了#include "stdio.h"#include "stdlib.h"#include "string.h"#include "stdlib.h"#include ...
- 2021-05-20 04:59无形画室的博客 #define ERROR -1 #define FAIL 0 #define OK 1 // Constant #define NAMESIZE128 #define PATHSIZE128 #define TIMESIZE128 #define STACKSIZE128 typedef struct Time{ int year; int month; int day; int hour; ...
- 2016-12-20 16:39NSDCODER的博客 error C2059: syntax error : 'constant'
- 2021-05-17 13:53weixin_39704727的博客 f:\opencv\opencv\build\include\opencv2\flann\lsh_table.h(): error C2059: 语法错误:“::”f:\opencv\opencv\build\include\opencv2\flann\lsh_table.h(266): error C2589: “(”:“::”右边的非法标记const size...
- 改了名字看你怎么笑的博客 通过逐行排查,发现是离报错else这一行很远的地方 有一行注释,其中存在汉字【挪】,把这个挪字... 语言是C语言 文件编码格式应该是UTF8 其他的地方大量存在汉字的注释,所以应该不是文件编码或者不让汉字注释的原因。
- 2021-05-19 20:34能睡的博客 c++代码错误errorC2059:?0代码如下://Circle.cpp文件,类CCircle的成员函数的实现#include "circle.h"double CCircle::Area() const //计算圆的面积{return PI * radius * radius;}double CCircle::Circumference...
- 2021-07-02 18:28豆萱的博客 fatal error C1004: unexpected end of file found未找到文件末尾(可能是括号匹配问题)fatal error C1021: invalid preprocessor command '1nclude'无效的编译预处理命令'1nclude'fatal error C1083: Cannot open ...
- 2022-08-31 22:43林夕07的博客 C2041系列错误:这种一般都是八进制或者十六进制的数字超过范围了。
- 2021-05-20 04:46Lay200的博客 struct ballon *head,*a,*b,*c; head=(ballon *)malloc(sizeof(ballon)); head->next=NULL; a=head; b=head; do{ c=(ballon *)malloc(sizeof(ballon)); c->next=NULL; a->next=c; a=a->next; a->x=(rand()&500)+20;...
- 2020-05-16 09:00zhengxiuchen86的博客 解决error C2059: 语法错误:“::”问题
- 2023-05-18 22:50百口可乐__的博客 编译发生几百个下面的错误 error C2059: 语法错误 : “return” 头文件包含顺序的问题,将 #include 放到最后 #include #include #include 改为 #include #include #include
- 没有解决我的问题, 去提问