Skip to content

Instantly share code, notes, and snippets.

View AhmedHelalAhmed's full-sized avatar
📱
Learning and developing

Ahmed Helal AhmedHelalAhmed

📱
Learning and developing
View GitHub Profile
@AhmedHelalAhmed
AhmedHelalAhmed / scopeoperateor.cpp
Created December 2, 2017 10:58
scope operateor
#include <iostream>
using namespace std;
int x=5;
int main()
{
@AhmedHelalAhmed
AhmedHelalAhmed / defaultargument.cpp
Created December 2, 2017 11:05
default argument in C++
#include <iostream>
using namespace std;
void f(int x=0,int y=0,int z=0);
int main()
{
f(2);
@AhmedHelalAhmed
AhmedHelalAhmed / defaultargumentcondition.cpp
Created December 2, 2017 11:12
default argument condition
#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
*/
@AhmedHelalAhmed
AhmedHelalAhmed / reftoptr.cpp
Created December 2, 2017 11:57
reference to pointer
#include <iostream>
using namespace std;
int main()
{
@AhmedHelalAhmed
AhmedHelalAhmed / Swap.cpp
Created December 2, 2017 12:04
swap by reference
#include <iostream>
using namespace std;
void Swap (int& x,int& y);
int main()
{
int a=3,b=4;
#include <iostream>
using namespace std;
class Stack
{
int* ar;
int Size;
int tos;
public:
@AhmedHelalAhmed
AhmedHelalAhmed / day1.sql
Last active December 12, 2017 20:27
mysql - day1
/*
day 1
mysql
*/
select database();
show databases;
create database world;
show databases;
use world;
select database();
@AhmedHelalAhmed
AhmedHelalAhmed / summary.js
Created January 27, 2018 21:52
javascript summary
function print(obj)
{
console.log(obj);
}
function type(obj){
console.log(typeof(obj));
}
////for client side
@AhmedHelalAhmed
AhmedHelalAhmed / API curse words.txt
Last active March 18, 2018 17:42
API for Check curse words
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
@AhmedHelalAhmed
AhmedHelalAhmed / UIUX.txt
Created March 18, 2018 18:02
UI UX tools
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/