February 6th, 2015, 04:22 PM
I create an instance of a base class (not derived class) and assign it to base class pointer. Then, I convert it to a pointer to a...
31 replies | 990 view(s)
January 30th, 2015, 12:07 PM
I call TextOut within WM_PAINT and it works. But if I call TextOut within WM_INITDIALOG or WM_SHOWWINDOW, it doesn't work. Here is the code,
32 replies | 914 view(s)
February 1st, 2015, 02:28 PM
I fronted with a weird issue: I have a class, derived from CObject, which has a member variable, CString m_sError (nothing special).
If I used an...
28 replies | 750 view(s)
February 22nd, 2015, 05:49 PM
Hi, i'm having trouble finishing this program. What Iím trying to do is create a class for Rational numbers. Get input from user for denominator and...
31 replies | 530 view(s)
January 31st, 2015, 02:46 PM
Can you tell me why programmers recommended C++ and not C?
Excuse me if my question is illegal but what programming language is...
19 replies | 718 view(s)
February 20th, 2015, 02:24 AM
I am trying to use a comma operator in .ini and trying to read from a file.So i am reading the comma also with some garbage value.Please let...
21 replies | 387 view(s)
February 3rd, 2015, 04:45 PM
the RegisterHotKey() is limited?
everytime a button is created is use RegisterHotKey(). but use a diferent HWND and ID. but only works with 1st...
16 replies | 593 view(s)
January 29th, 2015, 11:23 AM
I am new to programming. I want to know which programming language and platform to use for my project. I have gps modules that will be sending...
15 replies | 591 view(s)
February 11th, 2015, 02:38 PM
I have some C++ experience in highschool and a comptia cert, but very little experience otherwise. What language should I dive into in order to...
11 replies | 546 view(s)
February 9th, 2015, 07:30 AM
Sorry if this is a Newbie programming question! Iím been an old fashion programmer for 47 years and Iím just now writing my first Visual Studio...
12 replies | 533 view(s)
January 30th, 2015, 04:50 PM
i subclass the controls. so i have parent window procedure and child window procedure.
i'm trying using the WM_DRAWITEM message on child window...
14 replies | 547 view(s)
February 2nd, 2015, 02:01 AM
I Like to Open a Dialog When the Button Was Pressed for 5 seconds Continuously.
I'm using Windows 8 HP Tablet, Is MouseUp & MouseDown...
12 replies | 516 view(s)
February 3rd, 2015, 12:12 PM
I'm really new to this any help you could give would be greatly appreciated it
// An Individual's Info
12 replies | 346 view(s)
February 12th, 2015, 12:26 PM
It is advisable not to throw the exception from destructor. Because if exception happens stack unwinding happens. suppose the destructor again throws...
10 replies | 403 view(s)
February 24th, 2015, 01:07 AM
I am trying to register an window message, i am getting some error in RegisterWindowMessage and trying to call that message in WinProc its not...
14 replies | 162 view(s)
February 17th, 2015, 06:00 AM
I am trying to register a WM_USER message in windowsclass so that i can use the message in winproc for performing some hardware operation,so...
12 replies | 316 view(s)
February 18th, 2015, 07:46 PM
Someone please help me write a code which displays reverse of input(string) value without using any class library/builtIn functions.
for example, ...
13 replies | 285 view(s)
February 15th, 2015, 09:06 PM
startthread get called to launch to update list box.
a)is it the only way to pass string to the PostMessage?. my concern is that allocate using new...
8 replies | 381 view(s)
February 17th, 2015, 01:08 PM
The second line m=field.length. What is the actual length?
The line n=field.length what is the second value?
11 replies | 342 view(s)
February 15th, 2015, 04:57 PM
i even tryied debug the code. but without sucess :(
heres my message loop:
9 replies | 327 view(s)
January 27th, 2015, 12:52 PM
I get one problem with how to partitioning a integer list. I would like to divide this list into N sublist, where the sum of all entries is M. For...
8 replies | 491 view(s)
January 30th, 2015, 08:33 AM
Can anyone help me understand the details of what this function actually do? detailed explanation :)
7 replies | 349 view(s)
February 9th, 2015, 06:48 AM
Can you please give me one example in c for usage of LRESULT CALLBACK WindowProc(hwnd,uMsg,wParam,lParam);
9 replies | 315 view(s)
February 9th, 2015, 05:51 AM
I have a class like this
//others are not related to X
6 replies | 344 view(s)
January 28th, 2015, 09:19 AM
so let say i got some numbers like so in a .txt file
12 13 22 22 43 45
23 54 87 89 98 88
34 55 76 88 8 88
45 32 45 28 98 88
9 replies | 336 view(s)
February 19th, 2015, 02:03 AM
When i click the back button, I like to skip some old pages & rotate pages view in my property sheet.
I have 5 pages, when i clicked the...
9 replies | 290 view(s)
February 5th, 2015, 07:36 AM
template <size_t s>
template <size_t l, size_t r>
friend foo<l+r> operator+ (const foo<l>& fl, const...
6 replies | 380 view(s)
February 19th, 2015, 04:00 AM
I read some part a C++ book explaining lists. But I think the author has mistaken in that. If possible, please read section 17.9.3. An...
10 replies | 173 view(s)
February 11th, 2015, 02:27 PM
Ok so let me first say that I am new to programming and even newer to C#. I have been using a language called AHK to create applications and scripts...
8 replies | 371 view(s)
February 11th, 2015, 08:40 AM
I am using Visual Studio using c++.
I have a char which holds a value. I need to add the value to a text box, so I have:
8 replies | 319 view(s)
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.