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...
Type: Posts; User: KansaiRobot
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...
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...
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...
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...
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....
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...
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...
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...
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...
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...
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...
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...
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);
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...
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...
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...
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...
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...
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...
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...
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)...
Hello.
From the console of VCE I have run dumpbin export as
dumpbin /export myDLL.dll
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....
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...
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...