User Profile

Collapse

Profile Sidebar

Collapse
priyanksmith
priyanksmith
Last Activity: Dec 15 '15, 05:17 AM
Joined: Dec 3 '15
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • priyanksmith
    started a topic Array of File Pointers
    in C

    Array of File Pointers

    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
    See more | Go to post

  • priyanksmith
    replied to Pointers
    in C
    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
    See more | Go to post

    Leave a comment:


  • priyanksmith
    replied to Pointers
    in C
    How do i do that? :-(
    See more | Go to post

    Leave a comment:


  • priyanksmith
    replied to Pointers
    in C
    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);
    See more | Go to post

    Leave a comment:


  • priyanksmith
    started a topic Pointers
    in C

    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++;

    ...
    See more | Go to post
No activity results to display
Show More
Working...