i changed it to this but it still doesn't work and i don't get any error messages
int importFile(const char* filename, double content[], int len)
{
FILE* fp = fopen(filename, "r");
...
Type: Posts; User: qasw
i changed it to this but it still doesn't work and i don't get any error messages
int importFile(const char* filename, double content[], int len)
{
FILE* fp = fopen(filename, "r");
...
int importFile(const char* filename, double content[], int len)
{
FILE* fp = fopen(filename, "r");
double input;
int i;
if(fp == NULL)
{
printf("ERROR");
How do you create a game where two players each draw a card, where the card deck is created by an array?
Edit
hi i was wondering how to import a .csv file and save it to a memory buffer of doubles and print the contents of the .cvs file