Notes I took while learning C++.
std::endl; -> No escape code | Adds a new line and flushes the buffer
std::cout << "\n"; -> New line | Recommended in most cases instead of "std::endl"
std::cout << "\t"; -> Horizontal Tab| function ChangeStatus(status) { | |
| const jsonData = { | |
| "status": status | |
| }; | |
| fetch("https://discord.com/api/v10/users/@me/settings", { | |
| method: 'PATCH', | |
| headers: { | |
| 'Authorization': "MTEzNDU4NDk3NTc0OTA0MjM1OA.GQW9bM.LA_eT1tz3MSJqLraT755JAyCmPNAGGZv2xLJP4", | |
| 'Content-Type': 'application/json' |