I have a problem here. I have an assigment to write a program and use stdio.h, but when I compiled it using g++ I can't find the exe file. I tried to use iostream it work without any error and there is an exe file in the same directory. So... Anyone know how to solve this ?
Are you saying that you are getting an error when trying to compile with <stdio.h>? It should be backwards compatible, but try using <cstdio> instead. If you're not getting an error, I assume you searched all your directories for the executable?
If you're using functions like std::cout, you'll need <iostream>, <cstdio> doesn't supply those.
Are you working with C or C++? If the former, you can't use C++ things like std::cout.