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?
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.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
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:{}
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
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?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.
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.