Search for tag: "body"
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
8 plays
0
|
|
Basic for loop in C++#include <iostream> int main() { for (int n{10}; n > 0; n = n - 1) { std::cout << n << "\n"; } }
From Lane Schwartz
1 plays
0
|
|
Simplest C++ program - parts of the functionEvery function has four parts: return type name list of arguments body int main() { return 0;}
From Lane Schwartz
12 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"
From Lane Schwartz
19 plays
0
|
|
Physiological Ecology of HibernationA look into the hibernation process of arctic ground squirrels with biology and wildlife student, Sara Wilbur. See a live ground squirrel slowly emerge from hibernation, including a special look…
From Mika McCrary
763 plays
0
|