Results 1 to 7 of 7

Thread: Where can I learn Turbo c?

  1. #1

    Thread Starter
    Hyperactive Member kourosh's Avatar
    Join Date
    Aug 1999
    Location
    Vancouver, British Columbia, Canada
    Posts
    256

    Question

    Hello everyone,

    Long time ago I asked somebody to send me turbo c and Now I am looking for a toturial on the net, which it doesn't seems to be any. If anybody know of any good web site on the net to learn turbo c I really appreciate if you share it with me.

    Thanks in Advance
    ===========================
    Kourosh Gonabadi
    VB Programmer
    C++ Newbie
    Graphic Designer
    ===========================

  2. #2
    Frenzied Member CyberCarsten's Avatar
    Join Date
    Sep 1999
    Location
    Aalborg Ø, Denmark
    Posts
    1,544
    Why don't you learn C++ instead??
    razor
    Software Engineer Student, Aalborg University, Denmark
    http://www.cs.auc.dk

    My email at AUC: will get a new email soon
    My website: http://www.razorsoftware.net


    Windows XP Pro/ Gentoo Linux (Laptop)
    Windows XP Pro (Home PC)

  3. #3
    denniswrenn
    Guest
    Turbo C isn't really a language, it's a compiler, you need to learn the ANSI spec for C that existed a couple years ago... I'm sure there are some tutorials, but they'll be kinda hard to find.

  4. #4
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  5. #5

    Thread Starter
    Hyperactive Member kourosh's Avatar
    Join Date
    Aug 1999
    Location
    Vancouver, British Columbia, Canada
    Posts
    256

    Thumbs up Thanks...

    Thanks Dennis. Sometimees I feel like my teacher is mentaly handycap. He want us to learn Turbo C!!! I have no idea why... Altough I am learning visual C++ at school but I have to learn Turbo too. Anyhow thanks to everybody for answering.
    ===========================
    Kourosh Gonabadi
    VB Programmer
    C++ Newbie
    Graphic Designer
    ===========================

  6. #6
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    If you learn C or C++ then it's pretty easy to convert between them. Things to note when using both:

    C++ -> C
    All variables must be declared at the top of each function
    No classes, use struct
    Use malloc/free. Watch for alignment with this

    C -> C++
    Declare variables near first use
    Use new/delete in preference

    And the main thing to watch out for when using different compilers is structure packing. For example:
    Code:
    struct mystruct {
        char x;
        short y;
        long z;
    }
    You'd think that would take up 4+2+1=7 bytes. Not necessarily MSVC++ aligns structure elements on 4-byte boundaries, so it takes 12 bytes. Turbo C may do something different, such as aligning to 2-byte boundaries. This can cause a lot of problems when reading/writing files.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  7. #7
    Hyperactive Member jovton's Avatar
    Join Date
    Nov 2000
    Location
    South Africa
    Posts
    266
    The Indispensable Guide to C.

    ISBN: 0-201-62438-9
    jovton

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width