Is Vista the reason why I am having trouble compiling on Dev-c++, and on visaul c++ 2008? Should I switch back to XP Pro?
Printable View
Is Vista the reason why I am having trouble compiling on Dev-c++, and on visaul c++ 2008? Should I switch back to XP Pro?
I'm sorry, my crystal ball is undergoing repairs.
You could help us (and thus yourself) by describing your trouble.
When I try to compile using Dev-c++ I get a .h header file that pops up in a new tab, not even allowing the compile to take place, all that is in the code is #include<iostream>. This never happened before using XP.
I downloaded Visaul C++ 2008 to see if the compiler was just out dated. When I try on Visaul I just keep getting compile error that aren't there.
error C2059: syntax error : ')' error C2143: syntax error : missing ')' before ';'Code:int main(int argc, char* argv[])
(
return 0;
)
error C2059: syntax error : 'return'
That's because you're using ( ), where you should be using { }
Code:{}
On a side note you must run MSVS 2005 as administrator in Vista or you will run into issues. The startup code for 2005 pops up a dialog explaining this.
Keep in mind that startup and compiling in Vista is about twice as slow as in XP. I'm not quite sure why.
Keep in mind that everything in Vista is about twice as slow as in XP . . . .
Did you add Dev-C++'s gcc to the path? I think you have to do it manually in Vista. What happens when you close the iostream view? Where is your source code located?Quote:
When I try to compile using Dev-c++ I get a .h header file that pops up in a new tab, not even allowing the compile to take place, all that is in the code is #include<iostream>. This never happened before using XP.