Programming ↗

C++ Level 2 · OOP

Design objects. Build lasting programs.

Move from individual functions to connected objects and persistent records. Study classes, encapsulation, inheritance, polymorphism and composition, then use classes with stacks, queues and file-based work.

Intermediate3 months suggested path4 learning modes
AI-generated scene: A developer studying class design and data structuresAI-generated image
LEARN IT. PRACTISE IT. EXPLAIN IT.PKR 20,000Course fee · confirm your learning plan
START WITH THE BIG PICTURE

What is this course about?

Move from individual functions to connected objects and persistent records. Study classes, encapsulation, inheritance, polymorphism and composition, then use classes with stacks, queues and file-based work.

Build classes and objects, inheritance, polymorphism, composition, encapsulation, stacks, queues and persistent file-based applications through 7 topics with 50 programs each: 350 programs and 3 course projects.

Where you can use the skills

  • A file-based student registry.
  • A persistent stack or undo exercise.
  • A file-backed queue or ticket workflow.

These are application ideas for your learning and portfolio. The published curriculum below shows the actual lessons and projects.

PRACTICAL BENEFITS

What you will work towards

Design classes with clear responsibilities.

Compare inheritance, polymorphism and composition.

Use data structures as part of an application.

Understand file-backed records and persistent state.

FIND YOUR STARTING POINT

Who is this course for?

  • Learners who have completed C++ foundations.
  • Students ready for object-oriented programming.
  • Developers strengthening class and data-structure concepts.

Before you start

Variables, conditions, loops, arrays and functions in C++. You should be able to compile and run a basic program locally.

THE ROAD AHEAD

Your course curriculum.

7 topics × 50 programs = 350 programs · 3 course projects · readable code and tested reference output.

01Classes & objects50 programs +
  1. Model a course with a class
  2. Default and parameterized constructors
  3. Constructor initialization order
  4. Object lifetime and destructor
  5. Copy an object with value members
  6. Const objects and const methods
  7. Static member shared by objects
  8. This pointer and fluent methods
  9. Journey speed · value class
  10. Triangle area · value class
  11. Room perimeter · value class
  12. Paint coverage · value class
  13. Fuel economy · value class
  14. Simple interest · value class
  15. Percentage improvement · value class
  16. Weighted assessment · value class
  17. Tax-inclusive price · value class
  18. Discounted price · value class
  19. Hourly earnings · value class
  20. Overtime earnings · value class
  21. Monthly saving target · value class
  22. Shared travel cost · value class
  23. Currency conversion · value class
  24. Electric energy · value class
  25. Water tank volume · value class
  26. Box surface area · value class
  27. Temperature difference · value class
  28. Distance in metres · value class
  29. Minutes to seconds · value class
  30. Average of three observations · value class
  31. Gross profit · value class
  32. Profit margin · value class
  33. Break-even units · value class
  34. Stock reorder quantity · value class
  35. Inventory value · value class
  36. Attendance percentage · value class
  37. Exam marks required · value class
  38. Download duration · value class
  39. Image pixel count · value class
  40. Uncompressed RGB bytes · value class
  41. Website conversion rate · value class
  42. Cost per lead · value class
  43. Click-through rate · value class
  44. Return on ad spend · value class
  45. Email open rate · value class
  46. Course completion rate · value class
  47. Class fee balance · value class
  48. Tutor hours per learner · value class
  49. Parcel dimensional volume · value class
  50. Recipe scaling · value class
