DIGIT-ARC read-only archive · snapshot: July 23, 2026

C Programming basics

6 posts · originally from https://geek.digit.in/community/threads/c-programming-basics.71873/

praka123
praka123 Original post #1
Oct 29, 2007 at 6:58 AM
Hi,
programmer guys please write a small introduction to C programming.this is for absolute nuts like me and other newbies.also explains why we should program using latest IDE's or gcc compiler and NOT to use turbo c antique compilers.the ISO standards etc.Will be thankful if you contribute.
Also only C Programming not C++.:)
Garbage
Garbage #2
Oct 29, 2007 at 7:39 AM
^^ Firstly, I wonder, why U need C Basics yaar ?? U R a masterpiece in Linux.
praka123
Oct 29, 2007 at 7:51 AM
...but not in programming :rolleyes: you are good in programming..toh,why wait,give a HOWTO.
a_k_s_h_a_y
Nov 10, 2007 at 11:39 AM
this is first program

Code:
#include <stdio.h>  // Include this stdio text file because it contains some code required for using printf

main()  // Every program must have main function 
{
 printf("I Won't Participate in OS Wars");   // Every statement must be ended by ';'
}
Output
Code:
I Won't Participate in OS Wars
whatever follows after // is commenting in code.. compiler ignores it untill it encounters the new line character

to put a newline character just press ENTER !
praka123
Nov 10, 2007 at 1:23 PM
LOL!thx
praka123
Nov 10, 2007 at 1:59 PM
@akshay:I am always supporting the right thing- FOSS. :D I will participate in OS war threads.