The same program which is running in Windows XP is not running in Windows 7 using DOS box. I get an error in opening stdio.h conio.h? How can I overcome this problem?
Problem in running C++ program using DOS box?
1.8k Views Asked by saurabh At
2
There's a difference between running and compiling a program. The tags on your question imply that you mean compiling when you write "running". Reading your question with that alteration: The problem is that you've not installed your compiler correctly on the second machine, so that it can locate its header files such as
<stdio.h>
. It really has almost nothing to do with the version of Windows NT that you are using, and everything to do with installing the compiler correctly with the right directories, environment variables, and whatnot.