Search:

Type: Posts; User: marcelo.br

Search: Search took 0.01 seconds.

  1. Thanks for the info, they are very useful!

    Thanks for the info, they are very useful!
  2. I'm sorry, that was a lack of attention! I know...

    I'm sorry, that was a lack of attention! I know the difference between C and C ++ and I believed I was even posting to the wxWidgets forum itself. Thanks for correcting by moving the topic!
  3. Trying as little code as possible, doubt!

    Why put the word "Virtual" If it works without it?
    What does it mean "Virtual" ?

    #include <wx/app.h>
    #include <wx/frame.h>

    class FrmMain: public wxFrame {
    public:
    FrmMain():...
  4. I believe I could understand your example now. It...

    I believe I could understand your example now. It helped a lot!

    size_t size = sizeof List / sizeof List[0];
    printf("%d\n", size);
  5. Firstly thank you very much for your reply. I...

    Firstly thank you very much for your reply. I liked the idea you gave! It's just that I believed the NULL or \0 element already existed in Struct. I have tried many times unsuccessfully to locate...
  6. How do I count the records of a Struct? (Beginner)

    #include <stdio.h>

    struct DbNames {
    char Names[5];
    };

    int main() {
    struct DbNames List[] = { {"A"}, {"B"}, {"C"} };
    }
  7. Replies
    18
    Views
    833

    I just fixed the word Buffer. Here compiled in...

    I just fixed the word Buffer.
    Here compiled in trouble. I use Linux, Slackware64-Current.
    Thanks for the code, information is never too much.:rolleyes:
  8. Replies
    18
    Views
    833

    Thanks

    Thank you very much for the warning and for the informative link you gave.:biggrin:
  9. Beautiful Phrase!:)

    Beautiful Phrase!:)
  10. Congratulations!

    Congratulations for the initiative! Continue with the project because that way you help others who wish to learn more!
    I have tested here, compiled and created a text and it worked!:)
  11. Replies
    18
    Views
    833

    Thanks!

    Thank you very much! I did not know snprintf.
    With that I learned a little more!:)
  12. Replies
    18
    Views
    833

    Help with Strings

    I made the code below to join a printf string, because I will use this variable later!
    I would like to know if there is a better way to do what I did below!


    #include <stdio.h>
    #include...
Results 1 to 12 of 12