UNIX

basic unix commands


unix concepts

shells vs. machines

there are two wildcards: * and ?. ? takes the place of a single character in a filename/thing, and * takes the place of every single character after its position (ie mv ca? will move all things caa, cab, cac, cad... while mv ca* will move cat catb, catbd, cabdh, cabhsdfhsjf...)

you can access vim by using vim (filename). very exciting

here is g++ syntax (compiling, linking, renaming c++ files):

you can also use g++ [filename.cpp] as a shortcut but you will have to manually rename your resulting a.out file. running a.out alone means you might get weird leftover garbage junk nonsense


basic c++ program stuff

c++ program features

underflow refers to subtracting a number enough that it straight up turns into a bigger number. overflow returns to a tinier number.