Skip to main content

How to get started with C Programming


Getting Started with C

There are several ways to start with any programming language. But in this post I'm gonna tell you how I started C as my first programming language. To get started with any language you must know why you need to learn that language. You can google to learn about "why do we need C language" . After you're done googling. you've must have learnt various reasons why do we need C.

So How to get started with C.

1. Installing Required applications and tools for C.

You must require tools to learn and practice any language on your system. Since you're beginner and assuming you're having no prior knowledge I am listing few basic IDE's for Android and Windows.

  • Android :
    1. C++ compiler - Kvass Yu
    2. CxxDroid
    3. Using Termux (Tutorial how to write and compile C programs on Android using Termux). 
  • Windows : 
  • Web IDE/Compiler:
    1. JDoodle C Compiler
    2. Online GDB Compiler 
    3. Programiz C Compiler
You can choose any of the IDE or editor, then install and test the hello world program.

2. Learning Path:

The best way to learn programming is to learn from the documentation but that can be really boring as you are just starting to code. So referring YouTube and various sites video tutorials can be helpful.

Websites/Courses you can audit:

But learning programming in sequential steps is important since C is Procedural Oriented Programming (POP). There are several websites where you can learn C from their structured curriculum. I personally like the Courses on SoloLearn, they have organized and structured their courses especially for beginners consisting of different modules with projects at the end of each module which helps you to sharpen your skills.

Learn and clear these concepts:

      • Tokens and keyword
      • Data Types and their Storage in memory
      • Variables and Storage Classes
      • Pre-Processor Directives
      • Types of operators ,their precedence and associativity
      • Basic Input and Output
      • Control Statements
      • Loops
      • Functions
      • Arrays
      • Strings
      • Pointers
      • Structure and Unions
      • File Handling
      • Dynamic programming
Above topics include basic topics that every C programmers must be aware of.

3. Practice and Work on Projects

 After you have learnt the basics you can test you skills to solve various real life problems on different competitive programming sites and by working on several basic projects. Both of these helps me to keep myself updated and learn new concepts everyday.

You can compete with other programmers and contribute to open source projects too.

Websites where you can practice and compete:

There are several platforms where you can compete. You just need to find your thing.

Comments

Popular posts from this blog

SSH Server on Android

  How to create a SSH server on Android Termux-SSH: Termux is one of the best ways to use SSH and perform many more other operations on Android. It is one of the powerful application for android. We can use Termux to open a SSH terminal that can be accessed over LAN using Termux-SSH a python script or using OpenSSH.

Programming in C on Android

C is a powerful General Purpose Programming Language. Learning C could be beneficial as it is one of the basic but powerful language, there are several powerful tools which had been developed using C. The Python interpreter is written in C language known as CPython, Linux  OS was built using C, Android Kernels , MacOS and even Crunch a pentest password word list generator tool is built using C language. So to start with C programming, a newbie must have an Integrated Development Environment(IDE). It would be so difficult to write in a notepad. IDE can make things much simpler, makes every task like Compiling, Linking, Debugging easy to perform. Without an IDE it would be difficult for developer to mange a project. There are several IDE's for Windows, but the two popular ones are listed below with print screen: 1. Dev C++ Dev C++ Download link:  https://www.bloodshed.net/devcpp.html   2. Codeblocks Codeblocks  Download li...