CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: madmaze

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,236

    Re: fread/fwrite puzzel

    hmm can i write binaries with fprintf()?

    this is my save function, at the moment its just "w" and not "wb"


    //SAVE NAME DICTIONARY
    FILE *fp2;...
  2. Replies
    6
    Views
    1,236

    Re: fread/fwrite puzzel

    ohh yea sorry, i wasnt really thinking.
    and its a std::string
  3. Replies
    6
    Views
    1,236

    Re: fread/fwrite puzzel

    so something like this?


    int x=0;
    FILE *fp2;
    fp2=fopen("/something/BIN/NCF_MASSIVE_TEST.dict", "wb");
    while(x<finalcnt)
    {
    fp2<<files2[x]<<endl;
    x++;
  4. Replies
    6
    Views
    1,236

    fread/fwrite puzzel

    Hello everyone,
    I have a problem!

    I have function A and B

    and i execute this in A:


    FILE *fp2;
    fp2=fopen("/something/BIN/NCF_MASSIVE_TEST.dict", "wb");
  5. Replies
    4
    Views
    2,934

    Re: passing pointers of array to function

    not sure what i was thinking last night.. simply passing by ref is the easiest..
    thanks for the responses =)
  6. Replies
    4
    Views
    2,934

    passing pointers of array to function

    Hello everyone,
    ive been googleing this all day and havent found an answer yet.
    i want to create an array in int Main() and then pass a pointer referencing the
    array to a function to fill it. ...
Results 1 to 6 of 6


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)