[SPCA] Continue summary

This commit is contained in:
2026-01-06 10:52:34 +01:00
parent 74205e8cf0
commit 13e3210298
20 changed files with 79 additions and 9 deletions

View File

@@ -0,0 +1,28 @@
#include <stdio.h>
#include <stdlib.h>
#define FOO BAZ
#define BAR( x ) ( x + 3 )
#define SKIP_SPACES( p ) \
do { \
while ( p > 0 ) { p--; } \
} while ( 0 )
#define COMMAND( c ) { #c, c##_command } // Produces { "<val(c)>", "<val(c)>_command" }
#ifdef FOO // If macro is defined, ifndef for if not defined
#define COURSE "SPCA"
#else
#define COURSE "Systems Programming and Computer Architecture"
#endif
#if 1
#define OUT HELLO // if statement
#endif
int main( int argc, char *argv[] ) {
int i = 10;
SKIP_SPACES( i );
printf( "%s", COURSE );
return EXIT_SUCCESS;
}