Posts

Showing posts from February, 2021

C++ || STL || standard template libraries

Image
                                       C++ STL  1.      Pair :  Syntax :      pair <int,char> p1;     it creates a pair {2,'c'} like this.           pair <int,int> p2;     it creates a pair {2,3} like this .  Basic Code :  #include <bits/stdc++.h> using namespace std; int main() {     // cout<<"hello world\n";     pair <int,int> p1 = {1,2};     cout<<p1.first<< " "<< p1.second<<endl;          pair <int, pair<int ,char>> p2 = {1,{2,'c'}};     cout<<p2.first<<" "<<p2.second.first<<" "<<p2.second.second<<endl;          pair <int,int> arr[] = {{2,3},{4,5},{6,7}};     cout...
           ðŸŒžVocabulary🌞 1. WANE (VERB): (क्षीण होना):  decrease Synonyms: decline, diminish Antonyms: increase Example Sentence: About half-past eight the combat began to wane. 2. DEPLOY (VERB): (तैनात करना):  position Synonyms: station, post Antonyms: concentrate Example Sentence: Forces were deployed at strategic locations. 3. DISASTROUS (ADJECTIVE): (विनाशकारी):  bcatastrophic Synonyms: calamitous, cataclysmic Antonyms: fortunate Example Sentence: A disastrous fire swept through the museum. 4. OVERLOOK (VERB): (अनदेखी करना):  disregard Synonyms: neglect, ignore Antonyms: punish Example Sentence: She was more than ready to overlook his faults. 5. HUMANITARIAN (ADJECTIVE): (मानवतावादी):  compassionate Synonyms: humane, unselfish Antonyms: selfish Example Sentence: She has been recognized as a great humanitarian for her efforts to end hunger. 6. TORMENT (NOUN): (व्यथा):  agony Synonyms: suffering, torture Antonyms: pleasure E...