Type: Posts; User: GCDEF
Search took 0.21 seconds.
December 15th, 2014, 10:06 AM
Give it a name.
CreatureName = NameOfCreature;
December 15th, 2014, 09:03 AM
You've defined the constructor, but you haven't implemented it.
December 15th, 2014, 08:53 AM
Post the code you have now.
December 13th, 2014, 07:48 AM
Not likely people are going to download zip files of unknown origins. Just based on your title, WM_TIMER messages are handled by windows, not documents.
December 12th, 2014, 03:30 PM
You're doing what a lot of beginners do, which is writing code without understanding what you're trying to do. The first thing to do is plan the necessary steps.
1) Prompt for a name.
2) Read a...
December 12th, 2014, 09:25 AM
Keep in mind, the computer will do things in the order you tell it to. You're assigning a letter to grade, but you haven't yet given grade a value.
I would think you'd want to get the user to...
December 11th, 2014, 09:39 PM
Could you please answer the question I asked. Your requirements aren't clear yet.
December 11th, 2014, 04:17 PM
Notepad just uses text files. CStdioFile would work. I don't know if you can automate it or not.
December 10th, 2014, 09:53 PM
What do you mean "the user puts a different name"? Do you need to get input from the user and find that name in the file?
December 10th, 2014, 09:50 PM
I don't think it's us that's confused. Your original post said you want to find all positions. The assignment says you only need to find the first occurrence, and it appears you're doing that.
December 10th, 2014, 12:40 PM
That's what you're telling it to do. You're starting at 0 each time. Since it's not really clear to me exactly what you're trying to do, I'd recommend figuring out the algorithm before writing...
December 10th, 2014, 08:12 AM
You really have to wonder what people are teaching these days. Using global variables and passing them by reference to a function seems pretty goofy.
December 10th, 2014, 08:08 AM
If you really are only interested in the last element. you wouldn't need to sort anything. Just iterate the vector and find the result_holder with the lowest value.
December 10th, 2014, 06:54 AM
What do you mean by that? A function can only return one value.
December 9th, 2014, 08:12 AM
That's an odd way to do it, and as mentioned, doesn't work.
If it were me, I'd just check each character using isupper(), islower() and isdigit() and setting a flag when each is found.
December 8th, 2014, 12:15 PM
You need to be more specific. Communication and data sharing are different concepts. Read 2kaud's links and see if any of them point you in the right direction. If not, specify why not. It's not...
December 2nd, 2014, 12:04 PM
Why would that indicate a full buffer?
December 1st, 2014, 11:17 AM
You already asked this question.
December 1st, 2014, 10:25 AM
Can you set it to inactive when the other window is on top of it? How are you creating the child window?
November 29th, 2014, 02:02 PM
Didn't your class come with a text book?
November 29th, 2014, 12:08 PM
November 29th, 2014, 07:59 AM
As Victor said, wrong language, but I don't see you counting anything. Doesn't SelectIndex give you the currently selected index, and not the string?
November 28th, 2014, 07:42 AM
The question wasn't well asked. In Visual C++ there are at least three types of strings, and a dozen or more containers that can hold them.
November 27th, 2014, 07:50 AM
We are? I would think as hardware becomes faster and multi-core processors are everywhere, we'd be spending less time compiling. How long a build takes depends on what I'm building and what...
November 26th, 2014, 01:54 PM
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.