Type: Posts; User: GCDEF
Search took 0.20 seconds.
You're not actually taking user input when asking the questions. I would assume you're supposed to ask the question and get the answer from the user, not output hardcoded responses.
That tells you the linker can't find the implementation of Fl_Image::color_average. Is there a .lib file you need to add to your project?
September 15th, 2014, 03:38 PM
Did you try it? When you call menu1 again, m_bShowFeatures will be set to the opposite value, and menu 2 will be enabled again. Menu item 2 is grayed out or not based on the value of...
September 15th, 2014, 03:17 PM
Wouldn't this do what you want?
m_bShowFeatures = !m_bShowFeatures;
September 15th, 2014, 02:27 PM
If your message map, you'll have an entry like this
Add another entry like this
September 15th, 2014, 02:12 PM
Have you tried any of the suggestions offered so far?
September 15th, 2014, 12:36 PM
I'm pretty sure you can just use the same function name in your message map for each menu item - in case your menu IDs aren't consecutive.
September 15th, 2014, 12:18 PM
Or just set a state variable that both update handlers can look at.
I could be wrong, but I believe you can use the same handler function for more than one menu item.
September 15th, 2014, 07:58 AM
Doesn't make much sense to post in a C++ forum just because it's similar to to C#. The C# forum is the appropriate place.
Please use code tags to preserve formatting.
The debugger shows you...
September 14th, 2014, 08:39 AM
First, please use Code tags to preserve formatting.
Second thing would be to learn about "scope". row, col and val declared in get_input are not the same row, val and col in test_input. You...
September 12th, 2014, 09:23 AM
What he meant was that C++ already gives you a list that you can use.
September 12th, 2014, 09:20 AM
No. A linked list is a collection of nodes, which are usually structs or objects that contain data and pointers to other nodes. Each node points to the node that follows it, and usually also points...
September 12th, 2014, 09:05 AM
You should write a destructor for your Pointers class, but I'd focus on understanding how lists work first.
September 12th, 2014, 08:58 AM
That's not how linked lists work though. If you want a position based container, use an array or vector. Why are you trying to specify a position? If you really wanted to inert an element at the...
September 12th, 2014, 08:48 AM
I'm asking about ap. What's it supposed to do?
Like here sl->insert(10,20);
What is the 10 for?
September 12th, 2014, 08:45 AM
What is that first argument to your insert function supposed to do?
September 11th, 2014, 07:11 AM
I didn't say it was suitable for all windows applications, but I don't think it's going to add complexity to any apps that I can think of and in almost all cases you're going to end up writing less...
September 9th, 2014, 11:55 AM
We use this engine, but its API is fairly complicated too. http://rerecognition.com/ I've never used tesseract, but there should be samples out there. OCR engines work well if there's no other...
September 9th, 2014, 11:36 AM
What's the purpose of this app?
September 9th, 2014, 07:15 AM
Is it really that hard to use real words? I'm not sure how that helps him learn forms.
To the OP, yes Visual Studio 2012 is a fine development environment.
C++ is a language.
Win32 is the...
September 8th, 2014, 10:00 AM
You'll get more help if you follow the forum guidelines and use CODE tags to preserve formatting. Unformatted code and single character variable names make your code pretty much unreadable. Get in...
September 1st, 2014, 05:41 PM
I really don't think you can learn C++ from web sites. That's a bit like going to medical school online. There's just too much you need to know. I'd get a really good book and work through that. ...
August 23rd, 2014, 07:43 AM
Looks like when you undeleted it it put a non-printable character in there. Open the file using the VS binary editor and remove it.
August 19th, 2014, 09:57 AM
Have you tried debugging? r in reverse points to the beginning of an unitialized 24 byte char array. I and I assume others don't know what you mean by points to the middle of the string or why you...
August 18th, 2014, 06:48 PM
The debugger reveals all.
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.