Mode:
Duration:
1
2
3
4
5
6
7
8
#include <iostream>
#include <tuple>
int main() {
auto t = std::make_tuple("Alice", 25, 3.8);
std::cout << std::get<0>(t);
return 0;
}Coding works best on desktop or with an external keyboard.
#include <iostream>
#include <tuple>
int main() {
auto t = std::make_tuple("Alice", 25, 3.8);
std::cout << std::get<0>(t);
return 0;
}Coding works best on desktop or with an external keyboard.
Uses std::tuple to bundle multiple values.
#include <iostream>
#include <tuple>
int main() {
auto t = std::make_tuple("Alice", 25, 3.8);
std::cout << std::get<0>(t);
return 0;
}General-purpose, multi-paradigm programming language extending C with object-oriented features, strong type safety, and zero-cost abstractions for building high-performance applications.
Origin & Creator
Created by Bjarne Stroustrup at Bell Labs, first released in 1985. Originated as 'C with Classes' (1979), later renamed to C++ (1983). Evolved through major standards: C++98, C++03, C++11, C++14, C++17, C++20, C++23 - each introducing features like templates, STL, auto, lambdas, modules, and concepts.
Industrial Note
Dominates game engines, AAA games, high-frequency trading platforms, large-scale systems, real-time simulations, 3D engines, embedded systems, and performance-critical enterprise software.