Thread: C++ Programming

  1. #16
    Programming Sex-God Polymorphic OOP's Avatar
    Join Date
    Nov 2002
    Posts
    1,078
    i use devc++ beta 5 with minigw and everything works perfectly fine...

  2. #17
    Registered User
    Join Date
    Feb 2003
    Posts
    33
    dev c++ 5 works for everyone accept me, i dont know waz the problem with this compiler, its probably the directories dint install properly.
    Snoop

  3. #18
    Registered User
    Join Date
    Feb 2003
    Posts
    33
    oh polly i got 1 more question. how do i turn my project to an .exe program in dev c++ 5
    Snoop

  4. #19
    samurai warrior nextus's Avatar
    Join Date
    Nov 2001
    Posts
    196
    when you compile doesnt it automatically make an .exe visual c++ 6 does so...but i dont know about dev c++ 5

  5. #20
    Programming Sex-God Polymorphic OOP's Avatar
    Join Date
    Nov 2002
    Posts
    1,078
    Just click Execute and choose one of the Compile options.

  6. #21
    Registered User
    Join Date
    Feb 2003
    Posts
    33
    Originally posted by nextus
    when you compile doesnt it automatically make an .exe visual c++ 6 does so...but i dont know about dev c++ 5
    Nah in dev c++ 5 you need to compile the project and do something else.
    Snoop

  7. #22
    Registered User
    Join Date
    Feb 2003
    Posts
    33
    Originally posted by Polymorphic OOP
    Just click Execute and choose one of the Compile options.
    Ok thank you very much, Iam dowloading dev c++ again but i dont know if when i use <iostream> again it would work.
    Snoop

  8. #23
    Programming Sex-God Polymorphic OOP's Avatar
    Join Date
    Nov 2002
    Posts
    1,078
    Originally posted by Snoop
    Nah in dev c++ 5 you need to compile the project and do something else.
    Nah, it's just like vc++ 6, you just compile and run.

  9. #24
    Registered User
    Join Date
    Feb 2003
    Posts
    33
    Originally posted by Polymorphic OOP
    Nah, it's just like vc++ 6, you just compile and run.
    thats weird because when i compile and run it just compile it and ran the program, but it dint make it a .exe
    Snoop

  10. #25
    Programming Sex-God Polymorphic OOP's Avatar
    Join Date
    Nov 2002
    Posts
    1,078
    it makes an exe. it tosses it in your project 's directory (unless you manually changed that directory in your settings).

  11. #26
    Registered User
    Join Date
    Feb 2003
    Posts
    33
    Originally posted by Polymorphic OOP
    it makes an exe. it tosses it in your project 's directory (unless you manually changed that directory in your settings).
    what you mean it tosses it to my project directory? when i compile and run the program it ask me to save it and when i go open it its save as an .cpp
    Snoop

  12. #27
    Programming Sex-God Polymorphic OOP's Avatar
    Join Date
    Nov 2002
    Posts
    1,078
    you have to create a project, not just a cpp. File -> New Project -> Console Application

  13. #28
    Registered User
    Join Date
    Feb 2003
    Posts
    33
    Oh ok i'll try that. 1 more thing, the <iostream.h> suppose to be in the g++ file? or in the c++ file. or maybe in both?
    Snoop

  14. #29
    Programming Sex-God Polymorphic OOP's Avatar
    Join Date
    Nov 2002
    Posts
    1,078
    you shouldn't have iostream.h anywhere. Also, what do you mean "g++ file?"

    Just make a project with 1 cpp file and #include<iostream> in there, then follow the rest of the instructions i gave in this thread.

  15. #30
    Registered User
    Join Date
    Feb 2003
    Posts
    33
    oh ok i get it now. but earlier some one told me to check if i had <iostream.h> in a g++ file. and i said i dint find a g++ file beacuse i thing there isnt any.
    Snoop

Popular pages Recent additions subscribe to a feed