Search for tag: "parentheses"

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) { …

From  Lane Schwartz 6 plays 0  

Simplest C++ program - parts of the function

Every function has four parts: return type name list of arguments body int main() { return 0;}

From  Lane Schwartz 12 plays 0  

Simplest C++ program

int main() { return 0; }

From  Lane Schwartz 23 plays 0  

Simplest C++ program

From  Lane Schwartz 15 plays 0  

Simplest C++ program

This video describes the simplest possible C++ program.

From  Lane Schwartz 6 plays 0