Giter Site home page Giter Site logo

ccpy's Introduction

CCpy

Pre-Tested C Codebase for University Students

CCpy is a repository offering a collection of pre-tested, working C programs designed for students.


This repository aids students in learning and understanding various C programming concepts, providing practical examples for assignments, projects, and exams.
Additionally, it showcases my C language learning and helps university students by offering code examples.

Navigation

Navigating through the repository is straightforward, thanks to a clear hierarchical structure:

Level Concept
1 Files
2 Structs and Unions
3 Strings
4 Pointers
5 Arrays
6 Functions
7 Loops (while, do..while, for)
8.1 Flow Control (switch, goto, ternary (:?))
8.2 Flow Control (Branching) (if, else, else if)
9 Default (Anything Not Otherwise Mentioned)

Each level has a dedicated directory. Related levels, such as 8.1 and 8.2, share a parent folder with subfolders.

Example Usage

To find a program involving functions, arrays, and loops:

  1. Arrays: Start with the arrays directory.
  2. Functions: Next, check the functions directory.
  3. Loops: Finally, explore the loops directory.

This path would look like: Arrays > Functions > Loops > program.c


Compiling and Running

To use the programs, ensure you have a C compiler like GCC installed. Follow these steps:

  1. Clone the repository:

    git clone https://github.com/sahil-shefeek/ccpy.git
  2. Navigate to the repository's directory:

    cd ccpy
  3. Compile and run a program (e.g., program.c):

    gcc program.c
    ./a.out

    For Windows users:

    gcc program.c
    a.exe

Each program is in a file with a descriptive name. To use a program:

  1. Open the file (e.g., program.c) in a text editor.
  2. Review the comments and code to understand its functionality.
  3. Modify as needed or use it as a reference for your projects.
  4. Save changes and follow the compilation instructions above.

ccpy's People

Contributors

sahil-shefeek avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.