The cutest thing about ChatGPT is it seems so certain the answer is correct (it's not). I kept feeding it compiler errors and it kept apologizing for mistakes and generating new versions (6 so far, neither compiles). It still is quite impressive that it keeps trying