02Encapsulation & invariants50 programs +
  1. Validated setters
  2. Account deposits and withdrawals
  3. Constructor throws for invalid state
  4. Expose read-only access to a collection
  5. Separate public interface and implementation
  6. Overload addition without mutation
  7. Journey speed · state invariant
  8. Triangle area · state invariant
  9. Room perimeter · state invariant
  10. Paint coverage · state invariant
  11. Fuel economy · state invariant
  12. Simple interest · state invariant
  13. Percentage improvement · state invariant
  14. Weighted assessment · state invariant
  15. Tax-inclusive price · state invariant
  16. Discounted price · state invariant
  17. Hourly earnings · state invariant
  18. Overtime earnings · state invariant
  19. Monthly saving target · state invariant
  20. Shared travel cost · state invariant
  21. Currency conversion · state invariant
  22. Electric energy · state invariant
  23. Water tank volume · state invariant
  24. Box surface area · state invariant
  25. Temperature difference · state invariant
  26. Distance in metres · state invariant
  27. Minutes to seconds · state invariant
  28. Average of three observations · state invariant
  29. Gross profit · state invariant
  30. Profit margin · state invariant
  31. Break-even units · state invariant
  32. Stock reorder quantity · state invariant
  33. Inventory value · state invariant
  34. Attendance percentage · state invariant
  35. Exam marks required · state invariant
  36. Download duration · state invariant
  37. Image pixel count · state invariant
  38. Uncompressed RGB bytes · state invariant
  39. Website conversion rate · state invariant
  40. Cost per lead · state invariant
  41. Click-through rate · state invariant
  42. Return on ad spend · state invariant
  43. Email open rate · state invariant
  44. Course completion rate · state invariant
  45. Class fee balance · state invariant
  46. Tutor hours per learner · state invariant
  47. Parcel dimensional volume · state invariant
  48. Recipe scaling · state invariant
  49. Mixture concentration · state invariant
  50. Battery remaining time · state invariant
03Inheritance50 programs +
  1. A student is a person
  2. Protected helper in a derived class
  3. Base then derived construction
  4. Multi-level inheritance
  5. Resolve a name from two base classes
  6. Prefer composition for has-a relationships
  7. Journey speed · derived model
  8. Triangle area · derived model
  9. Room perimeter · derived model
  10. Paint coverage · derived model
  11. Fuel economy · derived model
  12. Simple interest · derived model
  13. Percentage improvement · derived model
  14. Weighted assessment · derived model
  15. Tax-inclusive price · derived model
  16. Discounted price · derived model
  17. Hourly earnings · derived model
  18. Overtime earnings · derived model
  19. Monthly saving target · derived model
  20. Shared travel cost · derived model
  21. Currency conversion · derived model
  22. Electric energy · derived model
  23. Water tank volume · derived model
  24. Box surface area · derived model
  25. Temperature difference · derived model
  26. Distance in metres · derived model
  27. Minutes to seconds · derived model
  28. Average of three observations · derived model
  29. Gross profit · derived model
  30. Profit margin · derived model
  31. Break-even units · derived model
  32. Stock reorder quantity · derived model
  33. Inventory value · derived model
  34. Attendance percentage · derived model
  35. Exam marks required · derived model
  36. Download duration · derived model
  37. Image pixel count · derived model
  38. Uncompressed RGB bytes · derived model
  39. Website conversion rate · derived model
  40. Cost per lead · derived model
  41. Click-through rate · derived model
  42. Return on ad spend · derived model
  43. Email open rate · derived model
  44. Course completion rate · derived model
  45. Class fee balance · derived model
  46. Tutor hours per learner · derived model
  47. Parcel dimensional volume · derived model
  48. Recipe scaling · derived model
  49. Mixture concentration · derived model
  50. Battery remaining time · derived model
04Polymorphism50 programs +
  1. Virtual method dispatch
  2. Abstract shape interface
  3. Polymorphic collection with unique_ptr
  4. Virtual destructor in action
  5. Object slicing versus references
  6. Strategy through an interface
  7. Journey speed · runtime views
  8. Triangle area · runtime views
  9. Room perimeter · runtime views
  10. Paint coverage · runtime views
  11. Fuel economy · runtime views
  12. Simple interest · runtime views
  13. Percentage improvement · runtime views
  14. Weighted assessment · runtime views
  15. Tax-inclusive price · runtime views
  16. Discounted price · runtime views
  17. Hourly earnings · runtime views
  18. Overtime earnings · runtime views
  19. Monthly saving target · runtime views
  20. Shared travel cost · runtime views
  21. Currency conversion · runtime views
  22. Electric energy · runtime views
  23. Water tank volume · runtime views
  24. Box surface area · runtime views
  25. Temperature difference · runtime views
  26. Distance in metres · runtime views
  27. Minutes to seconds · runtime views
  28. Average of three observations · runtime views
  29. Gross profit · runtime views
  30. Profit margin · runtime views
  31. Break-even units · runtime views
  32. Stock reorder quantity · runtime views
  33. Inventory value · runtime views
  34. Attendance percentage · runtime views
  35. Exam marks required · runtime views
  36. Download duration · runtime views
  37. Image pixel count · runtime views
  38. Uncompressed RGB bytes · runtime views
  39. Website conversion rate · runtime views
  40. Cost per lead · runtime views
  41. Click-through rate · runtime views
  42. Return on ad spend · runtime views
  43. Email open rate · runtime views
  44. Course completion rate · runtime views
  45. Class fee balance · runtime views
  46. Tutor hours per learner · runtime views
  47. Parcel dimensional volume · runtime views
  48. Recipe scaling · runtime views
  49. Mixture concentration · runtime views
  50. Battery remaining time · runtime views
