Thread: need help with Borland c++ 5.02

  1. #1
    Registered User
    Join Date
    Nov 2006
    Posts
    3

    Exclamation need help with Borland c++ 5.02

    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"

  2. #2
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,688
    I could be wrong, but isnt Borland 5.02 a command line compiler?

    the function istream (cin) in the library "iostrem .h"
    Thats is a now a deceprected header. Drop the .h and use

    Code:
    #include <iostream>
    Double Helix STL

  3. #3
    Hurry Slowly vart's Avatar
    Join Date
    Oct 2006
    Location
    Rishon LeZion, Israel
    Posts
    6,788
    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

  4. #4
    Registered User
    Join Date
    Jan 2005
    Posts
    7,366
    >> 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.

  5. #5
    Registered User
    Join Date
    Nov 2006
    Posts
    3
    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

  6. #6
    MFC killed my cat! manutd's Avatar
    Join Date
    Sep 2006
    Location
    Boston, Massachusetts
    Posts
    870
    Open it like any other file, in your IDE or your favourite text editor.
    Silence is better than unmeaning words.
    - Pythagoras
    My blog

  7. #7
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    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
    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.

    [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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. play flash file using borland 5.02 no MFC
    By gaurav07 in forum Windows Programming
    Replies: 0
    Last Post: 05-30-2005, 02:40 AM
  2. how to display jpeg image using borland C++ 5.02
    By gaurav07 in forum Windows Programming
    Replies: 2
    Last Post: 05-26-2005, 02:42 AM
  3. borland 5.02 - api/gui
    By Noobie in forum C++ Programming
    Replies: 5
    Last Post: 02-10-2003, 10:28 PM
  4. Borland C++ 5.02 with Windows Millenium Edition
    By NCCMelissa in forum C Programming
    Replies: 8
    Last Post: 04-12-2002, 09:15 PM
  5. STEP turbo C 3.0 >< Borland 5.02
    By Huh..... in forum C Programming
    Replies: 0
    Last Post: 03-12-2002, 07:54 AM