cin equivelents

This is a discussion on cin equivelents within the C++ Programming forums, part of the General Programming Boards category; there isn't iostream.h in DJGPP, so does anyone know an equivelent to cin>>?...

  1. #1
    Frenchfry164
    Guest

    cin equivelents

    there isn't iostream.h in DJGPP, so does anyone know an equivelent to cin>>?

  2. #2
    Registered User Zeeshan's Avatar
    Join Date
    Oct 2001
    Location
    Munich, Germany
    Posts
    224
    Hey, I don't know any DJGPP
    but why not use <stdio.h> 's
    scanf or fgets ???

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,333
    Found the file here
    D:\DJGPP\gnu\libgxx-2.811\libio\iostream.h

    1. Did you tick the c++ box when you downloaded DJGPP?

    2. Did you install it?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  4. #4
    Frenchfry164
    Guest
    1. Yes
    2. Yes

  5. #5
    Frenchfry164
    Guest
    I dont have a libgxxx folder!

  6. #6
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,333
    Actually, I got it wrong.

    The file is actually here d:/djgpp/lang/cxx/iostream.h

    And it originally came from the gpp281b.zip file

    One other point, you run the C++ compiler by typing 'gxx' not 'gcc'
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. cin memory leak?
    By jcafaro10 in forum C++ Programming
    Replies: 2
    Last Post: 01-21-2009, 01:38 AM
  2. cin problem
    By mikahell in forum C++ Programming
    Replies: 12
    Last Post: 08-22-2006, 11:14 AM
  3. getline(function)??
    By dac in forum C++ Programming
    Replies: 7
    Last Post: 03-10-2006, 11:42 AM
  4. cin not allowing input after first use of function
    By Peter5897 in forum C++ Programming
    Replies: 5
    Last Post: 01-31-2006, 05:29 PM
  5. Overriding Cin with Cout
    By Tainted in forum C++ Programming
    Replies: 5
    Last Post: 10-06-2005, 02:57 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21