foo örneği yazıldı
This commit is contained in:
		
							
								
								
									
										7
									
								
								c-basic/foo.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								c-basic/foo.c
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					#include <stdio.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					int foo() {
 | 
				
			||||||
 | 
					    printf("I am foo\n");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    return 0; 
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										6
									
								
								c-basic/foo.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								c-basic/foo.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					#ifndef FOO_H
 | 
				
			||||||
 | 
					#define FOO_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					int foo();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
@@ -1,8 +1,8 @@
 | 
				
			|||||||
#include <stdio.h>
 | 
					#include <stdio.h>
 | 
				
			||||||
 | 
					#include "foo.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
int main() {
 | 
					int main() {
 | 
				
			||||||
 | 
					    foo();
 | 
				
			||||||
  printf("hello world year 2025 !\n");
 | 
					    
 | 
				
			||||||
 | 
					    return 0;
 | 
				
			||||||
  return 0;
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user