Search:

Type: Posts; User: skan

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    4,494

    OK, thanks. And what happens if the input is...

    OK, thanks. And what happens if the input is bigger than the size that can be fit in memory?
  2. Replies
    4
    Views
    1,699

    Good explanation

    Good explanation
  3. Replies
    4
    Views
    4,494

    Do we still fgets to be safe?

    Hello

    Some time ago I read Effective C++ and it advises programmers to use fgets() instead of get because you can specify how many characters to read, and thus avoid memory corruption if the...
  4. Replies
    4
    Views
    1,699

    Using binary write to save a struct

    Hi


    I'm still reading Prata's book and there is a section where they explain how to write files using the binary mode.


    They define a struct
  5. Replies
    6
    Views
    1,636

    Thanks I didn't understand why it can accept...

    Thanks

    I didn't understand why it can accept an array directly but not a string. I guess the reason is the string is a new class
  6. Replies
    6
    Views
    1,636

    Hi Then the reason is that argv is a pointer...

    Hi

    Then the reason is that argv is a pointer to an array of characters instead of a string. ?
  7. Replies
    6
    Views
    1,636

    Doubt c_str() on example at Prata's book.

    Hello


    I'm reading Prata's C++ Primer Plus 6th and I have a doubt about an example code for I/O.
    On page 1117 there is a code that, among other things, says:



    string filename;
    cout <<...
  8. Replies
    4
    Views
    2,437

    OK, thanks I've seen that there is a model view...

    OK, thanks I've seen that there is a model view controller, presenter and viewmodel, I didn't know that names before. I'll read about it.

    regards
  9. Replies
    4
    Views
    2,437

    Hello and thank you for your explanation. Do you...

    Hello and thank you for your explanation.
    Do you know of any document (web site or book chapter) describing more in detail how to do it?
    What method would you use to communicate the different parts...
  10. Replies
    4
    Views
    2,437

    best practices to make an app with a GUI?

    Hello


    What's the best way to create a complex application with a user interface?


    Is it advised to create the GUI as the main part of the application, and let that GUI call other...
Results 1 to 10 of 10