Get up to 80 % extra points for free! More info:

Discussion – Lesson 2 - Visual Studio and your first C++ console application

Back

 

Comments
Avatar
Adil Shafique
Member
Avatar
Adil Shafique:3/12/2017 23:54

sir what the best ide for cpp .. before reading your article i learn cpp and practice on turbo cpp ide .. so there is many difference .. like i write a program
#include<iostre­am.h> // header file input output stream
#include<conio.h>
void main() or int main() // valueless main
{
int a,b,c
a=5;
b=2;
c=a+b;
cout<<c;
getch();
}
....
so you are using like return or cin.get i think for showing result .. sir can you clear the difference between visual studio or dev or netbean and turbo ide basic syntax main or you using namespace std.. etc etc

 
Reply
3/12/2017 23:54
Avatar
Replies to Adil Shafique
David Capka Hartinger:3/13/2017 4:45

Turbo C++ was mainly for DOS, Visual Studio is more modern and uses actual standards. Namespaces are a modern way to deal with a higher number of classes, they're basically packages for objects.

Reply
3/13/2017 4:45
You can walk through a storm and feel the wind but you know you are not the wind.
To maintain the quality of discussion, we only allow registered members to comment. Sign in. If you're new, Sign up, it's free.

2 messages from 2 displayed.