stl in c++ code example

Example 1: PRINT IN C ++

#include <iostream>
std::cout << someString << "\n";

Example 2: STL c++

Good Website to learn:
https://en.cppreference.com/w/cpp/container
https://www.cplusplus.com/reference/stl/
https://www.geeksforgeeks.org/the-c-standard-template-library-stl/

Example 3: stl import c++

#include <bits/stdc++.h>

Example 4: strcmp c++

int strcmp ( const char * str1, const char * str2 );

// returning value | indicates
// <0	the first character that does not match has a lower value in ptr1 than in ptr2
// 0	the contents of both strings are equal
// >0	the first character that does not match has a greater value in ptr1 than in ptr2

Tags:

Cpp Example