-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path0notes.txt
More file actions
36 lines (30 loc) · 981 Bytes
/
Copy path0notes.txt
File metadata and controls
36 lines (30 loc) · 981 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
-C++ Template: The Complete Guide — David Vandevoorde,
Nicolai Josuttis, Doug Gregor
-The C++ Standard Library: A Tutorial and Reference — Nicolai Josuttis
-Modern C++ Design — Andrei Alexandrescu
#include<iostream>
#include<cmath>
#include<string>
#include<climits>
#include<float.h>
std :: cout use this everywhere or just standardize it at the be begining as
using std::cout
same for std::cin
using std::cin
this thing can be done at global level or at local level
even for strings u need to standardize as
std :: string string_name; --- syntax
if we want to use endl thn also we need to write it as std::endl
npos == -1 used for testing string or may be anything else too
// function or methods studied
// string.length()
// string.size()
// string.append()
// string.insert()
// string.erase()
// string.pop_back()
// string.replace()
// string.find()
// string.substr()
// string.find_first_of()
// string.compare();