Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main (){
- FILE *fp = 0;
- int x = 0;
- int y = 0;
- fp = fopen("C:\\Users\\Andreas\\Documents\\PROG\\ls.csv", "r");
- if (NULL != fp) {
- while (!feof(fp)) {
- fscanf(fp, "%i:%i\n", &x, &y);
- printf("%i: %i\n", x, y);
- }
- fclose(fp);
- }
- }
- return 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement