楼主: iooo
3459 3

关于include [推广有奖]

  • 2关注
  • 43粉丝

已卖:1587份资源

学科带头人

86%

还不是VIP/贵宾

-

威望
0
论坛币
5572 个
通用积分
32.2913
学术水平
148 点
热心指数
175 点
信用等级
84 点
经验
28790 点
帖子
761
精华
0
在线时间
4619 小时
注册时间
2007-3-31
最后登录
2025-7-20

楼主
iooo 发表于 2011-2-8 14:11:28 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
请教版主和各位,好像以前"#include"是可以用的,不知从什么时候起一用就说Syntax error ,这个是怎么回事啊?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:include CLU Inc SYNTAX Error include

沙发
kohyoubeng 发表于 2011-2-24 00:07:58
你看看是不是#include   之后多了一些空格, delete 掉就行了
已有 1 人评分经验 论坛币 学术水平 收起 理由
xuehe + 40 + 20 + 1 根据规定进行奖励

总评分: 经验 + 40  论坛币 + 20  学术水平 + 1   查看全部评分

藤椅
小栯 发表于 2011-3-9 20:13:39
1# iooo
你的问题解决了吗?
我也遇到这样的问题了,不知道该怎么解决。

板凳
jungsee 发表于 2015-1-19 20:33:21
The #include statement can only be run as part of a program. If you try to run an #include statement from the command-line or using "run selected text" (using F4 or the context menu) from an editor window, it will return a syntax error.

However, the two files that you mention are part of the standard GAUSS library. So you should not have to #include them in your file. Try commenting out those statements and see if your code still runs.

In the case where you do want to execute the equivalent of an #include from the GAUSS command window, you can use the 'run' command instead:

run myfile.ext
instead of

#include myfile.ext

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-9 10:53