1.错误#includeusing namespace std;int main(){ ..... return 0;}//如果把注释放到这里了,那么提交就会出错2.正确#includeusing namespace std;int main(){ ..... //应该放到大括号里面 return ...
分类:
其他好文 时间:
2014-08-13 21:56:57
阅读次数:
240
在将命令行下的C++程序转换成MFC窗口程序时一般会提示下面这种错误:fatal error C1010: unexpected end of file while looking for precompiled header directive解决办法:在该文件第一行(记住一定要是第一行)加入#i...
分类:
编程语言 时间:
2014-07-30 11:31:53
阅读次数:
214
scanf的返回值由后面的参数决定scanf("%d%d", &a, &b);如果a和b都被成功读入,那么scanf的返回值就是2如果只有a被成功读入,返回值为1如果a和b都未被成功读入,返回值为0如果遇到错误或遇到end of file,返回值为EOF。且返回值为int型.验证:sign=scan...
分类:
其他好文 时间:
2014-07-19 21:15:44
阅读次数:
281
今天单独启动了Data Guard的primary 数据库,出现了这个错误:ORA-03113: end-of-file on communication channel...
分类:
其他好文 时间:
2014-06-22 19:01:38
阅读次数:
205
freemarker自定义标签
1、错误描述
freemarker.core.ParseException: Unexpected end of file reached.
at freemarker.core.FMParser.generateParseException(FMParser.java:4702)
at freemarker.core.FMParser.jj_co...
分类:
其他好文 时间:
2014-06-08 10:00:35
阅读次数:
226
今天在研究微信公众平台 自动接收发送消息的时候,在如下代码: public String
processRequest(HttpServletRequest request) { String respMessage = null; try {
System.err.println(inputStr...
分类:
微信 时间:
2014-05-25 23:47:40
阅读次数:
705
【no newline at the end of file】
修复这个警告,在文件结尾回车一下就行了。 这么规定的初衷是,为了每一行都要以换行结束。
因为行尾的/表示连接下一行,如果一个文件最后一行(main函数的右边大括号)行尾有/,那么,紧跟它也被包含进来的下一个源文件的第一行就会被连接...
分类:
其他好文 时间:
2014-05-19 11:11:21
阅读次数:
232
Problem Description
Given an integer N(0 ≤ N ≤ 10000), your task is to calculate N!
Input
One N in one line, process to the end of file.
Output
For each N, output N! i...
分类:
其他好文 时间:
2014-04-28 10:36:41
阅读次数:
341