473,382 Members | 1,814 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

C Reference page on Linux

Hello! I am new to C programming in Linux. I would like to know is there any
online reference for C langage. For example, length of unsigned long,
precedance of operators, explaination of some keywords. I know there are man
pages for system calls but also want a C reference.

Thanks for answering!
Nov 14 '05 #1
15 3620
Vbman / Simon wrote:

Hello! I am new to C programming in Linux. I would like to know
is there any online reference for C langage. For example, length
of unsigned long, precedance of operators, explaination of some
keywords. I know there are man pages for system calls but also
want a C reference.


Linux has nothing to do with it. Google for N869, the last draft
of the C99 standard. It is all there.

--
Chuck F (cb********@yahoo.com) (cb********@worldnet.att.net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net> USE worldnet address!

Nov 14 '05 #2
* Thus spoke Vbman / Simon <vb***@gbman.com>:

Hallo,
Hello! I am new to C programming in Linux. I would like to know is there any
online reference for C langage.


http://webstore.ansi.org/ansidocstor...EC+9899%2D1999

Wolfgang.
--
"Erfahrungen -- das sind die vernarbten Wunden unserer Dummheit."
-- John Osborne
Nov 14 '05 #3
"CBFalconer" <cb********@yahoo.com> wrote in message
news:3F***************@yahoo.com...
Hello! I am new to C programming in Linux. I would like to know
is there any online reference for C langage. For example, length
of unsigned long, precedance of operators, explaination of some
keywords. I know there are man pages for system calls but also
want a C reference.


Linux has nothing to do with it. Google for N869, the last draft
of the C99 standard. It is all there.

What about this one?
http://www.amazon.co.uk/exec/obidos/...248893-5423827

Especially this line:
"Updates the third edition by integrating new ANSI/ISO standard, C99."
Nov 14 '05 #4

"Serv?Lau" <i@bleat.nospam.com> wrote in message
news:bs**********@news4.tilbu1.nb.home.nl...
"CBFalconer" <cb********@yahoo.com> wrote in message
news:3F***************@yahoo.com...
Hello! I am new to C programming in Linux. I would like to know
is there any online reference for C langage. For example, length
of unsigned long, precedance of operators, explaination of some
keywords. I know there are man pages for system calls but also
want a C reference.
Linux has nothing to do with it. Google for N869, the last draft
of the C99 standard. It is all there.

What about this one?

http://www.amazon.co.uk/exec/obidos/...248893-5423827
Especially this line:
"Updates the third edition by integrating new ANSI/ISO standard, C99."


Thank you! Actually I am asking are there any man pages like 'man
operators', 'man unsigned char' so that I can easily refer to.
In Dos I have the Help of Turbo C. But in Linux I dunno.
Nov 14 '05 #5
Vbman / Simon wrote:
I am new to C programming in Linux.
I would like to know is there any online reference for C language.
for the C computer programming language.
For example, length of unsigned long,
precedence of operators, explanation of some keywords.
I know that there are man pages for system calls
but also want a C reference.


I used Google

http://www.google.com/

to search for

+"online C reference manual"

I found lots of stuff including "C Programming Reference Introduction."

http://www.itee.uq.edu.au/~comp1300/...C_ref/C/c.html

If you are using the GNU C compiler gcc, go to the GNU website:

http://www.gnu.org/

click in the [Manuals Online] button then the [gcc] button
to get to "GCC online documentation"

http://www.gnu.org/software/gcc/onlinedocs/

Subscribe to the gnu.gcc.help newsgroup and ask your question there.

Nov 14 '05 #6

"E. Robert Tisdale" <E.**************@jpl.nasa.gov> wrote in message
news:3F**************@jpl.nasa.gov...
Vbman / Simon wrote:
I am new to C programming in Linux.
I would like to know is there any online reference for C language.
for the C computer programming language.
For example, length of unsigned long,
precedence of operators, explanation of some keywords.
I know that there are man pages for system calls
but also want a C reference.


I used Google

http://www.google.com/

to search for

+"online C reference manual"

I found lots of stuff including "C Programming Reference Introduction."

http://www.itee.uq.edu.au/~comp1300/...C_ref/C/c.html

If you are using the GNU C compiler gcc, go to the GNU website:

http://www.gnu.org/

click in the [Manuals Online] button then the [gcc] button
to get to "GCC online documentation"

http://www.gnu.org/software/gcc/onlinedocs/

Subscribe to the gnu.gcc.help newsgroup and ask your question there.


Thank you for your reply! I have also visited those sites. May be I have
expressed myself carelessly. Actually I mean by 'online' is like the 'man
pages' or 'F1 help'. In vim, I can 'Shift-K' on 'malloc' to get its help
page. But I can 'Shift-K' on 'external', 'void', '<<' to get the reference.
Nov 14 '05 #7
Vbman / Simon wrote:

Thank you! Actually I am asking are there any man pages like 'man
operators', 'man unsigned char' so that I can easily refer to.
In Dos I have the Help of Turbo C. But in Linux I dunno.


man pages are not defined by the C standard. Try a Linux or Unix
programming group. This group is only for discussion of the C language,
not operating systems, and not specific implementations of C.

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.
Nov 14 '05 #8
In article <3f**********@storm.i-cable.com>,
Vbman / Simon <vb***@gbman.com> wrote:

May be I have
expressed myself carelessly. Actually I mean by 'online' is like the 'man
pages' or 'F1 help'. In vim, I can 'Shift-K' on 'malloc' to get its help
page. But I can 'Shift-K' on 'external', 'void', '<<' to get the reference.


Traditionally, Unix man pages have included man pages for functions
in the C standard library. Therefore it's not unexpected that you
have found a man page for malloc() there. You can also expect to
find man pages for putchar(), strlen(), fopen(), and other C standard
library functions.

Note, however, that "external", "void", "int", "while", etc., are not
functions. They are C language keywords. In the same vein, "<<", "++",
"+=", etc., are not functions. They are C language operators.

Traditionally, Unix man pages do not supply man pages on C language
keywords and operators. To learn about them you will have to read
a C programming manual.

--
Rouben Rostamian
Nov 14 '05 #9
Vbman / Simon wrote:
Hello! I am new to C programming in Linux. I would like to
know is there any online reference for C langage. For example,
length of unsigned long, precedance of operators, explaination
of some keywords. I know there are man pages for system calls
but also want a C reference.


Simon...

There are man pages for standard C library functions (as well as
others). There are not normally man pages to explain C syntax and
operators - for these you'll probably want treeware (my personal
favorite is the 2nd edition of "The C Programming Language"
(K&R2) by Brian W. Kernighan and Dennis M. Ritchie).

