best compiler to use on fedora

M

mohangupta13

hello everyone ,
can anyone please suggest me which platform is better use for program
development in c++
i mean linux or windows . and what is the best compiler to be used if
on linux.
i am presently using gnu gcc compiler on fedora core8, but on the
terminal iam not able to get any help about the syntax of a library
function while writting code ,so is there anyway out ?
all help is appreciatd
thank you
mohan
 
I

Ian Collins

hello everyone ,
can anyone please suggest me which platform is better use for program
development in c++
i mean linux or windows .

There are other operating systems.

and what is the best compiler to be used if on linux.

What ever meets your requirements.
i am presently using gnu gcc compiler on fedora core8, but on the
terminal iam not able to get any help about the syntax of a library
function while writting code ,so is there anyway out ?

man.
 
M

mohi

There are other operating systems.

and what is the best compiler to be used if on linux.

What ever meets your requirements.


man.

thank you sir for replying . as for my requirment iam just a student
so dont really have a good idea what type of requirments are u talking
about and which compiler gives satisfyes what requirment. till now i
have used c++ for general college level programming and what i really
want is a compiler which also gives help reguarding the syntex of
library functions and also being upto date .so any suggestions?.
mohan
 
A

acehreli

can anyone please suggest me which platform is better use for program
development in c++
i mean linux or windows .

Doesn't matter. Both of those have pretty good tools for development.
and what is the best compiler to be used if
on linux.

gcc is great and sufficient; but since you're asking on a C++ group,
you might want to call it g++ on the command line; otherwise the
standard C++ libraries may not be linked with your application.

So shortly: use g++.
i am presently using gnu gcc compiler on fedora core8, but on the
terminal iam not able to get any help about the syntax of a library
function while writting code ,so is there anyway out ?

You may be confusing a compiler with a development environment (IDE).
Compilers just compile. For documentation, refer to books and web
sites of the libraries that you want to use.

Ali
 
A

Alexander Dong Back Kim

Doesn't matter. Both of those have pretty good tools for development.


gcc is great and sufficient; but since you're asking on a C++ group,
you might want to call it g++ on the command line; otherwise the
standard C++ libraries may not be linked with your application.

So shortly: use g++.


You may be confusing a compiler with a development environment (IDE).
Compilers just compile. For documentation, refer to books and web
sites of the libraries that you want to use.

Ali

Hi all,

How about mono!! =) You can even compile C# with it =)

Cheers,
 
K

Kai-Uwe Bux

Please don't quote signatures.

thank you sir for replying . as for my requirment iam just a student
so dont really have a good idea what type of requirments are u talking
about and which compiler gives satisfyes what requirment. till now i
have used c++ for general college level programming and what i really
want is a compiler which also gives help reguarding the syntex of
library functions and also being upto date .so any suggestions?.

Compilers compile your code. They don't help you writing it (other than
flagging errors). You might want to look for Integrated Developement
Environments (IDEs). As I don't use an IDE, I am not the right person to
recommend one.

Other than IDEs, on linux

man fopen

will give you documentation about fopen and

man pthread_mutex_lock

will do the same for pthread_mutex_lock. However, not all libraries might
support the man page help mechanism.


Best

Kai-Uwe Bux
 
E

Erik Wikström

hello everyone ,
can anyone please suggest me which platform is better use for program
development in c++
i mean linux or windows . and what is the best compiler to be used if
on linux.
i am presently using gnu gcc compiler on fedora core8, but on the
terminal iam not able to get any help about the syntax of a library
function while writting code ,so is there anyway out ?
all help is appreciatd

If you are new to C++ I would recommend MS Visual C++ 2008 Express, it
has a good compiler, a very good debugger, comes with comprehensive
documentation and you can download it for free.
 
R

red floyd

Erik said:
If you are new to C++ I would recommend MS Visual C++ 2008 Express, it
has a good compiler, a very good debugger, comes with comprehensive
documentation and you can download it for free.

Since when does VC2008 run on Fedora?
 
A

Alexander Dong Back Kim

Since when does VC2008 run on Fedora?- Hide quoted text -

- Show quoted text -

hahaha good point!
Moreover, I think Visual C++ has been corrupted in Microsft way. I
love Visual Studio a lot and its languages VB, VC and C#. But it's
really hard to say VC is following ANSI C++ =) (still it is awesome
though)

Cheers,
Alex
 
J

James Kanze

[...]
Moreover, I think Visual C++ has been corrupted in Microsft way. I
love Visual Studio a lot and its languages VB, VC and C#. But it's
really hard to say VC is following ANSI C++ =) (still it is awesome
though)

That used to be the case, but recent versions of VC++ are quite
conformant---there's very little difference in the level of
conformance between them and g++, in fact. (Neither implement
export, so neither are really conform. Both share a certain
number of conformance bugs as well.)
 
Y

Yannick Tremblay

[...]
Moreover, I think Visual C++ has been corrupted in Microsft way. I
love Visual Studio a lot and its languages VB, VC and C#. But it's
really hard to say VC is following ANSI C++ =) (still it is awesome
though)

That used to be the case, but recent versions of VC++ are quite
conformant---there's very little difference in the level of
conformance between them and g++, in fact. (Neither implement
export, so neither are really conform. Both share a certain
number of conformance bugs as well.)

I think a potential issue is that although VC++ is quite conformant,
the whole VS make available a quatity of extensions that are not part
of the standard. A learner learning C++ using exclusively Visual
Studio could fail to grasp that some constructs he is learning to use
are not standard C++ and find moving to a different platform quite
difficult later on.A trivial example: #pragma once vs header guards.

Personally, I quite like the Visual Studio IDE, but maybe a small
warning is appropriate.



Yannick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top