- C Programming Reference Manual Pdf
- C Programming Language Reference Manual Pdf
- Ansi C Reference
- Gcc C Language Reference Manual
Active4 years, 4 months ago
I've studied C programming in college some years ago and have developed some medium applications back then (nothing serious). Now I have to develop some more 'advanced' C applications (involving POSIX threads and RPC), but right now I'm a little rusty even with the basics.
Can anyone recommend me good online C reference manuals? This may help me get in tune faster.
Switch- C Language Reference Manual. External deļ¬nition for fooand the difference in typing could otherwise produce unexpected behavior. 2.2.2 Name Space Changes ANSI C recognizes four distinct name spaces: one for tags, one for labels, one for members of a particular struct or union, and one for everything else.
- Title: The C Programming Language - Reference Manual Author: Bjarne Stroustrup Subject: C Release E, AT&T Bell Laboratories, November 1984 Created Date.
- AVR GCC has three available compilers for the AVR: C language, C, and Ada. The compiler itself does not assemble or link the final code. GCC is also known as a 'driver' program, in that it knows about, and drives other programs seamlessly to create the final output.
DEC C Language Reference Manual Order Number: AA-QTLTB-TE December 1997 This document is the language reference manual for DEC C.
1,74511 gold badge1212 silver badges2929 bronze badges
mmutilvammutilva12.5k2020 gold badges5454 silver badges8080 bronze badges
closed as not constructive by bmargulies, Lightness Races in Orbit, Linger, P.T., JJJJan 22 '13 at 20:47
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. If this question can be reworded to fit the rules in the help center, please edit the question.
9 Answers
- GNU C tutorial (more than just a tutorial, quite a useful reference)
I got these all from a previous similar question on SO. I would like to credit the original posters, but unfortunately cannot seem to find that question.
Frank V16.3k3131 gold badges9595 silver badges141141 bronze badges
Dan LenskiDan Lenski54.6k99 gold badges5858 silver badges9898 bronze badges
For the very basic I found this reference card very useful. Doesn't help with more advanced functions but it can help get the rust off.
acrosmanacrosman11.2k1010 gold badges3333 silver badges5151 bronze badges
Don't forget man pages. If you are developing on any UNIX-derived platform (Linux, BSD, Cygwin) you can almost always do something like
Frank SzczerbaFrank Szczerbaman printf
or info printf
to get documentation for any library function.4,02733 gold badges2828 silver badges3030 bronze badges
It's not online, but hands down the best C reference is Harbison & Steele (yeah - it's better than K&R).
You can get the 4th edition for basically shipping (I don't know what improvements were made in the 5th ed.):
Michael BurrMichael Burr291k4141 gold badges456456 silver badges687687 bronze badges
manuals
tutorial
Arle NadjaArle Nadja
The best C reference by far is Kernighan and Ritchie's 'The C Programming Language' in it's dead tree form. It's compact and complete.
The user interface is standard, but well organized and is easy to use.There are a few cool features that are worth mentioning with Adobe Digital Editions such as the ability to 'borrow' digital content from a public library; the process remains as it would to purchase digital content, but without the payment process. The annotation and highlighting functions work well too. The application itself is fairly lightweight and consumes little system resources.
For an online reference, you might try Brian Kernighan's Programming in C Tutorial.
JR LawhorneJR Lawhorne2,05344 gold badges2222 silver badges3535 bronze badges
the C book is freely availableon-line. It is not really a referencemanual, but still a pretty goodresource. From the website:
This is the online version of The C Book, second edition by Mike Banahan, Declan Brady and Mark Doran, originally published by Addison Wesley in 1991. This version is made freely available.
C Programming Reference Manual Pdf
While this book is no longer in print, its content is still very relevant today. The C language is still popular, particularly for open source software and embedded programming. We hope this book will be useful, or at least interesting, to people who use C.
Jan de VosJan de Vos3,15211 gold badge1717 silver badges1515 bronze badges
I would recommend reading through the comp.lang.c FAQ at least once to help get the rust off. For reference material, you might want to grab a copy of the C Standard, the latest version of C99 with TC3 included is available for free here, for C89 the last draft version is available as a text file or you can pick up a copy of the The Annotated ANSI C Standard for a few bucks and have a hard copy of the actual standard (just ignore the 'annotations' on the right-hand pages). Since you are using POSIX you might want to become more familiar with the Single Unix Specification which includes the Standard C library as well as the POSIX functions, you can read/download SUSv3 at the Open Group (registration required but free and quick).
For an offline resource I would also recommend C: A Reference Manual (5th Edition) by Harbison & Steele, it thoroughly covers every language feature and standard function of C and documents differences between the various standard versions.
Robert GambleRobert Gamble87.2k2020 gold badges136136 silver badges135135 bronze badges
The best online reference for C and C++ is probably www.cplusplus.com
C Programming Language Reference Manual Pdf
Cracker barrel benefits center. QuantumPete
QuantumPeteQuantumPete2,57011 gold badge1616 silver badges2424 bronze badges
Not the answer you're looking for? Browse other questions tagged creference-manual or ask your own question.
-->This reference explains the C++ programming language as implemented in the Microsoft C++ compiler. The organization is based on The Annotated C++ Reference Manual by Margaret Ellis and Bjarne Stroustrup and on the ANSI/ISO C++ International Standard (ISO/IEC FDIS 14882). Microsoft-specific implementations of C++ language features are included.
For an overview of Modern C++ programming practices, see Welcome Back to C++.
See the following tables to quickly find a keyword or operator:
In This Section
Lexical Conventions
Fundamental lexical elements of a C++ program: tokens, comments, operators, keywords, punctuators, literals. Also, file translation, operator precedence/associativity.
Fundamental lexical elements of a C++ program: tokens, comments, operators, keywords, punctuators, literals. Also, file translation, operator precedence/associativity.
Basic Concepts
Scope, linkage, program startup and termination, storage classes, and types.
Scope, linkage, program startup and termination, storage classes, and types.
Standard Conversions
Type conversions between built-in, or 'fundamental,' types. Also, arithmetic conversions and conversions among pointer, reference, and pointer-to-member types.
Type conversions between built-in, or 'fundamental,' types. Also, arithmetic conversions and conversions among pointer, reference, and pointer-to-member types.
Operators, Precedence and Associativity
The operators in C++.
The operators in C++.
Expressions
Types of expressions, semantics of expressions, reference topics on operators, casting and casting operators, run-time type information.
Types of expressions, semantics of expressions, reference topics on operators, casting and casting operators, run-time type information.
Lambda Expressions
A programming technique that implicitly defines a function object class and constructs a function object of that class type.
A programming technique that implicitly defines a function object class and constructs a function object of that class type.
Statements
Expression, null, compound, selection, iteration, jump, and declaration statements.
Expression, null, compound, selection, iteration, jump, and declaration statements.
Declarations and Definitions
Storage-class specifiers, function definitions, initializations, enumerations, class, struct, and union declarations, and typedef declarations. Also, inline functions, const keyword, namespaces.
Storage-class specifiers, function definitions, initializations, enumerations, class, struct, and union declarations, and typedef declarations. Also, inline functions, const keyword, namespaces.
Classes, Structures, and Unions
Introduction to classes, structures, and unions. Also, member functions, special member functions, data members, bit fields, this pointer, nested classes.
Introduction to classes, structures, and unions. Also, member functions, special member functions, data members, bit fields, this pointer, nested classes.
Derived Classes
Single and multiple inheritance, virtual functions, multiple base classes, abstract classes, scope rules. Also, the __super and __interface keywords.
Single and multiple inheritance, virtual functions, multiple base classes, abstract classes, scope rules. Also, the __super and __interface keywords.
Member-Access Control
Controlling access to class members: public, private, and protected keywords. Friend functions and classes.
Controlling access to class members: public, private, and protected keywords. Friend functions and classes.
Ansi C Reference
Overloading
Overloaded operators, rules for operator overloading.
Overloaded operators, rules for operator overloading.
Exception Handling
C++ exception handling, structured exception handling (SEH), keywords used in writing exception handling statements.
C++ exception handling, structured exception handling (SEH), keywords used in writing exception handling statements.
Assertion and User-Supplied Messages
#error
directive, the static_assert keyword, the assert
macro.Templates
Template specifications, function templates, class templates, typename keyword, templates vs. macros, templates and smart pointers.
Template specifications, function templates, class templates, typename keyword, templates vs. macros, templates and smart pointers.
Event Handling
Declaring events and event handlers.
Declaring events and event handlers.
Microsoft-Specific Modifiers
Modifiers specific to Microsoft C++. Memory addressing, calling conventions, naked functions, extended storage-class attributes (__declspec), __w64.
Modifiers specific to Microsoft C++. Memory addressing, calling conventions, naked functions, extended storage-class attributes (__declspec), __w64.
Gcc C Language Reference Manual
Inline Assembler
Using assembly language and C++ in __asm blocks.
Using assembly language and C++ in __asm blocks.
Compiler COM Support
A reference to Microsoft-specific classes and global functions used to support COM types.
A reference to Microsoft-specific classes and global functions used to support COM types.
Microsoft Extensions
Microsoft extensions to C++.
Microsoft extensions to C++.
Nonstandard Behavior
Information about nonstandard behavior of the Microsoft C++ compiler.
Information about nonstandard behavior of the Microsoft C++ compiler.
Welcome Back to C++
An overview of modern C++ programming practices for writing safe, correct and efficient programs.
An overview of modern C++ programming practices for writing safe, correct and efficient programs.
Related Sections
Component Extensions for Runtime Platforms
Reference material on using the Microsoft C++ compiler to target .NET. Solarwinds ip tracker free.
Reference material on using the Microsoft C++ compiler to target .NET. Solarwinds ip tracker free.
C/C++ Building Reference
Compiler options, linker options, and other build tools.
Compiler options, linker options, and other build tools.
C/C++ Preprocessor Reference
Reference material on pragmas, preprocessor directives, predefined macros, and the preprocessor.
Reference material on pragmas, preprocessor directives, predefined macros, and the preprocessor.
Visual C++ Libraries
A list of links to the reference start pages for the various Microsoft C++ libraries.
A list of links to the reference start pages for the various Microsoft C++ libraries.