Compare commits
2 Commits
a2d1364b09
...
dd4d499ae4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dd4d499ae4 | ||
| e7ac62ab1b |
@@ -1,7 +0,0 @@
|
||||
#include <stdio.h>
|
||||
#include "foo.h"
|
||||
|
||||
int foo() {
|
||||
printf("I am foo\n");
|
||||
return 0;
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
#ifndef FOO_H
|
||||
#define FOO_H
|
||||
|
||||
int foo();
|
||||
|
||||
#endif
|
||||
@@ -1,11 +1,8 @@
|
||||
#include "myprint.h"
|
||||
#include <stdio.h>
|
||||
|
||||
int main() {
|
||||
|
||||
myprint();
|
||||
printf("hello world year 2025 !\n");
|
||||
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
#include <stdio.h>
|
||||
#include "myprint.h"
|
||||
|
||||
int myprint() {
|
||||
|
||||
int a = 10, b = 20;
|
||||
|
||||
printf("a = %d, b = %d\n", a, b);
|
||||
printf("a = %d, b = %d\n", b, a);
|
||||
printf("%d%d\n", a, b);
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
#ifndef MYPRINT_H
|
||||
#define MYPRINT_H
|
||||
|
||||
int myprint();
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user