Coming from the world of java I'm used to having access to an API. Does one exist for ANSI C. For example there is header called stdio.h . How do I find out what functions (kinda like methods I imagine) are available in this "library".
Forgive me b/c I'm just starting out in C - but I have the following analogies in my mind.
Headers are like classes in java - only you cant create an instance of them since objects dont exist.
Functions are like the methods that would be available to a class, only you don't have a calling object but rather just call them directly.
So my question is where is the documentation of these headers and functions - what they return, what they take as parameters and perhaps even code snipped examples.
Or am I wayy off track here.
An example is using printf("%22.7e" , variable);
How would I find out what the format %22.7e stands for - must be documented somewhere right.
thanks
Forgive me b/c I'm just starting out in C - but I have the following analogies in my mind.
Headers are like classes in java - only you cant create an instance of them since objects dont exist.
Functions are like the methods that would be available to a class, only you don't have a calling object but rather just call them directly.
So my question is where is the documentation of these headers and functions - what they return, what they take as parameters and perhaps even code snipped examples.
Or am I wayy off track here.
An example is using printf("%22.7e" , variable);
How would I find out what the format %22.7e stands for - must be documented somewhere right.
thanks