Hi all
I want to create a an array of file pointers. Can any help me on this, with an example of how to read and write each file from the array.
PLease Help.
Thanks in advance
User Profile
Collapse
-
Array of File Pointers
-
I checked...
if (F_InPntr == NULL)
{
printf("not open\n");
return -1 ;
}
else
printf("File open\n");
Mx_Pntr.exe: Native' has exited with code -1 (0xffffffff).
File not open:(
What do i do now?
Thanks in advance -
thank you so much....
wen i am trying to execute i am getting error saying debug assertion failed..Express ion!=NULL
int retval=0;
_VALIDATE_RETUR N((stream != NULL), EINVAL, EOF);
_VALIDATE_RETUR N((format != NULL), EINVAL, EOF);Leave a comment:
-
Pointers
I am new to C...
#define block_size 16 // data block size
typedef int int32;
typedef int32 block[block_size];
block MX_INP[6] ;
block *IN_PNTR = MX_INP ;
for(l=0;l<6;l++ )
{
for(i=0;i<16;i+ +)
fscanf(FL_InPnt r, "%x", &IN_FL[i]);
for(i=0; i<16; i++)
{
MX_INP[l][i] = IN_FL[i];
}
l++;
...
No activity results to display
Show More
Leave a comment: