another_one
This commit is contained in:
@@ -1,29 +1,29 @@
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
|
||||
FILE *fp;
|
||||
char c;
|
||||
int a;
|
||||
|
||||
int main(){
|
||||
|
||||
fp = fopen("test.txt", "r");
|
||||
while (!feof(fp)){
|
||||
c = fgetc(fp);
|
||||
printf("%c", c);
|
||||
}
|
||||
fclose(fp);
|
||||
|
||||
printf("\nSEPARATOR\n\n");
|
||||
|
||||
for (uint8_t i = 0;i<=10;i++){
|
||||
printf("hello %i times\n", i);
|
||||
}
|
||||
|
||||
printf("\nSEPARATOR\n\n");
|
||||
|
||||
printf("Zadajte integer:");
|
||||
scanf("%d", &a);
|
||||
printf("Zadali ste %d.", a);
|
||||
return 0;
|
||||
}
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
|
||||
FILE *fp;
|
||||
char c;
|
||||
int a;
|
||||
|
||||
int main(){
|
||||
|
||||
fp = fopen("test.txt", "r");
|
||||
while (!feof(fp)){
|
||||
c = fgetc(fp);
|
||||
printf("%c", c);
|
||||
}
|
||||
fclose(fp);
|
||||
|
||||
printf("\nSEPARATOR\n\n");
|
||||
|
||||
for (uint8_t i = 0;i<=10;i++){
|
||||
printf("hello %i times\n", i);
|
||||
}
|
||||
|
||||
printf("\nSEPARATOR\n\n");
|
||||
|
||||
printf("Zadajte integer:");
|
||||
scanf("%d", &a);
|
||||
printf("Zadali ste %d.", a);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user