Eclipse Setting

Hi Guys,

How do I change eclipse to use ISO C++ instead of ANSI?.

This is a clean install of eclipse. Currently when I create a new project eclipse defaults to ANSI.

Below is the eclipse generated remarks and code. Note that it uses Ansi.

####################################################
//============================================================================
// Name : basic.cpp
// Author : Danny
// Version :
// Copyright : For Free
// Description : Hello World in C++, Ansi-style
//============================================================================

#include <iostream>
using namespace std;

int main() {
cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
return 0;
}
##########################################################################

Thank You

Danny
What do you expect the ISO version to look like? The code you have posted is valid C++ to anyone.
Last edited on
I don't expect the code to look any different, I want to be sure that eclipse defaults to ISO instead of ANSI ...

That's all ...
I don't even think there's an option for that, I think the "Ansi-style" thing is just a reference to the preferred indentation and alignment style of the person that wrote the template.
It makes sense ...

Thank you for your replies

Danny
Topic archived. No new replies allowed.