Click here to Skip to main content
15,916,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Can't link to a library in Visual studio 2005 Pin
BarryOg18-Sep-06 20:56
BarryOg18-Sep-06 20:56 
GeneralRe: Can't link to a library in Visual studio 2005 Pin
Cedric Moonen18-Sep-06 21:07
Cedric Moonen18-Sep-06 21:07 
GeneralRe: Can't link to a library in Visual studio 2005 Pin
BarryOg18-Sep-06 22:05
BarryOg18-Sep-06 22:05 
QuestionHow to Output A Character Multiple Times - New To C++ Pin
Mark_Murphy18-Sep-06 11:18
Mark_Murphy18-Sep-06 11:18 
AnswerRe: How to Output A Character Multiple Times - New To C++ Pin
Christian Graus18-Sep-06 12:44
protectorChristian Graus18-Sep-06 12:44 
AnswerRe: How to Output A Character Multiple Times - New To C++ Pin
George L. Jackson18-Sep-06 13:30
George L. Jackson18-Sep-06 13:30 
GeneralRe: How to Output A Character Multiple Times - New To C++ Pin
Mark_Murphy18-Sep-06 13:41
Mark_Murphy18-Sep-06 13:41 
GeneralRe: How to Output A Character Multiple Times - New To C++ Pin
George L. Jackson18-Sep-06 14:45
George L. Jackson18-Sep-06 14:45 
This might make more sense to you:

#include <string>
#include <iostream>

using std::wcout;
using std::endl;
using std::wstring;

typedef wstring::iterator wciter;

int _tmain(int argc, _TCHAR* argv[])
{
wstring answer = L"telephone";
wstring guess = L"pXlXXXXnX";

// Make sure both strings are the same size.
if (answer.size() == guess.size()) {

wciter a = answer.begin();
wciter g = guess.begin();

while (a != answer.end() && g != guess.end()) {
if (*a == *g) {
wcout << *a;
}
else {
wcout << L"X";
}

++a;
++g;
}
}

wcout << endl;

return 0;
}
QuestionCToolBar winth CFormView Pin
serferreiras18-Sep-06 10:40
serferreiras18-Sep-06 10:40 
QuestionUNICODE to ASCII Conversion Pin
AlekseyUS18-Sep-06 10:33
AlekseyUS18-Sep-06 10:33 
QuestionRe: UNICODE to ASCII Conversion Pin
David Crow18-Sep-06 10:35
David Crow18-Sep-06 10:35 
AnswerRe: UNICODE to ASCII Conversion Pin
AlekseyUS18-Sep-06 10:40
AlekseyUS18-Sep-06 10:40 
AnswerRe: UNICODE to ASCII Conversion Pin
Shog918-Sep-06 11:11
sitebuilderShog918-Sep-06 11:11 
GeneralRe: UNICODE to ASCII Conversion Pin
AlekseyUS18-Sep-06 11:43
AlekseyUS18-Sep-06 11:43 
AnswerRe: UNICODE to ASCII Conversion Pin
Amar Sutar18-Sep-06 18:05
Amar Sutar18-Sep-06 18:05 
AnswerRe: UNICODE to ASCII Conversion Pin
Hamid_RT18-Sep-06 19:40
Hamid_RT18-Sep-06 19:40 
QuestionQuestion? Pin
#hackC++18-Sep-06 10:03
#hackC++18-Sep-06 10:03 
AnswerRe: Question? Pin
Zac Howland18-Sep-06 10:16
Zac Howland18-Sep-06 10:16 
QuestionHow do I use a string as a parameter in a Win32 api function? Pin
BarryOg18-Sep-06 10:02
BarryOg18-Sep-06 10:02 
AnswerRe: How do I use a string as a parameter in a Win32 api function? Pin
Zac Howland18-Sep-06 10:19
Zac Howland18-Sep-06 10:19 
GeneralRe: How do I use a string as a parameter in a Win32 api function? Pin
BarryOg18-Sep-06 10:49
BarryOg18-Sep-06 10:49 
GeneralRe: How do I use a string as a parameter in a Win32 api function? Pin
Zac Howland18-Sep-06 10:52
Zac Howland18-Sep-06 10:52 
GeneralRe: How do I use a string as a parameter in a Win32 api function? Pin
BarryOg18-Sep-06 11:17
BarryOg18-Sep-06 11:17 
GeneralRe: How do I use a string as a parameter in a Win32 api function? Pin
PJ Arends18-Sep-06 17:44
professionalPJ Arends18-Sep-06 17:44 
QuestionI am looking for DataGrid Pin
NorGUI18-Sep-06 9:31
NorGUI18-Sep-06 9:31 

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.