Search:

Type: Posts; User: KansaiRobot

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. MFC simple tutorial (and program structure)

    Can anyone recommend me a good simple basic tutorial on C++ MFC programming?

    Specially I want to know the basic structure of a program and from where it starts executing (no WinMain in the project...
  2. Replies
    0
    Views
    3,418

    Heavy Load programs and other issues

    Hello everybody and thanks always for your help.
    This time I would like to ask several questions regarding programming.

    1) How do you visualize the load of a program(when it is running)?
    I have...
  3. Windows programming- help putting in order some ideas

    First, a bit of background. I have been programming in C and C++ (also once objective -c) mainly on linux or with embedded platforms, so my experience with windows is limited. Yes, I have in the past...
  4. Replies
    2
    Views
    16,144

    What happened with Vfw32.lib?

    Hello

    I am trying to build a source I got, originally written in C++ to make a dll wrapper for video for windows.

    It requires the file Vfw32.lib

    However I have now the 2015 edition of...
  5. Replies
    7
    Views
    11,130

    already googled, that is why I ask. Let's see...

    already googled, that is why I ask.
    Let's see what the quote above says:



    Alright... In my case there are two variables another and other . And only another gets created with a new operator....
  6. Replies
    7
    Views
    11,130

    structs in C#

    Hello.

    I am now starting to program in C# with no formal learning on this language :P by reading a program that I have.
    I would appreciate some help.

    I have two structs

    private struct...
  7. Replies
    1
    Views
    1,235

    Eclipse for C++

    Hello

    I would like some help with this.

    I have installed eclipse for java (well for android) some years ago in my mac. And now I would like to install eclipse for C++.

    If it were not...
  8. Replies
    6
    Views
    942

    Why? The thing is that for reasons of...

    Why?



    The thing is that for reasons of clarity ,order I want to keep main.cpp as small as possible. Also I am going to use this in main.cpp but declaring it there does not make sense since I...
  9. Replies
    6
    Views
    942

    Yes, I already read that and it was very...

    Yes, I already read that and it was very confusing. First they were using h files. Why h files, if I am using extern I shouldnt need the h files, right?

    A part of that link that I found...
  10. Replies
    6
    Views
    942

    How to use extern...

    Hello. I would like help in a problem I have using "extern".

    I had a cpp file (say Font.cpp) containing a constant array like


    const uint8_t SmallFont[1144] ={ ....}

    and I wanted to use...
  11. Replies
    5
    Views
    5,055

    Wow, that is really interesting. I guess in my...

    Wow, that is really interesting.
    I guess in my current situation (where my unsigned int is 16 bits and the long is 32 bits) one cast is enough. And it actually solves the problems my code used to...
  12. Replies
    5
    Views
    5,055

    Thank you for your reply. I think I am not...

    Thank you for your reply.
    I think I am not getting it completely

    really? If Var1 is unsigned int I dont think it can contain a value of the complete range of long.

    Anyway, I think I didnt...
  13. Replies
    5
    Views
    5,055

    Signed and Unsigned Integer Calculation

    Say you have two variables that are Unsigned Ints and one that is a signed int


    unsigned int Var1, Var2;
    signed long int LVar;

    What happen if I do something like


    LVar=(Var1-Var2);
  14. Replies
    1
    Views
    1,173

    Solved already. Turns out the best option is to...

    Solved already.
    Turns out the best option is to modify My_function so that it receives const char* . That would also work with normal char* entered as arguments!
    the compiler is telling me that it...
  15. Replies
    1
    Views
    1,173

    Illegal conversion between types

    Hello and thanks always.

    Not that this is bothering me much but while compiling my code I got a warning: Illegal conversion between pointer types.

    The situation is the following:
    I got a...
  16. Replies
    6
    Views
    1,478

    Thank you very much both. That was a good...

    Thank you very much both. That was a good explanation

    So, just to be clear, now, by using a static variable, I am free of the memory leak problem and at the same time it is a valid piece of...
  17. Replies
    6
    Views
    1,478

    Thank you very much for your reply both of you. ...

    Thank you very much for your reply both of you.

    Right now, someFunction is a function of this form


    someType * someFunction(void)
    {
    static someType returnValue;

    // Here do some...
  18. Replies
    6
    Views
    1,478

    Memory Leak??

    Hello everybody
    I would appreciate if someone can help me with the following

    I am writing a program and debugging it, and suddenly when looking at the code I wrote, a doubt came to my mind: am I...
  19. Replies
    1
    Views
    958

    Using Color Dialogs

    I am using Visual C++ 2010 express, and found this control called Color Dialog. Now, I understand the concept and checked some of the methods but I would appreciate a help on this.

    I would like...
  20. Replies
    3
    Views
    1,404

    Thank you for the answer (and the move, sorry...

    Thank you for the answer (and the move, sorry about that)

    Well I tried it with the timer and it works fine so far but Cat you just remind me of multithreading. As far as I know the libraries that...
  21. Replies
    3
    Views
    1,404

    Loops until I click or unclick a button

    Hello. I would like to ask the following question.

    I am using Visual C++ express and building a windows form application. There is a button (actually a checkbox in the appearance of a button)...
  22. Output of dumpbin export to see functions of a DLL

    Hello.


    From the console of VCE I have run dumpbin export as




    dumpbin /export myDLL.dll
  23. Replies
    4
    Views
    3,140

    Thanks for the answer. Well, as an example I...

    Thanks for the answer.
    Well, as an example I got the following when trying to convert one solution:



    I have no idea what that means.
    I have converted succesfuly today a very small project....
  24. Replies
    4
    Views
    3,140

    Conversion VC++ 2005 -> 2010

    Hello everybody and thanks always for your help.:)

    I would appreciate if someone could help me with this:

    I have bought some software that comes with visual C++ "solutions" (among other...
  25. Replies
    15
    Views
    1,909

    your code is already asking for an input, so put...

    your code is already asking for an input, so put a for loop around it



    for(....)
    { YOUR CODE
    }


    then you are asking how to count something. that is pretty easy. Just use an IF and then...
Results 1 to 25 of 37
Page 1 of 2 1 2