omg.. compiler hates me

This is a discussion on omg.. compiler hates me within the C++ Programming forums, part of the General Programming Boards category; Originally posted by moi a slight word of warning i do not use devc++, just mingw, so if there's any ...

  1. #16
    Registered User
    Join Date
    Nov 2002
    Posts
    1,109
    Originally posted by moi
    a slight word of warning i do not use devc++, just mingw, so if there's any <iostream> vs <iostream.h> problem that is caused by devc++, then i won't know of it
    mingw 3.2 does give you warnings that iostream.h is antiquated though.

  2. #17
    ! |-| /-\ +3 1337 Yawgmoth's Avatar
    Join Date
    Dec 2002
    Posts
    187
    iostream is antiquated? I didn't know that.
    L33t sp3@k sux0rz (uZ it t@k3s 10 m1|\|ut3s 2 tr@nzl@te 1 \/\/0rd & th3n j00 h@\/3 2 g3t p@$t d@ m1zpelli|\|gz, @tr0(i0u$ gr@mm@r @|\|d 1n(0/\/\pr3#3|\|$1bl3 $l@|\|g. 1t p\/\/33nz j00!!

    Speling is my faverit sujekt

    I am a signature virus. Add me to your signature so that I may multiply.

  3. #18
    moi
    moi is offline
    Registered User moi's Avatar
    Join Date
    Jul 2002
    Posts
    946
    iostream.h is.
    hello, internet!

  4. #19
    Registered User
    Join Date
    Nov 2002
    Posts
    1,109
    yes, you have to declare iostream like this now, as per standard.

    Code:
    #include <iostream>
    
    using namespace std;
    OR
    using std::cout; //I think
    OR
    std::cout << std::endl;
    I use using namespace std; mostly because of ease and convenience (basically I'm too lazy to write std::cout all the time)

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. I think my compiler hates me
    By Matty_Alan in forum C Programming
    Replies: 4
    Last Post: 07-15-2007, 01:22 AM
  2. Compiler Paths...
    By Cobra in forum C++ Programming
    Replies: 5
    Last Post: 09-26-2006, 05:04 AM
  3. C Compiler and stuff
    By pal1ndr0me in forum C Programming
    Replies: 10
    Last Post: 07-21-2006, 12:07 PM
  4. I can't get this new compiler to work.
    By Loduwijk in forum C++ Programming
    Replies: 7
    Last Post: 03-29-2006, 06:42 AM
  5. how to call a compiler?
    By castlelight in forum C Programming
    Replies: 3
    Last Post: 11-22-2005, 11:28 AM

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