If you follow the link in my sig, you can find an ANSI bookstore
link for the C standard document, a precedence table for C
operators, and (amazing coincidence!) a short program to display
the sizes of variable types on your own system (varsize.c)

Welcome to the world C programming!
--
Morris Dovey
West Des Moines, Iowa USA
C links at http://www.iedu.com/c
Read my lips: The apple doesn't fall far from the tree.

Nov 14 '05 #10
Vbman / Simon wrote:
.... snip ...
Thank you for your reply! I have also visited those sites. May be
I have expressed myself carelessly. Actually I mean by 'online' is
like the 'man pages' or 'F1 help'. In vim, I can 'Shift-K' on
'malloc' to get its help page. But I can 'Shift-K' on 'external',
'void', '<<' to get the reference.


The earlier N869 standard reference I gave you is the most
accurate freebie you can find. However, with the info system
installed (via DJGPP or Cygwin if you are using windows, directly
if using Linux) all you need enter is:

info libc alpha whatever

to get the equivalent of man pages on any available function.

--
Chuck F (cb********@yahoo.com) (cb********@worldnet.att.net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net> USE worldnet address!
Nov 14 '05 #11
ro****@pc18.math.umbc.edu (Rouben Rostamian) wrote in
news:bs**********@pc18.math.umbc.edu:
Note, however, that "external", ....
are C language keywords.


What the is 'external'?
--
A. Sinan Unur
1u**@llenroc.ude (reverse each component for email address)
Nov 14 '05 #12
A. Sinan Unur wrote:
ro****@pc18.math.umbc.edu (Rouben Rostamian) wrote in
news:bs**********@pc18.math.umbc.edu:

Note, however, that "external", ....
are C language keywords.

What the is 'external'?

Actually, it's 'extern', not 'external'. And you'll find what it means
in any good book about the C language (may I suggest you to get yourself
a copy of the K&R2 ? I'd have answered your question if I was not too
lazy to translate it from french to english !-)

Bruno

Nov 14 '05 #13
Bruno Desthuilliers <bd***********@tsoin-tsoin.free.fr> wrote in
news:3f***********************@news.free.fr:
A. Sinan Unur wrote:
ro****@pc18.math.umbc.edu (Rouben Rostamian) wrote in
news:bs**********@pc18.math.umbc.edu:

Note, however, that "external", ....
are C language keywords.

What the is 'external'?

Actually, it's 'extern', not 'external'.

The point I was trying to make exactly. Unfortunately, the meaning of my
statement may have been slightly blurred by the fact that I failed to
type a four letter word between the 'the' and the 'is'.
--
A. Sinan Unur
1u**@llenroc.ude (reverse each component for email address)
Nov 14 '05 #14
A. Sinan Unur wrote:
Bruno Desthuilliers <bd***********@tsoin-tsoin.free.fr> wrote in
news:3f***********************@news.free.fr:
A. Sinan Unur wrote:
ro****@pc18.math.umbc.edu (Rouben Rostamian) wrote in
news:bs**********@pc18.math.umbc.edu:
Note, however, that "external", ....
are C language keywords.
What the is 'external'?

Actually, it's 'extern', not 'external'.

The point I was trying to make exactly. Unfortunately, the meaning of my
statement may have been slightly blurred by the fact that I failed to
type a four letter word between the 'the' and the 'is'.


Ah, I thought the omission was deliberate. I actually found it wrly amusing
- leaving one's imagination to fill in the gap as one saw fit.

--
Richard Heathfield : bi****@eton.powernet.co.uk
"Usenet is a strange place." - Dennis M Ritchie, 29 July 1999.
C FAQ: http://www.eskimo.com/~scs/C-faq/top.html
K&R answers, C books, etc: http://users.powernet.co.uk/eton
Nov 14 '05 #15
Richard Heathfield <do******@address.co.uk.invalid> wrote in
news:bs**********@sparta.btinternet.com:
A. Sinan Unur wrote:
Bruno Desthuilliers <bd***********@tsoin-tsoin.free.fr> wrote in
news:3f***********************@news.free.fr:
A. Sinan Unur wrote: .... What the is 'external'?
Actually, it's 'extern', not 'external'.

The point I was trying to make exactly. Unfortunately, the meaning of
my statement may have been slightly blurred by the fact that I failed
to type a four letter word between the 'the' and the 'is'.


Ah, I thought the omission was deliberate. I actually found it wrly
amusing - leaving one's imagination to fill in the gap as one saw fit.


Well, let me clarify :)

