1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

How to read file names in a directory as string?

Discussion in 'C' started by ahrouhi, Jul 6, 2011.

  1. ahrouhi

    ahrouhi New Member

    Thanks, yes sprintf does work for me.
     
  2. ahrouhi

    ahrouhi New Member

    Below is a very simple line of codes in C which tries to open a file which does not exist in the path. The compiler does not rises any error but i have an strange error in run time as can be seen in below image. whats the reason?
    [​IMG]
     

Share This Page