problem of read data from file.txt read and store data

hello,

i 'm new in cuda programming i would like in my code cuda (.cu)

read data from an others file ( data.txt )

it 's possible or no ,
the part of code who read data is in C ,

// includes, system
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#define SI 24
#define NBRE 10
float *vector;
int main(int argc, char **argv) {

FILE folder =NULL;
vector =(float
)malloc(SISIsizeof(float));
fichier=fopen(“data.txt”,“r”);

if(folder !=NULL)
{
for (int i=0 ; i<SI*SI ; i++){
fscanf(fichier,"%f\t",&vector [i]);
fscanf(fichier,"\r\n");
}

// fclose(folder) ;

}

//display
for (int i=0;i<SI*SI;i++)
printf(“b[%d]=%f”,i,vector [i]);

}

when i display the result i find just 0 0 0 0 0…

so if somebody can help me please.?