is it necessary to #include <stdio.h> if im using namespace std; ?

It is necessary to include a header only if you use some functions declared in that header. "using namespace std;" means you are using only classes, objects and functions that complies with ANSI-C++ standard. Read more at http://www.cplusplus.com/doc/tutorial/tut5-2.html

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.