C和C++混合,以及argv的读取

热度:

把和C相关的所有header文件之前加上extern "C",在链接的时候就不会出现找不到symbol的错误。

另外,VS2005建立一个新的工程,_tmain函数里的argv不知道为什么只能读出第一个字符,把_t删掉就好了,不知道为什么...

发表评论

日历

2010年七月
« 六    
 1234
567891011
12131415161718
19202122232425
262728293031  

文章索引模板

链接

StatPressCN

Since 20091224:
  • Current page is visited 0 times
  • Now there are 0 friends visiting this blog, 10 today, 7 yesterday, and 148 totally
  • The posts have been viewed 20 times today, 10 yesterday, and 465 totally
  • 0 friends have subscribed this blog
  • The TopPost is Cadence IC5141+Assura 314完全安装指南, TopBroswer is Firefox 3, TopOS is Windows XP
  • You come from , your broswer is , OS is
  • This blog have 53 posts, 4 pages, 8 comments, and 5 commentors.

技术支持来自 天高云淡

BABY COUNT

Just updated...
The Count is 2273.