05Composition & collections50 programs +
  1. Student owns an address value
  2. Shopping cart of item objects
  3. Find an object by identifier
  4. Sort objects by a field
  5. Non-owning teacher association
  6. Template class for reusable storage
  7. Journey speed · composed report
  8. Triangle area · composed report
  9. Room perimeter · composed report
  10. Paint coverage · composed report
  11. Fuel economy · composed report
  12. Simple interest · composed report
  13. Percentage improvement · composed report
  14. Weighted assessment · composed report
  15. Tax-inclusive price · composed report
  16. Discounted price · composed report
  17. Hourly earnings · composed report
  18. Overtime earnings · composed report
  19. Monthly saving target · composed report
  20. Shared travel cost · composed report
  21. Currency conversion · composed report
  22. Electric energy · composed report
  23. Water tank volume · composed report
  24. Box surface area · composed report
  25. Temperature difference · composed report
  26. Distance in metres · composed report
  27. Minutes to seconds · composed report
  28. Average of three observations · composed report
  29. Gross profit · composed report
  30. Profit margin · composed report
  31. Break-even units · composed report
  32. Stock reorder quantity · composed report
  33. Inventory value · composed report
  34. Attendance percentage · composed report
  35. Exam marks required · composed report
  36. Download duration · composed report
  37. Image pixel count · composed report
  38. Uncompressed RGB bytes · composed report
  39. Website conversion rate · composed report
  40. Cost per lead · composed report
  41. Click-through rate · composed report
  42. Return on ad spend · composed report
  43. Email open rate · composed report
  44. Course completion rate · composed report
  45. Class fee balance · composed report
  46. Tutor hours per learner · composed report
  47. Parcel dimensional volume · composed report
  48. Recipe scaling · composed report
  49. Mixture concentration · composed report
  50. Battery remaining time · composed report
06Data structures: stacks & queues50 programs +
07Files & persistent classes50 programs +
  1. Write and read a text file
  2. Append an attendance entry
  3. Save and load a record object
  4. Reject malformed file records
  5. Persist stack order in a file
  6. Persist queue order in a file
  7. Handle a missing file explicitly
  8. File statistics as a report class
  9. Count values above a threshold · file workflow
  10. Sum only even values · file workflow
  11. Second distinct largest value · file workflow
  12. Remove duplicate neighbours · file workflow
  13. Remove all duplicates after sorting · file workflow
  14. Rotate left by two positions · file workflow
  15. Rotate right by one position · file workflow
  16. Insert at a checked index · file workflow
  17. Erase a selected position · file workflow
  18. Erase every matching value · file workflow
  19. Partition positive and negative values · file workflow
  20. Prefix sums · file workflow
  21. Suffix sums · file workflow
  22. Adjacent differences · file workflow
  23. Range sum from prefix totals · file workflow
  24. Moving average window · file workflow
  25. Largest contiguous subarray sum · file workflow
  26. First missing positive integer · file workflow
  27. Majority candidate with verification · file workflow
  28. Find a pair with a target sum · file workflow
  29. Two-pointer pair search · file workflow
  30. Selection-sort positions · file workflow
  31. Insertion-sort shifts · file workflow
  32. Binary search by hand · file workflow
  33. Lower-bound insertion index · file workflow
  34. Count a value in sorted data · file workflow
  35. Median after sorting · file workflow
  36. Reverse each pair · file workflow
  37. Swap the first and last halves · file workflow
  38. Check nondecreasing order · file workflow
  39. Count local peaks · file workflow
  40. Longest increasing contiguous run · file workflow
  41. Move zeros to the end · file workflow
  42. Replace negatives with zero · file workflow
  43. Clamp values to a range · file workflow
  44. Scale every element · file workflow
  45. Copy only passing marks · file workflow
  46. Index of the last occurrence · file workflow
  47. Count distinct values without sorting · file workflow
  48. Find all equal-index distances · file workflow
  49. Cumulative maximum · file workflow
  50. Cumulative minimum · file workflow
