22

My programming teacher told me we need to solve problems using functions. Theoretically, main is a function .-.

Comments
  • 1
    Main is a constructor smartass
  • 0
    Well, he said function*s* (Plural), which means that you need at least one other function besides main
  • 0
    @Krokoklemme Shhhh. Let him do everything on the main thread.
  • 0
    @zemaits I never said anything about threads, but ok
  • 0
    @Krokoklemme we have a dual where we live, so i'd technically need at least 3, since he used plural.
  • 2
    If you want to technically use functions without actually writing them, have your code write C code, compile it with gcc, and run the resulting binaries.

    Or, you know, use inline assembly. I did that in my 2nd year computer science class 😊 Which pissed off my teacher to no end. Semi-related: my nickname was "ASM" for a few years...
Add Comment