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

Search:

Type: Posts; User: wsad597

Search: Search took 0.02 seconds.

  1. Replies
    7
    Views
    10,319

    Re: Pointers to functions in arrays

    Whoa!
    Okay, thats really interesting. Ya that is probably a more straightforward solution.

    Thank you.
  2. Replies
    7
    Views
    10,319

    Re: Pointers to functions in arrays

    hmmm.
    std::function?
    I cant seem to find an exact definition or use on the internet. Does it have to do with templates?
    Or is it just a simple function used in main on the class?
    basically: is...
  3. Replies
    7
    Views
    10,319

    Re: Pointers to functions in arrays

    This is extremely helpful.
    Just learned about the this pointer.
    I'm going to have to do a bit more reading.

    Thank you for such a thorough example.
  4. Replies
    7
    Views
    10,319

    Pointers to functions in arrays

    Hey so I'm experimenting with pointers to function and using them to call a desired function based on the number given.
    I have tried several things but none of them seem to work.

    What I want to...
  5. Re: C++ using fstream to calculate average and standard deviation

    Oh! Well that makes sense. I guess I was thinking it was more of a variable and less of a flag.
    Thank you so much.
  6. Re: C++ using fstream to calculate average and standard deviation

    Alright. Thanks for the pro-tip.

    As I said I'm new to this so I guess it didn't cross my mind that that was possible.

    Makes more sense now.


    Thanks for formatting it for my by the way.
  7. Re: C++ using fstream to calculate average and standard deviation

    Here it is with a code tag.






    //calculate average and standard deviation of a specified file and repeat as needed
    //
    //
  8. Re: C++ using fstream to calculate average and standard deviation

    ahhhhhh. Thank you.
  9. C++ using fstream to calculate average and standard deviation

    Hey, My first time using the forums.
    I have comments in my code to kind of explain what's going on but basically my main problem is it is not letting my close a file and then reopen it.(I FIGURED...
Results 1 to 9 of 9





Click Here to Expand Forum to Full Width

Featured