int main()
{
int i=0;
Shm_Init();
printf("\nThe no. of processes are %d\n",Data.No_Of_Processes);
printf("\nProcesses Name ProcessId \n");
while(i<Data.No_Of_Processes)
printf("%s %d\n",Data.Mesg->Process_Name,Data.Mesg->Prc_ID);
}
there are a lot of errors like
incompatible type conversion, illegal initialization , pointer required on the left side... etc etc,,,,,,
i have tried everythin but in vain.....
plz help me out......
yes thanx man........
i got to knw that........
but why does
FILE * fd_N,*fd_PES;
//files are opened.........
while(!feof(fd_PES)) <- segmentation fault
{
k=0;
*str='\0';
while(!feof(fd_PES)) <- segmentation fault
*str++=fgetc(fd_PES);
.
.
.
.
.
..
.
.
give me segmentation fault ....??
i would really appreciate any help right now........