This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int x=5; | |
int main() | |
{ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
void f(int x=0,int y=0,int z=0); | |
int main() | |
{ | |
f(2); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
/* | |
int f(int x,int y=1,int z); | |
it will generate error | |
when default argument starts it must be to the end | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
void Swap (int& x,int& y); | |
int main() | |
{ | |
int a=3,b=4; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
class Stack | |
{ | |
int* ar; | |
int Size; | |
int tos; | |
public: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
day 1 | |
mysql | |
*/ | |
select database(); | |
show databases; | |
create database world; | |
show databases; | |
use world; | |
select database(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function print(obj) | |
{ | |
console.log(obj); | |
} | |
function type(obj){ | |
console.log(typeof(obj)); | |
} | |
////for client side |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Check curse words | |
API : http://www.wdylike.appspot.com/?q=shot | |
This is a cool api to check the profane words in contents. | |
It could be used to scan emails, documents and even public comments. | |
========================================= | |
word like "shot" | |
http://www.wdylike.appspot.com/?q=shot | |
or string like "nice shot" | |
http://www.wdylike.appspot.com/?q=nice shot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Icons Website : | |
https://www.flaticon.com | |
https://fontawesome.com/ | |
http://perfecticons.com/ | |
https://thenounproject.com/ | |
Free Fonts : | |
https://fonts.google.com | |
Free Images : | |
https://unsplash.com/collections | |
https://picjumbo.com/ |
OlderNewer