LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 09-18-2009, 12:30 PM   #1
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,227

Rep: Reputation: 167Reputation: 167
need help with GNU CC (GCC) compiler


where can i get a function refrence for the GNU CC compiler
such as turbo c++ has a help file
and MSVC has MSDN online
but GCC has no refrence
any ideas?
thnx
 
Old 09-18-2009, 01:15 PM   #2
johnsfine
Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,057

Rep: Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104
Unlike MSVC and Turbo C++, GCC has much less focus on library functions that are not part of the standard C and C++ libraries.

So you should look first to documentation of the standard C and C++ libraries, such as at
http://www.cplusplus.com/reference/clibrary/

GNU also has many extra libraries (multi precision math etc.) that are not part of the C and C++ standards but even though they may be developed and tested with and for use with GCC, they are not documented as part of GCC (because they aren't part of GCC). Look to the documentation for the specific extra libraries you want to use.
 
Old 09-18-2009, 04:51 PM   #3
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,227

Original Poster
Rep: Reputation: 167Reputation: 167
Quote:
Originally Posted by johnsfine View Post
Unlike MSVC and Turbo C++, GCC has much less focus on library functions that are not part of the standard C and C++ libraries.

So you should look first to documentation of the standard C and C++ libraries, such as at
http://www.cplusplus.com/reference/clibrary/
this is a c++ refrence
is it the same in C because i am trying to avoid the bulk
of C++ except for io functions (iostream and fstream)
 
Old 09-18-2009, 04:59 PM   #4
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,227

Original Poster
Rep: Reputation: 167Reputation: 167
i just noticed something
is that i Google C library functions and non of them include write() and read()
i know i dont really need them because i can use the C++ fstream
i just want to know why these are not documented because
they are in evrey C library i have evr seen
 
Old 09-20-2009, 01:39 PM   #5
carbonfiber
Member
 
Registered: Sep 2009
Location: Sparta
Posts: 237

Rep: Reputation: 46
smeezekitty: It is because read and write are not part of the C standard library.
 
Old 09-20-2009, 11:47 PM   #6
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,227

Original Poster
Rep: Reputation: 167Reputation: 167
Quote:
Originally Posted by carbonfiber View Post
smeezekitty: It is because read and write are not part of the C standard library.
then why does the open group standards website list it as standard
 
Old 09-21-2009, 02:24 AM   #7
carbonfiber
Member
 
Registered: Sep 2009
Location: Sparta
Posts: 237

Rep: Reputation: 46
Because read() are write() are part of the POSIX standard.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Introduction to GCC - The GNU Compiler Collection jeremy Programming 2 03-28-2005 04:17 AM
Help with GNU C++ Compiler please... Stiltz Linux - Software 1 03-15-2005 09:17 PM
where is GNU gcc compiler? karfei00 Linux - Newbie 5 06-16-2004 12:55 PM
Where to get compiler gnu c sofasurfer Linux - Games 1 01-11-2004 01:25 AM
GNU gcc 3 compiler Craneology Linux - Software 3 03-04-2003 04:35 AM


All times are GMT -5. The time now is 10:06 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration