Click here to Skip to main content
15,892,072 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Question about thread in C++ Pin
David Crow19-Sep-06 9:45
David Crow19-Sep-06 9:45 
GeneralRe: I don't find it there Pin
Yanshof19-Sep-06 9:55
Yanshof19-Sep-06 9:55 
GeneralRe: I don't find it there Pin
David Crow19-Sep-06 10:08
David Crow19-Sep-06 10:08 
GeneralRe: I don't find it there Pin
Yanshof19-Sep-06 10:37
Yanshof19-Sep-06 10:37 
GeneralRe: I don't find it there Pin
David Crow19-Sep-06 10:46
David Crow19-Sep-06 10:46 
GeneralRe: I don't find it there Pin
Zac Howland19-Sep-06 10:09
Zac Howland19-Sep-06 10:09 
QuestionHow To Delete A Specific Character In A String !!! Pin
Mark_Murphy19-Sep-06 9:15
Mark_Murphy19-Sep-06 9:15 
AnswerRe: How To Delete A Specific Character In A String !!! Pin
Zac Howland19-Sep-06 9:27
Zac Howland19-Sep-06 9:27 
// predicate
bool removeChar(const char& c)
{
	if ('h' == c || 'H' == c)
		return true;
	return false;
}

// in code
string alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
alphabet.erase(remove_if(alphabet.begin(), alphabet.end(), removeChar), alphabet.end());




If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac

AnswerRe: How To Delete A Specific Character In A String !!! [modified] Pin
George L. Jackson19-Sep-06 9:39
George L. Jackson19-Sep-06 9:39 
QuestionInternet Time? Pin
Larsson19-Sep-06 9:13
Larsson19-Sep-06 9:13 
AnswerRe: Internet Time? Pin
David Crow19-Sep-06 9:52
David Crow19-Sep-06 9:52 
GeneralRe: Internet Time? Pin
Larsson19-Sep-06 12:55
Larsson19-Sep-06 12:55 
GeneralRe: Internet Time? Pin
Christian Graus19-Sep-06 13:21
protectorChristian Graus19-Sep-06 13:21 
QuestionRe: Internet Time? Pin
David Crow20-Sep-06 2:42
David Crow20-Sep-06 2:42 
Questionsend args to constructor when using RUNTIME_CLASS Pin
BlackDice19-Sep-06 9:02
BlackDice19-Sep-06 9:02 
AnswerRe: send args to constructor when using RUNTIME_CLASS Pin
Christopher Duncan19-Sep-06 16:56
Christopher Duncan19-Sep-06 16:56 
QuestionNeed fast method to read/convert floats from disk Pin
nadiric19-Sep-06 8:35
nadiric19-Sep-06 8:35 
AnswerRe: Need fast method to read/convert floats from disk Pin
Zac Howland19-Sep-06 9:01
Zac Howland19-Sep-06 9:01 
QuestionRe: Need fast method to read/convert floats from disk Pin
nadiric19-Sep-06 10:46
nadiric19-Sep-06 10:46 
AnswerRe: Need fast method to read/convert floats from disk Pin
Zac Howland20-Sep-06 10:25
Zac Howland20-Sep-06 10:25 
QuestionEnumerate USB Hubs? Pin
4tau19-Sep-06 8:31
4tau19-Sep-06 8:31 
AnswerRe: Enumerate USB Hubs? Pin
jk chan20-Sep-06 21:10
jk chan20-Sep-06 21:10 
QuestionMoving the mouse pointer Pin
Grimes19-Sep-06 8:06
Grimes19-Sep-06 8:06 
AnswerRe: Moving the mouse pointer Pin
Chipperm19-Sep-06 8:22
Chipperm19-Sep-06 8:22 
QuestionRe: Moving the mouse pointer Pin
Grimes19-Sep-06 8:54
Grimes19-Sep-06 8:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.