51代码网ORACLEMYSQLSQL SERVER其它数据库java/jspasp/asp.netC/C++/VC++APP应用其它语言服务器应用
您现在的位置: 51代码网 >> C >> 文章正文

error C2059: syntax error : 'namespace'

更新时间:2012-3-29:  来源:51代码网

头是这样的

#include"interface.h"
#include<fstream>
#include<iostream>
using namespace std;

interface.h这个文件是否存在?

哦好像没有放进这个工程里 。。。
放进去了,然后又有错误了!!

error C2146: syntax error : missing ';' before identifier 'cp'
 : error C2501: 'Carport' : missing storage-class or type specifiers
 : fatal error C1004: unexpected end of file found
执行 cl.exe 时出错.

  • 上一篇文章:
  • 下一篇文章: 没有了
  • 赞助商链接
    推荐文章
  • 此栏目下没有推荐文章
  • {
    设为首页 | 加入收藏 | 友情链接 | 网站地图 | 联系站长 |