visual studio 2012 c++ hello world - iostream not working

前端 未结 6 939
轮回少年
轮回少年 2021-02-08 21:48

I have an issue with Visual Studio\'s 2012. I am also using \"Sams Teach Yourself C++ in One Hour a day, 7th edition\".

After using google to find the \"best\" compilers

6条回答
  •  灰色年华
    2021-02-08 22:32

    The difference between

    “Hello World!” and 
    "Hello Nik" is the apostrophe. 
    

    Aslo is the error persists than just check visual c++ library linker.

    There is aslo definitely no need for conio.h

    If your going to copy from a book at least copy it correctly.

    Using namespace std; 
    would be pretty smart in this case. 
    

提交回复
热议问题