• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

.NET and C++

$

$triker

Guest
#1
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?
 

Swi

gningnegneur
#2
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.
 

Swi

gningnegneur
#3
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 posts

Latest profile posts

Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,961
Messages
673,239
Members
89,013
Latest member
Pdawgintown