Declaration syntax error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Declaration syntax error

I am currently using turbo c++ when i enter the syntax using namespace std; i am getting an error saying declaration syntax error... please help

10th Jul 2016, 7:42 PM
Pankaj Das
Pankaj Das - avatar
3 Answers
0
u can use dev c++ 5.11 or code block..source code(latest version)
10th Jul 2016, 8:18 PM
meherDev
meherDev - avatar
0
Turbo C++ was released in late 1990. At that time C++ was not even standardized by ISO. It didn't have namespaces,  STL(Standard Template Library) and many other features. C++ was first standardized in 1998, known informally as C++98. So you can use it in newer versions only.
10th Jul 2016, 8:57 PM
imnoob
imnoob - avatar
0
thank you ☺
11th Jul 2016, 2:52 AM
Pankaj Das
Pankaj Das - avatar