Search for tag: "braces"

Vector, Part 1) Create non-empty vector in C++

#include <vector> using std::vector; int main() { auto my_data = vector<int>{17, 25, -300, 14}; return 0; }

+19 More
From  Lane Schwartz 10 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;}

+17 More
From  Lane Schwartz 12 plays 0  

Simplest C++ program

int main() { return 0; }

+14 More
From  Lane Schwartz 23 plays 0  

Simplest C++ program

+19 More
From  Lane Schwartz 1 plays 0  

Simplest C++ program

+19 More
From  Lane Schwartz 15 plays 0  

Simplest C++ program

This video describes the simplest possible C++ program.

+23 More
From  Lane Schwartz 6 plays 0