Module 1 — C++ foundations · C++ Introduction
C++ Introduction
Programming · Explain → Code → Try → Output → Practice → Quiz
What you will learn
- Shares main with C
- Textbooks: cout; this lab: printf-style
- Not gcc on the server
What will you learn?
C++ appears in the same college labs as C, with extra tools for larger programs.
The core idea
C++ grew from C; a small program still starts at main, while textbooks show cout and cin from <iostream>. This Sharda LMS has no video; classroom C++ here is a printf-style subset of the same tiny interpreter used for C — not gcc, not a full ISO compiler, not iostream on the application server. Completing this course does not make you a C++ engineer.
Key points
- Shares main with C
- Textbooks: cout; this lab: printf-style
- Not gcc on the server
Example
A first lab may look like C: #include <stdio.h>, int main, printf. That is honest for this classroom, not a claim that gcc is installed.
#include <stdio.h>
int main() {
printf("hello");
return 0;
}
Try this
- Name two things this classroom C++ is not.
Practice
Name two things this classroom C++ is not.
Question 1
Sharda classroom C++ is…
Summary
Same small runner as C. No video in this LMS.
Summary
Same small runner as C. No video in this LMS.

