Thread: cin equivelents

  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
    London, United Kingdom
    Posts
    226
    Hey, I don't know any DJGPP
    but why not use <stdio.h> 's
    scanf or fgets ???

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    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.

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

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

  6. #6
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    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.

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, 02: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, 12:42 PM
  4. cin not allowing input after first use of function
    By Peter5897 in forum C++ Programming
    Replies: 5
    Last Post: 01-31-2006, 06:29 PM
  5. Overriding Cin with Cout
    By Tainted in forum C++ Programming
    Replies: 5
    Last Post: 10-06-2005, 02:57 PM