Do one thing:
Go to the compiler and just try to comment out the line ifstream inFile;
Check if it runs or not. If it does, tell us. If it doesn't Try to comment-out #include <fstream>
.
If it now runs, tell us. If it doesn't, there is some problem in your compiler or perhaps the linker as it cannot run a simple helloworld program.
siddhant3s 1,429 Practically a Posting Shark
siddhant3s 1,429 Practically a Posting Shark
Salem commented: Nice link +32
siddhant3s 1,429 Practically a Posting Shark
siddhant3s 1,429 Practically a Posting Shark
siddhant3s 1,429 Practically a Posting Shark
tux4life commented: I agree :) +6
siddhant3s 1,429 Practically a Posting Shark
iamthwee commented: stop the spoon feeding chicken! -4
Salem commented: Seemed like a good answer to me :) +32
tux4life commented: Right, I forgot :P +5
tux4life commented: How do I spell your name right? +4