您的位置:首页 > 编程语言 > C语言/C++

义 unsigned char *pImage;报错错误: expected expression before ‘unsigned’

2014-03-25 11:46 381 查看
在c++中可以这么定义:

unsigned char *pImage;

pImage = new unsigned char[100];

C应该怎么写,我按照以下方式,报错

unsigned char *pImage;

  pImage = unsigned char[10];
错误: expected expression before ‘unsigned’

nsigned char *pImage;

pImage = new unsigned char[100];

C应该怎么写,我按照以下方式,报错

unsigned char *pImage;

  pImage = unsigned char[10];

错误: expected expression before ‘unsigned’

在c++中可以这么定义:

unsigned char *pImage;

pImage = new unsigned char[100];

C应该怎么写,我按照以下方式,报错

unsigned char *pImage;

  pImage = unsigned char[10];

错误: expected expression before ‘unsigned’
http://v.17173.com/playlist_16647084?retcode=0 http://v.17173.com/playlist_16646343?retcode=0 http://v.17173.com/playlist_16645606?retcode=0 http://v.17173.com/playlist_16644847?retcode=0 http://v.17173.com/playlist_16644531?retcode=0 http://v.17173.com/playlist_16643651?retcode=0 http://v.17173.com/playlist_16642300?retcode=0 http://v.17173.com/playlist_16641603?retcode=0 http://v.17173.com/playlist_16640802?retcode=0 http://v.17173.com/playlist_16639970?retcode=0 http://v.17173.com/playlist_16638879?retcode=0 http://v.17173.com/playlist_16637879?retcode=0 http://v.17173.com/playlist_16637129?retcode=0 http://v.17173.com/playlist_16636395?retcode=0 http://v.17173.com/playlist_16635430?retcode=0 http://v.17173.com/playlist_16634717?retcode=0 http://v.17173.com/playlist_16633978?retcode=0 http://v.17173.com/playlist_16633361?retcode=0 http://v.17173.com/playlist_16632679?retcode=0 http://v.17173.com/playlist_16631929?retcode=0 http://v.17173.com/playlist_16631235?retcode=0 http://v.17173.com/playlist_16630442?retcode=0 http://v.17173.com/playlist_16629659?retcode=0 http://v.17173.com/playlist_16628775?retcode=0 http://v.17173.com/playlist_16627962?retcode=0 http://v.17173.com/playlist_16626885?retcode=0 http://v.17173.com/playlist_16626031?retcode=0 http://v.17173.com/playlist_16625187?retcode=0 http://v.17173.com/playlist_16624338?retcode=0 http://v.17173.com/playlist_16623563?retcode=0 http://v.17173.com/playlist_16622782?retcode=0 http://v.17173.com/playlist_16621927?retcode=0 http://v.17173.com/playlist_16621058?retcode=0 http://v.17173.com/playlist_16620090?retcode=0 http://v.17173.com/playlist_16619172?retcode=0 http://v.17173.com/playlist_16618194?retcode=0 http://v.17173.com/playlist_16617354?retcode=0 http://v.17173.com/playlist_16616530?retcode=0 http://v.17173.com/playlist_16615706?retcode=0 http://v.17173.com/playlist_16614722?retcode=0 http://v.17173.com/playlist_16613787?retcode=0 http://v.17173.com/playlist_16613068?retcode=0 http://v.17173.com/playlist_16612261?retcode=0 http://v.17173.com/playlist_16611494?retcode=0 http://v.17173.com/playlist_16610758?retcode=0 http://v.17173.com/playlist_16609837?retcode=0 http://v.17173.com/playlist_16608681?retcode=0 http://v.17173.com/playlist_16607859?retcode=0 http://v.17173.com/playlist_16606880?retcode=0 http://v.17173.com/playlist_16605763?retcode=0 http://v.17173.com/playlist_16604378?retcode=0 http://ameblo.jp/ny6688/entry-11803647598.html http://ameblo.jp/ny6688/entry-11803647598.html http://ameblo.jp/ny6688/entry-11803647598.html http://ameblo.jp/ny6688/entry-11803647598.html http://ameblo.jp/ny6688/entry-11803647598.html http://ameblo.jp/ny6688/entry-11803647598.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  c语言 dijkstra c++