08Projects3 projects +
PLAN BEYOND THE CLASSROOM

Scope in Pakistan, the Gulf and abroad

Use these directions to plan your next steps. They are learning and portfolio suggestions, not a list of current vacancies or a guarantee of employment.

C++ OOP pathwayData-structure learning pathwayFurther application-development preparation
01

Pakistan

Build class-based projects that show reasoning, data handling and maintainability. This can strengthen further study and technical portfolio discussions.

02

Gulf countries

Explore specialised software directions after adding real project and domain experience. Requirements for professional C++ roles vary considerably.

03

Other countries & remote work

OOP and data structures support broader software engineering. A strong portfolio, testing and relevant system knowledge matter beyond completing course exercises.

INTERNATIONAL PAY CONTEXT · USD / HOUR

Software Developers — United States

A broader occupation to research as you build experience. These figures describe U.S. employees across experience levels, not earnings after this course.

2025 U.S. hourly wages · source: BLS via O*NET
10th percentileMedian90th percentile
$39.64/hr$65.38/hr$103.21/hr

Percentiles show points in a wage distribution; they are not minimum or maximum offers. This is not beginner pay or a freelance quote. Pakistan and Gulf offers depend on the actual role, experience and package; no universal local USD/hour rate is claimed.

View the original occupation wage table ↗Source checked 2 November 2026.

For current Gulf-market research, see the Hays GCC Salary Guide 2026. Confirm the specific employer’s duties, required experience and entry conditions before relying on an offer.

CLEAR ANSWERS BEFORE YOU APPLY

Frequently asked questions

Should I complete Level 1 first?

Yes, or have equivalent knowledge of C++ variables, loops, arrays and functions.

Does this cover files, stacks and queues?

Yes. Those topics connect class design to persistent application examples. Run C++ locally for actual execution.

Which learning modes can I request?

Self-study, tutor support, onsite classes near GPO in Sadar, Rawalpindi Cantt, and online classes via Google Meet. Admin confirms available guided class slots before payment.

What is the course fee?

PKR 20,000 is the listed total course fee. Confirm the agreed fee, duration, learning mode and schedule with Cody.pk before paying.

What can I see before enrolling?

The course description, curriculum outline, fees and public guides are available to browse. The editor, exercises and study materials require the relevant active enrollment, including any free place assigned by admin.

How do I apply and get access?

Apply with this course selected, your name, email and WhatsApp number. Choose your mode and, where required, an available class slot. Submit payment details through checkout. Access opens after admin verifies the payment and activates the enrollment.

Can I download study materials?

The student workspace shows materials for your enrolled course. Course-bundle downloads are available when admin enables download permission for your enrollment.

Are the international hourly figures a job or income promise?

No. They are 2025 U.S. employee occupation statistics, covering different experience levels. They are not beginner pay, freelance billing rates, Pakistan or Gulf offers, or a prediction of income after this course.

ASK. SHARE. LEARN TOGETHER.

Course conversation

Questions and learning experiences about C++ Level 2 · OOP.

Community comments

Start a useful conversation.

No published comments yet. Ask about the course or share your learning experience.

Join the conversation

Keep it helpful and relevant. Comments appear after admin review. Your public name and comment may be displayed; your account email is visible only to admin. Please leave out phone numbers and private details.

YOUR NEXT STEP

Choose your pace. Make a start.

PKR 20,000Listed total course fee

Request self-study, tutor support, onsite classes or online Google Meet classes. Guided modes use admin-managed class slots. Confirm your agreed fee and schedule before payment.

  1. ApplySend your name, email, WhatsApp and learning goals.
  2. Confirm the planAgree your mode, available slot and fee with Cody.pk.
  3. Pay & startPayment verification and activation open the enrolled course.

Manual Easypaisa: Rashid Irshad · 03145366708. Raast ID: 03145366708. Use the course checkout to confirm the amount and submit your payment reference for verification.

YOUR NEXT STEP

Keep building your skills

Explore a related path, read a practical guide or discuss your next course.

Explore all pages
WhatsApp
My learning ↗