Search:

Type: Posts; User: marcelo.br

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    627

    I understand your point. But this is a warning...

    I understand your point. But this is a warning window! And it needs to be shown on top of the Window that called it!

    So even if you have multiple monitors, it will only be displayed on the monitor...
  2. Replies
    5
    Views
    627

    Thanks for trying to help, but this calculation...

    Thanks for trying to help, but this calculation you didn't know how to do! left and top could never be ZERO because the main window would never be in this position!

    I managed to solve the problem...
  3. Replies
    5
    Views
    627

    Left and Top are already zero. I already do that...

    Left and Top are already zero. I already do that to calculate the Desktop Center!
    I calculate based on the Desktop Screen Size, but the Desktop screen does not change its x,y position.

    I need to...
  4. Replies
    5
    Views
    627

    Center Window inside another Window?

    I can calculate how to center a window on the desktop screen.

    But I'm not able to center a window inside another window! That's because the Window can be in any position on the Screen.

    Does...
  5. Thanks for responding! Thanks for Link, I'm sure...

    Thanks for responding! Thanks for Link, I'm sure it'll be useful, because I'll test it! It has old sources in Delphi and it would be nice to see them on Linux.

    But at the moment my focus is C and...
  6. Thanks for answering, but I have no questions to...

    Thanks for answering, but I have no questions to ask for wxWidgets, since what I informed about my discontent, there is no solution, nor did I report all the problems I encountered with this...
  7. I need Help choosing a Gui Designer. I'm very confused.

    I'll try to explain my problem, I hope you understand!
    I'm new to programming in C and C++. In the past I programmed in Delphi when I used windows!
    When I programmed in Delphi, the IDE provided...
  8. I know it's out of the focus of my question, but...

    I know it's out of the focus of my question, but I'd like to understand from the example you gave above why you used bits/stdc++.h

    Notice that in my example I used
    #include <iostream>
    #include...
  9. Yes, I am trying to understand, and it seems that...

    Yes, I am trying to understand, and it seems that the answer is that it is not possible to use std::string, the way I would like. I just really want to be sure.

    What's your answer to that? Is it...
  10. I'm trying to understand your explanation So far...

    I'm trying to understand your explanation
    So far I just understood that you inform me that I would be deleting the content that String received on strftime
    And that I wouldn't have space in the...
  11. That way I know how to do, what I wish is to know...

    That way I know how to do, what I wish is to know or to be able to convert the std::string into the strftime
  12. I didn't understand what you meant. If I put...

    I didn't understand what you meant.

    If I put inside strftime a variable char, the strftime passes to my variable the date/time formatted.

    But I'm not getting this when I use std::string
    And...
  13. Is that possible? strftime accept a std::string?

    I'm trying to make strftime accept a std::string.
    I want to know if it's possible or not to do this conversion!

    OBS I want to alter only strftime

    In the example I did below, he...
  14. Thanks for the info, they are very useful!

    Thanks for the info, they are very useful!
  15. 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!
  16. 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():...
  17. 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);
  18. 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...
  19. 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"} };
    }
  20. Replies
    18
    Views
    1,088

    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:
  21. Replies
    18
    Views
    1,088

    Thanks

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

    Beautiful Phrase!:)
  23. 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!:)
  24. Replies
    18
    Views
    1,088

    Thanks!

    Thank you very much! I did not know snprintf.
    With that I learned a little more!:)
  25. Replies
    18
    Views
    1,088

    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 25 of 25