trouble with dev c++

This is a discussion on trouble with dev c++ within the C Programming forums, part of the General Programming Boards category; i am using hte dev c++ 5 beta program. and i made a c document and wrote #include < stdio.h ...

  1. #1
    Sir Mister Insane Sako Klinerr1's Avatar
    Join Date
    May 2002
    Posts
    608

    trouble with dev c++

    i am using hte dev c++ 5 beta program. and i made a c document and wrote
    #include < stdio.h >
    main ( )
    {
    printf ("Goodbye Cruel World!!!!");
    return (0);
    }
    it said there was no such this as stdio.h is htis because im using a beta compiler? i saw another post and a guy is trying to find wherere he can download header files, I think he is having the same problem

    (note: yes im a newb who wants to learn c++ but all the tutorials sya I shoiudl learn c first)
    Email: Klinerr1@nc.rr.com || AIM: MisterSako || MSN: sakotheinsane@hotmail.com

    -the shroom has spoken

  2. #2
    geek SilentStrike's Avatar
    Join Date
    Aug 2001
    Location
    NJ
    Posts
    1,141
    No spaces in between the < and > and the word stdio.h
    Prove you can code in C++ or C# at TopCoder, referrer rrenaud
    Read my livejournal

  3. #3
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    bah... c++ is not any harder that C!

    If your just starting out it will be more difficult to learn c then c++.
    If your goal is c++... learn it.. I started out on it..
    easy..

    here is your program in c++

    Code:
    #include <iostream.h>
    
    int main()
    {
        cout << " Goodbye cruel world!"
        
        cin.get();
        return 0;
    }
    and cin.get is what makes the program stay on the screen untill you type a key and hit enter
    What is C++?

  4. #4
    Sir Mister Insane Sako Klinerr1's Avatar
    Join Date
    May 2002
    Posts
    608
    i guess ill do that! im so glad you said that or i would fo wasted my time on learning C witch I would probally never use.
    Email: Klinerr1@nc.rr.com || AIM: MisterSako || MSN: sakotheinsane@hotmail.com

    -the shroom has spoken

  5. #5
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    Well...C isn't a waste of time. In benchmark tests it ranks higher in performance over cpp (depending on what you are doing of course). C++ is handy for the most part but if you want small and efficient c is best.

    As for your initial question. Make sure that you also have Dev-c++ using the correct include path. For that you would go Options->Compiler Options->Directories. But I think your problem should have been resolved by earlier advice.

  6. #6
    Registered User
    Join Date
    Oct 2001
    Posts
    44
    May i point out that your simpson quote is incorrect.

    u have:

    Simpson, Homer Simpson, hes the greatest guy in his-tor-ey! From the, town of brigfield, he's bound ot hit a tree! - as said by Homer


    when it should be:

    Simpson, Homer Simpson, hes the greatest guy in his-tor-ey! From the, town of springfield, he's about to hit a chestnut tree! - as SUNG by Homer.


    thank you.!
    Dangerous Dave

  7. #7
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    I never said C was a waste of time.. i just meant that it would be alot easier to start out in C++ if the only reason you were learning C is to go into c++ (make any sense?).
    What is C++?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Resources with Dev C++ Problem (many simple problems)
    By Zeusbwr in forum Windows Programming
    Replies: 4
    Last Post: 04-06-2005, 11:08 PM
  2. New to Dev C++/<windows.h>...
    By Cilius in forum C++ Programming
    Replies: 3
    Last Post: 02-23-2005, 12:05 AM
  3. Glut and Dev C++, Programs not Quitting?
    By Zeusbwr in forum Game Programming
    Replies: 13
    Last Post: 11-29-2004, 07:43 PM
  4. openGL programming - From MSVC++ to Dev C++
    By WDT in forum Game Programming
    Replies: 3
    Last Post: 03-08-2004, 07:47 PM
  5. openGL programming - From MSVC++ to Dev C++
    By WDT in forum Game Programming
    Replies: 1
    Last Post: 03-08-2004, 04:19 PM

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