PDF download Download Article PDF download Download Article

C is one of the oldest and most powerful programming language that was first developed in the 1970s by Dennis Ritchie. However, if C programming is mastered, learning other programming languages will be easy. This article will help you to start learning C programming, by using the compiler Turbo C++ IDE .

  1. Once you have got yourself the Turbo C++ compiler, learn about the #include , printf (Printf is used to print a message onto the console) and scanf (Scanf is used to scan a message from the console to the memory) functions.
    Advertisement
  2. Congratulate yourself, you're starting to learn C programming in Turbo C++ IDE!
  3. 4
    Remember, C is a High Level Language (HLL). It is case sensitive, modular and structured.
  4. 6
    Learn about variables. Variables are names given to certain memory blocks where the program will store certain values. To use a variable, the programmer will have to declare it first.
  5. These indicate the type of value represented by certain variable. Given below are the 4 most common and important data types and on the right hand side is their format-specifier.
    • int --> %d
    • float --> %f
    • char --> %c
    • double --> %f (Yes, float & double have the same format specifier)
    • Strings are a part of char but the format specifier for strings is %s
  6. Learn about Arithmetic operators, logical operators, increment/ decrement operators, conditional operator, control flow structure (if-else, if statement, nested if) and looping (while, do-while, for).
  7. ASCII is used occasionally in C programming.
  8. 13
    Get enrolled with certain courses to improve your command over C programming. Read books related to C programming.
    • Remember, you cannot master any language without determination and hard work.
  9. Advertisement

Video

Community Q&A

Search
Add New Question
  • Question
    Is C++ case-sensitive?
    Denneisk
    Top Answerer
    Letters are case-sensitive in C++, meaning that "main" and "Main" are two completely different things. A good tip to remember is that most (if not all) functions start with a lower case.
  • Question
    Are there any errors in this Turbo C++ code: scanf("%d , andValue2)?
    Community Answer
    Yes, there is an error. You can only use ampersands in this situation, so instead you should have scanf("%d", &Value2).
  • Question
    Which software is helpful for C?
    Community Answer
    Codeblock or Visual Studio Community 2015 (free) are helpful.
Ask a Question
      Advertisement

      Tips

      • Learn to debug a program.
      • If you are unable to fix a syntax error, try searching Google or some other search engine. There are loads of people around you who are ready to help.
      • If you encounter a mistake, tell it to others. Don't hide them. Making mistake is the first step to learning any programming language.
      Show More Tips
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      Expert Interview

      Thanks for reading our article! If you’d like to learn more about programming, check out our in-depth interview with Tyrone Showers .

      About This Article

      Thanks to all authors for creating a page that has been read 217,213 times.

      Reader Success Stories

      • Prabhakar Rao

        Oct 10, 2016

        "I found this an excellent reference to teach C programming. It's good for even novices or beginners."
      Share your story

      Is this article up to date?

      Advertisement