Search:

Type: Posts; User: sharp_wan

Search: Search took 0.00 seconds.

  1. Thread: memcpy

    by sharp_wan
    Replies
    19
    Views
    8,108

    yep, thats exacly what I mean. been searching for...

    yep, thats exacly what I mean. been searching for answer for like 3 days now.
  2. Thread: memcpy

    by sharp_wan
    Replies
    19
    Views
    8,108

    I know what you mean, believe me. i've read the...

    I know what you mean, believe me. i've read the documentation and stuffs. but my question is how to get the JPEG file or any file without using fopen. I know fopen has command "a" to open the already...
  3. Thread: memcpy

    by sharp_wan
    Replies
    19
    Views
    8,108

    ah, thats explain why memcpy not a good choice...

    ah, thats explain why memcpy not a good choice for this task...hmm...so fread should be able to read a JPEG file isn't it? How to read it though?




    FILE* pFile;
    char * buffer;
    long lSize; ...
  4. Thread: memcpy

    by sharp_wan
    Replies
    19
    Views
    8,108

    I have read the documentation but i still need...

    I have read the documentation but i still need some example, such as,

    let say i want to memcpy the JPEG picture in My Documents, and i want to put the JPEG into a buffer[200], what should i put in...
  5. Thread: memcpy

    by sharp_wan
    Replies
    19
    Views
    8,108

    I see. So, is there any suggestion of how i can...

    I see. So, is there any suggestion of how i can read any file from the computer and put it into variable or array? which one the best? My idea now is to use fread function and then put this into a...
  6. Thread: memcpy

    by sharp_wan
    Replies
    19
    Views
    8,108

    memcpy

    Regarding the fucntion below:


    void * memcpy ( void * destination, const void * source, size_t num );

    for the source, can I use other than string to be copied? As example JPEG file? or TEXT...
  7. Replies
    3
    Views
    1,518

    Ow i see, so this only possible for windows...

    Ow i see, so this only possible for windows right? Sorry I forgot to mention that I'm using Linux Fedora 15.
  8. Replies
    3
    Views
    1,518

    file browsing

    Hi all,
    I have a problem where i want to create a program to read a file from computer and i want to read that file. I've figure out how to read the file using fread funtion. Another problem however...
Results 1 to 8 of 8