Skip to content

Instantly share code, notes, and snippets.

View sucremad's full-sized avatar
🕷️

nop sucremad

🕷️
View GitHub Profile
@sucremad
sucremad / Fundamentals.md
Last active July 8, 2021 21:14
C++ Fundamentals Notes

Fundamentals of C++

#include <iostream>


using namespace std;

// DECLARING FUNCTIONS  
@sucremad
sucremad / callcon.md
Last active November 19, 2021 12:28
Function Call Conventions

Most Common Calling Conventions

Most commons are cdecl, stdcall, fastcall

In function calls, parameters are pushed onto the stack from right to left.

Example Function Pseudo Code

int func(int x, int y, int z, int m, int k);
 
int a, b, c, d, e, ret;