Completly new to C++

This is a discussion on Completly new to C++ within the C++ Programming forums, part of the General Programming Boards category; visual studio.net is indeed a better ide than any other for windows. When installing it you have the option of ...

  1. #16
    Dump Truck Internet valis's Avatar
    Join Date
    Jul 2005
    Posts
    357
    visual studio.net is indeed a better ide than any other for windows. When installing it you have the option of C++ and C# (the .net C), C++ creates standard x86 windows executables, you can even write pure C, if you dissassemble a compiled app- you will see it is indeed not .net byte code. The .net ide doesn't add any extra includes, dlls, or polute your source with any other junk, those of you experiencing strange problems such as this, bloat, and slowness must just be producing .net apps (which again, you don't have to).

    Also, cl is a better (only in terms of optimization and speed, not compatability at all) compiler than gcc, I was working with an engineer from hp who was working to speed up gcc, and it's not exactly the fastest code I have ever seen.
    Last edited by valis; 08-15-2005 at 04:33 PM.

  2. #17
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Quote Originally Posted by ssjnamek
    2005 yea thats .net

    STRAY AWAY FROM .NET

    microsoft 6.0 works fine i like easy simple to use

    but to get the code to work on .net

    copy and paste whatever was on the tutorial BUT you'll notice it created files above int main( ) leave those files there then below that paste over the int main( ) with what was on the tutorial

    so just make sure the .h is with the other .h header files and the int main is below that

    then IT SHOULD work i think you just have to leave all the header files that .net auto makes including that .dll file up there and then add whatever else below it
    Not that anyone around here cares about my oppinion, but I agree completely.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  3. #18
    Registered User
    Join Date
    Jan 2005
    Posts
    7,344
    Once you've got your project, just go to File, New, C++ Source File. It doesn't start you out with a file because you are creating an empty project (and in case you have files already). Inside your new C++ source file, add this simple code and see if it builds (F7):
    Code:
    #include <iostream>
    using namespace std;
    
    int main()
    {
        cout << "Hello World.";
    }
    Then run it and see if it runs (Ctrl-F5).

  4. #19
    Registered User
    Join Date
    Aug 2005
    Posts
    6
    Gentlemen, there's no need to fight over what I prefer to use. Dev-C++ is working fine, and MSV C++ 2005, wasn't. It's that's simple.

  5. #20
    He's trying.
    Join Date
    Apr 2005
    Location
    Missouri, US
    Posts
    70
    I think we have a winner.

  6. #21
    Banned
    Join Date
    Jun 2005
    Posts
    594
    Quote Originally Posted by Scott B.
    Gentlemen, there's no need to fight over what I prefer to use. Dev-C++ is working fine, and MSV C++ 2005, wasn't. It's that's simple.
    Sure there a reason to fight, when it wasnt working because
    of you, no need to turn other people off to it because
    it was to hard for you to figure out.

    Quote Originally Posted by ahluka
    Not that anyone around here cares about my oppinion, but I agree completely.
    Your right we dont care.

  7. #22
    Registered User
    Join Date
    Nov 2001
    Posts
    255
    Quote Originally Posted by Daved
    Once you've got your project, just go to File, New, C++ Source File. It doesn't start you out with a file because you are creating an empty project (and in case you have files already). Inside your new C++ source file, add this simple code and see if it builds (F7):
    Code:
    #include <iostream>
    using namespace std;
    
    int main()
    {
        cout << "Hello World.";
    }
    Then run it and see if it runs (Ctrl-F5).

    compiles just great BUT when i say execute it saids cannot find the file specified big red stop sign white X all that fun stuff

    perhaps i dont know how to link a new C++ file into a current project which well i dont or your idea doesnt work for some unknown reason on visual studio 2003(only the C++ version yea in school they didnt give us the whole thing unless we are taking that class right then and there)


    and yes but either way the debate was fun none the less
    hooch

  8. #23
    Registered User
    Join Date
    Jan 2005
    Posts
    7,344
    Which file does it say it cannot find? If it doesn't say anything, then maybe it cannot find the executable? Can you find the executable? If you can, what happens when you run it like a normal program from within the file explorer? Obviously the problem is not with Visual Studio, otherwise many other people would be complaining about it as well. So you just have to do a little digging to figure out what it is if you want to fix it.

  9. #24
    The N00b That Owns You!
    Join Date
    Jul 2005
    Location
    Canada!
    Posts
    178
    Quote Originally Posted by ILoveVectors
    BS to you, and BS to the other person.


    Visual Studio .NET is great compiler/ide

    Visual Studio 6.0 you should be staying from,
    because it is old and out dated, and dont comply with
    alot of standards.
    wanna fight buddy BRING IT ON!!!!

    iostream.h and iostream are the same buddy
    New Function!!!!

    glAddIdol(C+noob);

    The feeling of rusty spoons against my salad fingers is almost ORGASMIC

  10. #25
    Banned
    Join Date
    Jun 2005
    Posts
    594
    no there not buddy

  11. #26
    The N00b That Owns You!
    Join Date
    Jul 2005
    Location
    Canada!
    Posts
    178
    Quote Originally Posted by ILoveVectors
    Sure there a reason to fight, when it wasnt working because
    of you, no need to turn other people off to it because
    it was to hard for you to figure out.


    Your right we dont care.


    Microsoft ........ed up when they made msvc++ Dev is MUCH MORE BETTER except for Direct X it wastes all your space and is slow gayt doesn like to let you edit your own damn .rc files and does most of it for you!! LOL MSVC++ IS GAY and noone caes about >.NEYT or microsoft when it comes to msvc, bill gates should take one in the arse for making it
    New Function!!!!

    glAddIdol(C+noob);

    The feeling of rusty spoons against my salad fingers is almost ORGASMIC

  12. #27
    The N00b That Owns You!
    Join Date
    Jul 2005
    Location
    Canada!
    Posts
    178
    Quote Originally Posted by valis
    visual studio.net is indeed a better ide than any other for windows. When installing it you have the option of C++ and C# (the .net C), C++ creates standard x86 windows executables, you can even write pure C, if you dissassemble a compiled app- you will see it is indeed not .net byte code. The .net ide doesn't add any extra includes, dlls, or polute your source with any other junk, those of you experiencing strange problems such as this, bloat, and slowness must just be producing .net apps (which again, you don't have to).

    Also, cl is a better (only in terms of optimization and speed, not compatability at all) compiler than gcc, I was working with an engineer from hp who was working to speed up gcc, and it's not exactly the fastest code I have ever seen.

    .net c is microsofts puny and unsuccessful attempt to eliminate C DEV ALL THE WAY!

    GO BLOODSHED!!
    New Function!!!!

    glAddIdol(C+noob);

    The feeling of rusty spoons against my salad fingers is almost ORGASMIC

  13. #28
    Banned
    Join Date
    Jun 2005
    Posts
    594
    devc++ is ok, but its buggy and has several problems
    on a regular basis, especially with stupid errors.

    i never recieve such problems win msvc++, and until
    you have used msvc++ you shouldnt make any comments,
    especially worthless comments that dont help you prove your
    point.


    and im nto quite sure why you dotn think you can edit
    your .rc file in msvc++, just because you cant, doesnt
    mean it cant be done.

    it may be a inconvience for you when your trying to learn
    to do somethign when it does it for you, but then again
    i dont consider it a beginner compiler. its for someone
    who would occassionally liek there work load reduced,
    because ther either real busy, or lazy.
    Last edited by ILoveVectors; 08-16-2005 at 01:35 AM.

  14. #29
    The N00b That Owns You!
    Join Date
    Jul 2005
    Location
    Canada!
    Posts
    178
    and im nto quite sure why you dotn think you can edit
    your .rc file in msvc++, just because you cant, doesnt
    mean it cant be done.
    i have gotten no errors with dev except when i dont write the code properly myself or i forgot to link sumthing/include sumthing its fast reliable havent seen any bugds and surly your exmple about the .rc files just because you the code to a safe doesnt mean you cant break into it
    New Function!!!!

    glAddIdol(C+noob);

    The feeling of rusty spoons against my salad fingers is almost ORGASMIC

  15. #30
    Banned
    Join Date
    Jun 2005
    Posts
    594
    ok so we have established that you like devc++ because it works
    for you, and that i dont care for devc++ because it buggy.

    we also established that i like msvc++ because it works
    well for me with no problems, and that you dont like it
    becuase microsoft makes it.


    so you are trying to make an argument out of nothing, i dont
    really care what compiler you use. what i care about is
    the use of standard code.

    i think msvc is just as fast and if nto faster and mroe reliable
    then devc++, and i think its error/warning system is
    far superior to it. but i will admit for devc++ being free
    it is pretty decent and i wouldnt put anyone down for using it.

    you should take the same consideration about other good
    IDE/Compilers. however i would put someone down for using
    Visual C++ 6.0 because however nice it was at the time,
    it just isnt very good at helping you stay in the good portable
    code range.

Page 2 of 3 FirstFirst 123 LastLast
Popular pages Recent additions subscribe to a feed

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