PDA

View Full Version : [ubuntu] how to know the version of GNU C/C++



suryak
January 2nd, 2011, 04:08 PM
I've Installed a gcc compiler in ubuntu..
I don't know which version is that..


As I want to do some puzzles given in facebook.. and they have mentioned some requirements . .in that I've selected C..
in that they specifically mentioned GNU C/C++ 4.2.3..
Although I'm using gcc, i don't know which version of it..
so tell me how to check it..
and if not it is what i mentioned above, how to update.. it

Quirion
January 2nd, 2011, 04:30 PM
gcc --version

(From Terminal, of course)

suryak
January 2nd, 2011, 05:49 PM
how to do that..

suryak
January 2nd, 2011, 05:58 PM
got it..