|
-
January 21st, 2003, 01:07 PM
#1
order of "using" and #includes
Hi,
can someone explain why the order of using statements and #includes makes a difference?
At first I had at the top of my file:
using namespace std
#include<iostreams.h>
#include<string.h>
and this didn't work but then I found out that I had to put the using statement after the #includes.
Why is this? is the "std" defined within one of those include files?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|