在代码中获取语法错误 [英] getting syntax error in code
本文介绍了在代码中获取语法错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,我有几个问题?
1.这是我主要功能的一部分
Hi everyone, I have a couple of questions?
1.this is part of my main function
展开 | 选择 | 换行 | 行号
推荐答案
在你声明它们时需要你和我之间的逗号吗?
i也相信open()是一个函数。 。 。使用
need you a comma between i and j as you declare them?
i also believe that open() is a function . . . use
展开 | 选择 | Wrap | 行号
好吧,我猜这个逗号现在显示代码标签。 。 。
你试图在j中存储一个对于int来说太大的值。 (可能是也可能不是问题)使用long int。
well, i guess the comma shows up now with the code tags . . .
youre trying to store a value in j that is too big for an int. (may or may not be the problem) use a long int.
,当你将t_node嵌入到其他结构中时,你不需要再次使用关键字struct。 。 。它告诉编译器你再次定义结构。
also, when you embed a t_node into your other structs, you need not use the keyword struct again . . . it tells the compiler you are defining the struct again.
这篇关于在代码中获取语法错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文