I originally had a mild four letter word there. Then I thought it did not
really express my reaction but did not want to use profanity either, so I
did not include it, thinking what I meant would have been obvious.
Apparently, it wasn't; hence the explanation.

Sinan.
--
A. Sinan Unur
1u**@llenroc.ude (reverse each component for email address)
Nov 14 '05 #16

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: mdh | last post by:
I am trying to learn the basics of MVC applications using a Tomcat infrastructure. I'm starting by building a simple application with: * a login.jsp page for a basic login form with a action...
2
by: RU | last post by:
Hi, I am working on a porting project to port C/C++ application from unixware C++, AT&T Standard components to g++ with STL on Linux. This application has been working properly on...
2
by: Quansheng Liang | last post by:
Hello, I struggled with the problem of "undefined reference to `vtable ...`" while migrating a project from windows to linux. After searching the google I removed all the inline functions and now...
6
by: Christian Christmann | last post by:
Hi, I've created a file htable.cpp which I compiled to htable.o and than added with "ar" to a library libbasics.a in the directory lib/Linux/. Now I want to compile another file ir3tst.cpp which...
2
by: Hennie | last post by:
I Get the following error all of a sudden: I do not know what is wrong or where to start looking. I added the Debug="true" directive at the top of the page, but it does not help at all. What...
11
by: Michael McGarry | last post by:
Hi, I am compiling a C source file that includes math.h but I get an error message that states undefined reference to floor(). How could that happen if this function is in math.h, isn't in the...
3
by: Michael Sgier | last post by:
Hi i get thousands of messages like below. How shall i resolve that? Thanks Mcihael Release/src/Utility/RawImage.o: In function `CMaskImage::CMaskImage(int, int, char const*)':...
2
by: Manuel T | last post by:
Hello everybody, I'm trying to port a project from Windows+Cygwin to Linux(i'm working on a Debian-like: Kubuntu), but I'm facing a lot of linking problems. This project needs libraries xerces...
1
by: taiyang902 | last post by:
i program under linux ,and using kdevelop c/c++. the code follow, #ifdef HAVE_CONFIG_H #include <config.h> #endif #include <iostream> #include <cstdlib> using namespace std;
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.