New Autonomous Style

We will be trying out a new style of autonomous suggested to us by Mr. Corey Porter.  Often in coding, developers will write functions in a header file and execute them in a source file, like so:

//headerEx.h
void print_hello() {
   printf("Hello");
}
//headerEx.c
#include <headerEx.h>
int main() {
  print_hello();
}

And it’ll have output like so:

$ ./headerEx
Hello

We plan to do some of our autonomouses just like this so that we don’t have to redefine every forward or backward function for every autonomous; though when we need to redefine, we only have to do it once.

Leave a Reply

Your email address will not be published.