Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

C Header File Documentation?


  • Please log in to reply
2 replies to this topic

#1 Mol_Bolom

Mol_Bolom

  • Members
  • 28 posts
  • OFFLINE
  •  
  • Local time:11:27 AM

Posted 05 October 2008 - 03:17 PM

I have found plenty of information on the syntax of c, as well as how to use several different compilers, but I haven't found much in the way of documentation explaining what a header file contains and what the functions/constants/etc do. Does anyone know of a site that has this information? I don't know if this is necessary, but the compiler I will be using is gcc 4.2.4, and I might use g++ 4.2.4 off and on, also...

Thanks..

BC AdBot (Login to Remove)

 


m

#2 Billy O'Neal

Billy O'Neal

    Visual C++ STL Maintainer


  • Malware Response Team
  • 12,301 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Redmond, Washington
  • Local time:09:27 AM

Posted 05 October 2008 - 04:17 PM

The header files for C are generally written in Assember because ANSI C does not define any funcitons other than logical ones. For example, printing to the console is defined as library functions. You can find a good refrence for C(++) at http://www.cplusplus.com/reference/

EDIT: Scroll down to the C Library part. To make it a C library, remove C from the beginning and put it in quotes. So <cstdlib> in C++ is "stdlib.h" in C.

Billy3

Edited by Billy O'Neal, 05 October 2008 - 04:19 PM.

Twitter - My statements do not establish the official position of Microsoft Corporation, and are my own personal opinion. (But you already knew that, right?)
Posted Image

#3 Mol_Bolom

Mol_Bolom
  • Topic Starter

  • Members
  • 28 posts
  • OFFLINE
  •  
  • Local time:11:27 AM

Posted 05 October 2008 - 04:25 PM

Thanks...That's just what I was looking for...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users