05:44duration 5 minutes 44 seconds
Vector, Part 2) Iterate over contents of vector…
Vector, Part 2) Iterate over contents of vector in C++
#include <iostream>#include <vector> using std::cout; using std::vector; int main() { auto my_data = vector<int>{17, 25, -300, 14}; for (auto item : my_data) { …
03:55duration 3 minutes 55 seconds
Simplest C++ program - parts of the function
Every function has four parts: return type name list of arguments body int main() { return 0;}
01:51duration 1 minute 51 seconds
Simplest C++ program
int main() { return 0; }
06:42duration 6 minutes 42 seconds
11:08duration 11 minutes 8 seconds
This video describes the simplest possible C++ program.