I can replace "line" 2 from any function, or source file by calling MESSAGE("My new stuff goes here").
Main.cpp - err, C
MESSAGE("Line 2 n stuff");
- myhead.h -
#include <myfuncs.h> //clearing screen, and force full screen
#define MESSAGE(x) clrscr(); printf("Line 1\n%s\nLine 3", x)
Is there a way to make the compiler automatically link all of your source files? Do you do it with a make file? Please excuse such a newbie of a question, but I want to put in the effort before hand, so once things get going, they roll faster. Modularization.
Sub source file
BTW, also excuse my huge include list - it came from another program...and I have alot of things happening right now.