Search for tag: "programming"

Vector, Part 4) Create empty vector in C++

+16 More
From  Lane Schwartz 6 plays 0  

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  

Command line arguments in C++

#include <iostream> int main(int argc, char** argv) { for (int n{0}; n <= argc; n += 1) { std::cout << argv[n] << '\n'; } return 0; }

+19 More
From  Lane Schwartz 2 plays 0  

Basic for loop in C++

#include <iostream> int main() { for (int n{10}; n > 0; n = n - 1) { std::cout << n << "\n"; } }

+19 More
From  Lane Schwartz 1 plays 0  

Compiling C++

+19 More
From  Lane Schwartz 13 plays 0  

Hello world in C++

This video shows how to create, compile, and run a simple program in C++ that prints the message "Hello, world"

+21 More
From  Lane Schwartz 19 plays 0  

Simplest C++ program

This video describes the simplest possible C++ program.

+23 More
From  Lane Schwartz 6 plays 0