Here's my working code:
#include <stdio.h>
int main() {
FILE *listings, *file;
listings = fopen("homelistings.csv", "r");
while(!feof(listings)) {
Type: Posts; User: KoRn KloWn
Here's my working code:
#include <stdio.h>
int main() {
FILE *listings, *file;
listings = fopen("homelistings.csv", "r");
while(!feof(listings)) {
Oh, geeze, I feel REALLY dumb now... I didn't close any of my files -_- I'm pretty new to C, but I know some Python, and I knew in Python you have to close the files you open, I should have realized...
I'm having a problem with a homework assignment, we have to write a program that opens a csv file with address information, and then it creates a new file for each zip code, and writes the addresses...