Quote:Original post by PhoenixAdmin
Syn. is it possible that you could have misspelled something?
Turns out, yes i did mispell something...
The extention to the file "main"!
I spelled it "main.c"
Where it should be "main.cpp"
I must've accidently added an extention, the MVS .NET 2003 adds the extension for you when you don't.
I found out by opening two instances of MVS then after a little while of looking through the properties of both projects, (like Palidine said) i noticed a little difference in the little tabs near the top that show you what file your looking at, and as i double-took a few times, i notice that i named MyFunc1's source code file "main.c", the other, working one, was named "main.cpp".
That MIGHT prove to be a problem. so i went into windows explorer by pressing a little shortcut button on my keyboard, (isn't that cool) and went to "main.c" and changed it to "main.cpp". I opened up MVS, deleted the main.c in the project, then went to "Add Existing Item" and clicked on "main.cpp", hit "F5" and it ran just like MyFunc2! At least i found the problem!
IN SHORT: i mispelled the file extention.
DO NOT TIME TRAVEL! when you change your position in time, your position in space stays the same relative to the point of the big bang. meanwhile Earth is now somewhere very far away. IN OTHER WORDS: u arn't in Kansas anymore.