its-Kumar / C_Programming

This repository contains all programs implementation in C language from B.tech Programming syllabus. Most of the programms from Let Us c and C in Depth books.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

C_Programming

This repository contains all programs implementation in C language from B.tech Programming syllabus. Most of the programms from Let Us c and C in Depth books.

Running the C programms

On Windows:

  1. On windows download the Devcpp software.
  2. Now open the folder in Devcpp software and open the program which you want to run
  3. Click on the compile button. (It will compile the program)
  4. Click on the run button to execute the program.
  5. You can directly compile and run program from commandline in windows. (same as linux)

On Linux

  1. Open the folder in any texteditor(Vscode, jeany, etc.)
  2. Open terminal
  3. Compile the program
$ gcc program_name.c -o program_name

# if your program contains any mathematic function ('math.h')
# then link math library as
$ gcc -lm program_name.c -o program_name
  1. run the program
$ ./program_name

On Mac

Same as windows or linux

Folder Structure

  • 1_PATTERN

    All types of patterns printing through C.

  • 2_ControlStatements

    This Folder contains programs using Control Statements like if-else, while loop, for loop, etc.

  • 3_Functions

    This Folder contains programms using functions.

  • 4_ARRAY

    Programms on arrays

  • 5_STRING

    Programms of strings in c

  • 6_STRUCT

    Programms using structures

  • 7_FILE

    Working with files in C

    • Read File
    • Write File
    • Copy file
    • Merge Files
    • Count chars, words, etc.
    • Creating database using files
  • Preprocessor

    Preprocessors in C language.

#its_Kumar(Kumar Shanu)

About

This repository contains all programs implementation in C language from B.tech Programming syllabus. Most of the programms from Let Us c and C in Depth books.


Languages

Language:C 100.0%