everything worked for me in turbo c++ but not in g++. tell me why do i always have to use "using namespace std;" while compiling with g++? also there is no conio.h, so how do i use the command: getch () then?
utkarsh009
0
Newbie Poster
Recommended Answers
Jump to Postturbo c++ is an ancient compiler that uses obsolete c++ header files and follows obsolete c++ standards. Bring yourself into the 21st century and learn how to write modern c++ code.
That is one of the problems with learning to program using ancient turbo c and turbo c++. You …
Jump to PostFirst off C++ has evolved in the last 10 years, hence some changes. These changes were because of unforeseen problems that occurred.
Let us start with why
using namespace std;
and why you might not want to do that anyway.What happens in that there are a …
All 8 Replies
utkarsh009
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
StuXYZ
731
Practically a Master Poster
utkarsh009
0
Newbie Poster
utkarsh009
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
utkarsh009
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.