Thread: You Can Help Me!

  1. #1
    dayknight
    Guest

    Post You Can Help Me!

    compiling in borland c++ 5.5, no output shown? suggestions>

    <code>
    #include <stdio.h>
    main()
    {
    printf("checking..");
    getchar(); // to stop the program until entered
    }

    NEED TO KNOW!!!!

    1 more thing , wats better visual c++ or borland?

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    200
    I hate when people ask this question. You realize that in a nearly perfectly competitive market, such as that for high end compilers/IDEs, two products that can be compared using 'better' or 'worse' or some other similar qualitative judgment cannot exist?

    To answer your first question: it works fine for me using the free cmdline tools. But you need to use int main(), which returns a value of 0 if successful

  3. #3
    Fingerstyle Guitarist taylorguitarman's Avatar
    Join Date
    Aug 2001
    Posts
    564
    Go MinGW baby! GCC all the way.

  4. #4
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    first THIS BELONGS ON THE C FORUM!


    add
    fflush(stdout);
    after your call to printf();

    >1 more thing , wats better visual c++ or borland?

    this is almost impossible to answer fairly its all opinion i use CodeWarrior but it is not for the faint of heart, it is far less forgiving of code error than Borland or MSVC, not really a Compiler for beginners, Most people start with MSVC since its easy to learn and very forgiving.
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  5. #5
    Christian
    Join Date
    Mar 2002
    Posts
    612
    >1 more thing , wats better visual c++ or borland?

    Depens

    Borland's latest vs. VC++ 6 (not .net/7)

    Borland is better for applications
    VC++ is better for games

    Code warrior is supposted to be better then both.

    I don't how vc++.net stacks up, thought.
    I shall call egypt the harmless dragon

    -Isaiah 30.7

  6. #6
    Seņor Member
    Join Date
    Jan 2002
    Posts
    560
    Code Warrior? The one made by Metroworks? That thing is a slow pile of crap. I'd go with Microsoft because it seems to be more widely used and it's really easy to use.

  7. #7
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    >Code Warrior? The one made by Metroworks? That thing is a slow pile of crap.

    whateva! mine is like lightning, its faster than MSVC and compiles code at about a fifth the size without even optimizing it, plus my code execution is slightly faster... AND IM USING VERSION 4 FOR CRAPS SAKE!! god only knows what 7.0 can do! I can't afford an update but when i can i know where my money goes!
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  8. #8
    Registered User
    Join Date
    Apr 2002
    Posts
    139
    I agree with no-one
    "The most common form of insanity is a combination of disordered passions and disordered intellect with gradations and variations almost infinite."

  9. #9
    www.entropysink.com
    Join Date
    Feb 2002
    Posts
    603
    Originally posted by lostminds
    I agree with no-one
    Quite right. I never agree with anybody either
    Visit entropysink.com - It's what your PC is made for!

  10. #10
    Registered User
    Join Date
    Apr 2002
    Posts
    24
    You can help me too. Does anyone know why I can't post a thread. I click on New thread and It says no forum specified. And I did follow a valid link.
    #include <iostream.h>
    int main()
    {
    cout<<"Hello";
    return 0;
    }

  11. #11
    Registered User
    Join Date
    Apr 2002
    Posts
    24
    PS: Does anyone use MPW GM on the Mac? I can't get it to compile any of my programs properly without errors. I'm only a beginner so it's nothing complicated I know this should eb in the C forum
    #include <iostream.h>
    int main()
    {
    cout<<"Hello";
    return 0;
    }

  12. #12
    dayknight
    Guest

    Talking woah too many replies :)

    i know CodeWarrior is the best and is not hard to use (tho i use it on macs @ my school). Did some1 say it is slow...
    i dont think so. on those crappy macs it loads so quickly as well as it compiles fast

    just my opinion!!!

  13. #13
    www.entropysink.com
    Join Date
    Feb 2002
    Posts
    603
    Does anyone know why I can't post a thread. I click on New thread and It says no forum specified. And I did follow a valid link.
    What page were you on when you tried to post (copy & paste the URL into your reply from your address bar).

    I'll try from there.
    Visit entropysink.com - It's what your PC is made for!

  14. #14
    Seņor Member
    Join Date
    Jan 2002
    Posts
    560
    I guess I must be wrong about code wrrior, maybe I got confused with another compiler or something.

  15. #15
    eat my shorts!
    Join Date
    Apr 2002
    Posts
    294

    CODE

    not maybe, u must be

Popular pages Recent additions subscribe to a feed