Well, a few weeks ago, i messed up my PC ( The windows part, Linux remains perfect ), not big deal, just formated, and seeing the bright side, i updated to Windows 7 ( i was on Windos vista).

Everything is perfect.... or was until now.

I used to "compile" on WxDevC++ ( i'm pretty much a newbie ) but, been a little busy the last month due to school, so today it's the first time i try to do so in Win 7 .

The weird thing it's that i'm getting some problems

When i used to open a new project on vista, it created something like this:

#include <iostream.h>

int main(void){

   cout<<”hello world"<<endl;

return 0;
}

But now it creates something like this:

#include <cstdlib>
#include <iostream>

using namespace std;

int main(int argc, char *argv[])
{
    system("PAUSE");
    return EXIT_SUCCESS;
}

Well, from the last thing i knew, using "PAUSE" it's not very good, so i've tried to remove it, but then the window just pops up and then vanish.

And if i try to replace the second program, with the the first one, it just bings me a lot of errors.

Actually is pretty confusing cause, seems really diferent to what i was used to.

Does this really matters, cause, I've studied a lot, and suddenly have to change all my sintaxis, really brings me down.

Well, any help/answer is welcome.

naa forget it, besides that, not much a problem, sorry for the tread

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.