c++ basic coding

#include<stdio.h> and <iostream> is the same thing?
No.

"stdio.h" is a standard header from the C programming language.

<iostream> is a C++ standard header. It provides completely different classes and functions.

If you're coding in C++, and you feel that you simply must use something from "stdio.h", do not. Instead, use the C++ provided set of those function, in the header <cstdio>
Topic archived. No new replies allowed.