From the class
DO NOT let main do all the work. Take all the lines out of main and make functions. The code will look a lot better to read.
When writing a function,
static *Output_Datatype Name_of_Function* (para1, para2)
You can create function to break from double for loop
Self taught / Online Lecture
Array
*datatype* array = new *type*[*size*]
or
*datatype* *array_name* = new *type*[]{*values*}
삼항연산자
*variable* = ( 조건문 ) ? *value_to_put_if_true* : *value_to_put_if_false*
Using Console (iTerm in my case)