add spec for building with a header file
This commit is contained in:
1 parent
7983c03a0b
commit
e66422f32f
3 files changed
+22
No files matched your search
@@ -0,0 +1,7 @@
|
||||
#include <stdio.h>
|
||||
#include "header.h"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
printf("The value is %d\n", VALUE);
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
#ifndef HEADER_H
|
||||
#define HEADER_H
|
||||
|
||||
#define VALUE 33
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user