hi everybody
my question is : how can I see functions prototype in a library in
Borland c++ 5.02
for example
the function istream (cin) in the library "iostrem .h"
hi everybody
my question is : how can I see functions prototype in a library in
Borland c++ 5.02
for example
the function istream (cin) in the library "iostrem .h"
I could be wrong, but isnt Borland 5.02 a command line compiler?
Thats is a now a deceprected header. Drop the .h and usethe function istream (cin) in the library "iostrem .h"
Code:#include <iostream>
Double Helix STL
and header file is not a library - it is a text file, you can open it and search for the function prototype you are intrested...
But better use some language reference containing all the function prototypes
All problems in computer science can be solved by another level of indirection,
except for the problem of too many layers of indirection.
– David J. Wheeler
>> Thats is a now a deceprected header.
<iostream.h> is not deprecated by the C++ standard. Deprecated implies that it is standard and will work on standards-compliant compilers, but <iostream.h> is completely non-standard and does not work on some modern compilers.
thanks guys ................ but i mean that how can i open a "header file " and see the prototypes and syntax of the functions or classes there
thank you again ............... i hope its clear now
Open it like any other file, in your IDE or your favourite text editor.
You can look at header files to find details about functions etc, but sometimes it can be tough to find things. Try some (possibly online) man pages or cppreference.com.thanks guys ................ but i mean that how can i open a "header file " and see the prototypes and syntax of the functions or classes there
[edit] See this thread: http://cboard.cprogramming.com/showpost.php?p=612267
Especially my post : http://cboard.cprogramming.com/showp...67&postcount=9 [/edit]
Last edited by dwks; 12-06-2006 at 02:12 PM.
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.