.NET and C++

$

$triker

Guest
I wanted to program visual C++ in .NET but when I made a program and tried it i got all these wacky errors. I then made a really simple program (first i learned lol):

#include <iostream.h>
int main()
{
cout<<"Hello Stupid Comp!"<<endl;
return 0;
}

But I get "unexpected end of file" supposedly from my header file being non-existent or wrong.
What have they done to C++? Are there lots of changes I should know about?
 
it probably depends of what type of project you choose...
i'll try a few type with your lines and i'll get back to you.
 
ok, try creating a "Managed C++ Application" and add your code in the function int _tmain() that replace the Main function

Enjoy!
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back