Unix C++

This is a discussion on Unix C++ within the C++ Programming forums, part of the General Programming Boards category; Hi, I have the GNU gcc/g++ compilers for an alpha workstation. And it doesn't recognise the ifstream class. I've been ...

  1. #1
    Unregistered
    Guest

    Unix C++

    Hi,

    I have the GNU gcc/g++ compilers for an alpha workstation. And it doesn't recognise the ifstream class. I've been using cout so there must be no problem with iostrem.h

    żdoes anybody knows the name of the input file handler class or an euquivalent for that compiler?

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >And it doesn't recognise the ifstream class
    Make sure that you've included <fstream>, G++ should have all of the standard class libraries. If possible post some code as well if that isn't the problem.

    -Prelude
    My best code is written with the delete key.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to program in unix
    By Cpro in forum Linux Programming
    Replies: 21
    Last Post: 02-12-2008, 10:54 AM
  2. Setting up a Unix box
    By @nthony in forum Tech Board
    Replies: 6
    Last Post: 07-22-2007, 11:22 PM
  3. UNIX (Linux, BSD, etc) Programming :: UNIX
    By kuphryn in forum Linux Programming
    Replies: 6
    Last Post: 04-01-2004, 08:44 PM
  4. Unix Sockets
    By prvindia in forum Linux Programming
    Replies: 5
    Last Post: 03-11-2003, 09:16 AM
  5. About Unix Programming - Making a career desision
    By null in forum C Programming
    Replies: 0
    Last Post: 10-14-2001, 08:37 AM

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