I would like to store a word in a string array. here is my code:
cArray = new char[str.GetLength()+1]; //here actually store the words that I key in the edit control.
when the program detect the "space" it will store the previous character that had been read. For example: i have the code to read the character 1 by 1. But then im unable to store the "how" word in an array. I will only store the "h" instead of full words. Is there any code to advice? thank you.
Thx a lot..... Thx a lot... Im able to load the words. Need to modification then i can load the word into string array. As i need to pass the words that i read to go into other function. Thx a lot....
I try to do it now.. If later i success then inform u..
I got a class from code project CHyperButtonEx derived from CButton class. With this class i am able to colour the background of a button.
The first problem i am having is that as i take my mouse over the buttton the background color which is initially green in colour becomes white. I dont want it to change when i take my mouse over it.
The second problem is that I am having three buttons one of green colour background while the other two are in red colour. Now what I want is that when i click the any one red coloured button it should turn green which I ma able to do.
But at the same Time I want to change the colour of other button from green to red. The colour of the green button is changing from green to red only when i take my mouse over it. I want it to be changed a soon as i click it.
Does anyone here know anything about packed image? any reference?
The story is: I just have my explorer.exe back to normal again. Process Explorer indicated "C:\PROGRA~1\INTERN~1\INTERN~1.dll" was loaded every time explorer launched, and explorer end up crashing. What special about this dll is that it was highlighted in purple(packed image category) and it was said that the packed image is probably a malware. So I tried to locate this dll but only find "internetapi.dll" questionable, I proceeded to delete this dll and the problem went away. I have several quick questions in mind:
1. How this dll gets loaded? There must be a process that injects the dll every time explorer starts. I found explorer itself was intacted. I didn't not find any suspicious process running at the time.
2. Why it was appeared as "C:\PROGRA~1\INTERN~1\INTERN~1.dll" instead of the real dll "internetapi.dll"
3. Is "PROGRA~1" a hidden folder? Does '~' get translated to anything else
4. What exactly is "packed image"?
I have a console C++ application that reads standard input and writes standard output. I want to run (i.e., debug) the program under the IDE, using a text file that I want to redirect to the program, and want the output to redirect to (over)write a text file.
Going to the project properties, and under "Comand Arguments" typing
"<in.txt>out.txt" (without the quotes) does not work. Neither does