Skip to content

tasbeeh479/cpp-fundamentals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

cpp-fundamentals

A structured Semester 1 C++ fundamentals repository containing topic-wise code examples, lab/practice work, assignments, and quizzes. This repo is designed to build a strong foundation in programming concepts before progressing to OOP and DSA.

Contents

  • Basics: syntax, variables, data types, operators
  • Control Flow: if/else, switch, logic building
  • Loops: for, while, nested loops
  • Functions: modular programming, parameter passing, recursion (intro)
  • Arrays: 1D/2D arrays, basic searching & sorting
  • Pointers: memory basics, pointer arithmetic
  • Assignments: hands-on implementation problems
  • Quizzes: technical quizzes

How to Compile and Run

Compile any file:

g++ <path-to-file>.cpp -o app

Run:

./app

Example:

g++ 01_Basics/01_hello_world.cpp -o app
./app

Notes

  • Follow folders in order for a progressive learning path.
  • Keep file naming consistent to maintain clarity and navigation.
  • Build outputs (e.g., .exe) should not be committed (handled via .gitignore).

About

A structured C++ fundamentals repository(SEMESTER I) with topic-wise examples, hands-on assignments, and quizzes to build a strong programming foundation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages