Hi all,
I am creating dll and in .cpp file i am just adding "using namespace std".
while compiling i am getting error like " 'std': a namespace with this name doesn't exist".
Kindly help.
Nishant.
5 replies to this topic
#1
Posted 04 September 2011 - 11:06 PM
|
|
|
#2
Posted 05 September 2011 - 02:54 AM
Have you included any standard header in your source document? If you haven't yet, then namespace std hasn't been declared.
Please provide source with the problem.
Please provide source with the problem.
Wow I changed my sig!
#3
Posted 05 September 2011 - 03:21 AM
i have just added "using namespace std" to use all the standard functions.
I have not added any header files.
I have not added any header files.
#4
Posted 05 September 2011 - 03:34 AM
You will need to include a standard header file which defines the std namespace, else your compiler will tell you that the std namespace does not exist. :P
Wow I changed my sig!
#5
Posted 05 September 2011 - 04:59 AM
Thanks :)
#6
Posted 26 October 2011 - 05:26 AM
If you want to use containers in your program then use the ones in include/cliext folder instead of std c++ containers -- they are in namespace cliext, not std.
Visit Grandpa's Forums, a social networking forum, with family-oriented arcade games, blogs, discussion forums, and photo albums.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









