GCC vs Turbo C

yorha 2b
@yorha-4BSkiM โ€ข Oct 26, 2024

So,
I am new in this programming thing ... being an EC engineer i was never too much involved in Languages.
But recently i wanted to learn all programming languages anyhow ...
so i started with C ... Never been a fan of Windows, so i wanted to do all this coding & learning it in Fedora Linux. Somehow, while trolling GCC vs TC in CE Forums, I found one of fellow CEan wrote that GCC is for advanced level programming & TC is for newbie ... To be honest, I found GCC very convenient.

I just need reviews and guide from veteran programmers about ... is it okay that i stick with GCC compiler .. or should i opt TC compiler.
& please elaborate the difference between GCC & TC compilers.

Any help and criticism are welcome ! ๐Ÿ˜€

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • yorha 2b

    @yorha-4BSkiM • Jul 12, 2012

    no one ?? ๐Ÿ˜” ๐Ÿ˜ญ

  • [Prototype]

    @prototype-G9Gn5k • Jul 14, 2012

    Of course GCC is totally fine. You'll find that in almost all the free linux distro and what not. There's nothing like compiler for advance & compiler for newbie. Until the your program is syntactically correct, compiler used is of least concern. Yes, every compiler offers certain compiler specific features (ever seen that #pragma ?), but those are seldom used as they hurt the portability of the program.

    TC is outdated if you ask me, while gcc is still under active development, so its good idea to stick to it. As a short answer to your question, it doesn't matter which compiler you use. If you know the language itself, your programs will compile regardless of compiler its thrown at.

    Though, I would advice to not be a "wanna be" cool programmer(trying to write code in notepad) and download an IDE for coding. It really helps a lot in learning & further coding. You can get the Code::Block IDE for free, bundled with gcc.

    We all know no one likes to work in blue screen with white font when you great graphical interfaces available..๐Ÿ˜‰

    Hope that answers you question.

    Best Regards.

  • yorha 2b

    @yorha-4BSkiM • Jul 14, 2012

    [Prototype]Of course GCC is totally fine. You'll find that in almost all the free linux distro and what not. There's nothing like compiler for advance & compiler for newbie. Until the your program is syntactically correct, compiler used is of least concern. Yes, every compiler offers certain compiler specific features (ever seen that #pragma ?), but those are seldom used as they hurt the portability of the program.

    TC is outdated if you ask me, while gcc is still under active development, so its good idea to stick to it. As a short answer to your question, it doesn't matter which compiler you use. If you know the language itself, your programs will compile regardless of compiler its thrown at.

    Though, I would advice to not be a "wanna be" cool programmer(trying to write code in notepad) and download an IDE for coding. It really helps a lot in learning & further coding. You can get the Code::Block IDE for free, bundled with gcc.

    We all know no one likes to work in blue screen with white font when you great graphical interfaces available..๐Ÿ˜‰

    Hope that answers you question.

    Best Regards.

    Thank you very much, man
    Helps a lot ๐Ÿ˜€

  • KenJackson

    @kenjackson-mBf7HF • Jul 16, 2012

    I'm trying to guess what they meant by saying GCC is for advanced level programming. Yes, it is, but I don't see how that rules out a beginner. The difficulty with developing code is converting the algorithm in your mind into code. The best any tool can do is to just work and not become a distraction.

    I guess they meant that TurboC came with an IDE (didn't it?). But you can always download and use an IDE like <a href="https://www.eclipse.org/" target="_blank" rel="nofollow noopener noreferrer">The Community for Open Innovation and Collaboration | The Eclipse Foundation</a>, #-Link-Snipped-#, <a href="https://www.codeblocks.org/" target="_blank" rel="nofollow noopener noreferrer">Code::Blocks - Code::Blocks</a> or <a href="https://www.codelite.org/" target="_blank" rel="nofollow noopener noreferrer">www.codelite.org</a>. Though contrary to what [Prototype] advised above, I dislike all IDEs, preferring to work in <a href="https://www.gnu.org/software/emacs/" target="_blank" rel="nofollow noopener noreferrer">GNU Emacs - GNU Project</a>.

    The problem with all IDEs is that they're all a little different. As you jump from project to project, you often have to switch IDEs, so you may have to use different keys to move the cursor or highlight text. I don't want to exert ANY thought to how to edit. I want it to just happen when I think about it. That's why I use emacs.

  • Invalid User

    @invalid-user-VezUEl • Oct 7, 2015

    gcc is fine but try below program
    o/p will different in Turbo C and GCC
    #include"stdio.h"
    main()
    {
    int a=1,b=1,c=2,d=1,e=1,f=1,g=1,h=1;
    a=++a + ++a + ++a;
    b=++b + ++b + b++;
    c=++c + c++ + ++c;
    d=++d + d++ + d++;
    e=e++ + ++e + ++e;
    f=f++ + ++f + f++;
    g=g++ + g++ + ++g;
    h=h++ + h++ + h++;
    printf("%d\n%d\n%d\n%d\n%d\n%d\n%d\n%d\n",a,b,c,d,e,f,g,h);
    }