0
How to make a Hello World program in Visual Studio Community
I want to know how to make a simple Hello World program in C++ by VS Community
4 odpowiedzi
+ 6
below the int Main(); , inside the cursive{} brackets
type in
cout << "Hello world!";
//cout means to print out in console.
return 0;
//This ends the system, optional to put but highly recommended to prevent errors if you have mass amount of complicated codes, etc.
+ 5
Make sure when you startup your visual studio and create a new project, you didnt create it under C or C# . C++ , C and C# are different things.
+ 2
It is saying cout is undefined. Help
0
I've made it and it is working flawlessly. Thanks for helping.