What do you want to save?
Add Code snippet
New code examples in category C++
-
Awgiedawgie 2022-03-12 02:30:03
prims c++
#include <iostream> #include <vector> #include <queue> #include <functional> #include <utility> using namespace std; const int MAX = 1e4 + 5; typedef pair<long long, int> PII; bool marked[MAX]; vector <PII> adj[M... Add solution -
Awgiedawgie 2022-03-11 12:45:03
converting char to int in c++
int x = (int)character - 48; Add solution -
-
Awgiedawgie 2022-03-10 12:20:45
what is difffrence between s.length() and s.size()
The size() function is consistent with other STL containers (like vector, map, etc.) and length() is consistent with most peoples intuitive notion of character strings like a word, sentence or paragraph. We say a paragraph'ss length not its size, so len... Add solution -
Awgiedawgie 2022-03-10 00:05:02
c++ two array find same values
#include <iostream> #include <cstdlib> #include <conio.h> using namespace std; int main() { int p[4] ,p1[4], num = 0 , p2[] = {}; cout<<"Enter 4 numbers of the first array "; for(int a=0;a<4;a++){ cin>>p[a]; ... Add solution -
Awgiedawgie 2022-03-09 15:10:06
android emulator wifi connected without internet
May be a VPN problem, disconnect from it On Windows Open Network and Sharing Center and click on current Connection Click on Properties Double Click on Internet Protocol Version 4 (TCP/IPv4) Set the Preferred and Alternate DNS servers as (Screenshot bel... Add solution
Best helpers
Tushar Diwan
+5
Pinakin
+5
I-love-php
+5
Sinow
+5
Saforrest
+5
Mastersulm
+5
Adam Clowes
+5
Any Mouse
+5