Click here to Skip to main content
14,366,827 members

C / C++ / MFC

 
AnswerRe: Iterating over an indefinitely large number of concentric loops Pin
Richard MacCutchan17-Aug-18 0:17
protectorRichard MacCutchan17-Aug-18 0:17 
QuestionHow to get Visual C++ (2015 version) to work in "char = 8 bits" mode? Pin
Anthony Appleyard15-Aug-18 2:18
memberAnthony Appleyard15-Aug-18 2:18 
AnswerRe: How to get Visual C++ (2015 version) to work in "char = 8 bits" mode? Pin
Randor 15-Aug-18 3:05
professional Randor 15-Aug-18 3:05 
GeneralRe: How to get Visual C++ (2015 version) to work in "char = 8 bits" mode? Pin
Anthony Appleyard15-Aug-18 3:49
memberAnthony Appleyard15-Aug-18 3:49 
SuggestionRe: How to get Visual C++ (2015 version) to work in "char = 8 bits" mode? Pin
Randor 15-Aug-18 4:05
professional Randor 15-Aug-18 4:05 
GeneralRe: How to get Visual C++ (2015 version) to work in "char = 8 bits" mode? Pin
Richard MacCutchan15-Aug-18 6:18
protectorRichard MacCutchan15-Aug-18 6:18 
GeneralRe: How to get Visual C++ (2015 version) to work in "char = 8 bits" mode? Pin
Anthony Appleyard15-Aug-18 6:54
memberAnthony Appleyard15-Aug-18 6:54 
JokeRe: How to get Visual C++ (2015 version) to work in "char = 8 bits" mode? Pin
Randor 15-Aug-18 7:21
professional Randor 15-Aug-18 7:21 
Anthony Appleyard wrote:
I got accustomed to one-letter and two-letter variable names.


I confirmed that it compiles in Visual Studio 2017. I am calling it "C Notation" naming convention.
#define C 256
int Ƈ(HWND č, int c, char* Ç, ...)
{
    char ₵[C];
    va_list Ĉ;
    va_start(Ĉ, Ç);
    GetDlgItemText(č, c, ₵, C);
    ₵[C] = 0;
    return vsscanf(₵, Ç, Ĉ);
}

If you use this... your coworkers will pick you up and throw you out of the office.

Big Grin | :-D

Best Wishes,
-David Delaune
GeneralRe: How to get Visual C++ (2015 version) to work in "char = 8 bits" mode? Pin
Richard MacCutchan15-Aug-18 7:41
protectorRichard MacCutchan15-Aug-18 7:41 
GeneralRe: How to get Visual C++ (2015 version) to work in "char = 8 bits" mode? Pin
Richard MacCutchan15-Aug-18 7:40
protectorRichard MacCutchan15-Aug-18 7:40 
QuestionC++ Vector object question Pin
focusdoit14-Aug-18 16:12
memberfocusdoit14-Aug-18 16:12 
AnswerRe: C++ Vector object question Pin
Richard MacCutchan14-Aug-18 21:41
protectorRichard MacCutchan14-Aug-18 21:41 
AnswerRe: C++ Vector object question Pin
markkuk15-Aug-18 0:51
membermarkkuk15-Aug-18 0:51 
GeneralRe: C++ Vector object question Pin
samzcs15-Aug-18 3:28
membersamzcs15-Aug-18 3:28 
GeneralRe: C++ Vector object question Pin
Richard MacCutchan15-Aug-18 3:38
protectorRichard MacCutchan15-Aug-18 3:38 
GeneralRe: C++ Vector object question Pin
samzcs15-Aug-18 3:55
membersamzcs15-Aug-18 3:55 
GeneralRe: C++ Vector object question Pin
Richard MacCutchan15-Aug-18 5:29
protectorRichard MacCutchan15-Aug-18 5:29 
GeneralRe: C++ Vector object question Pin
samzcs15-Aug-18 4:32
membersamzcs15-Aug-18 4:32 
GeneralRe: C++ Vector object question Pin
Richard MacCutchan15-Aug-18 5:33
protectorRichard MacCutchan15-Aug-18 5:33 
GeneralRe: C++ Vector object question Pin
markkuk15-Aug-18 13:07
membermarkkuk15-Aug-18 13:07 
GeneralRe: C++ Vector object question Pin
samzcs16-Aug-18 4:44
membersamzcs16-Aug-18 4:44 
QuestionRetrieve HWND of a control that has focus Pin
_Flaviu10-Aug-18 2:27
member_Flaviu10-Aug-18 2:27 
QuestionRe: Retrieve HWND of a control that has focus Pin
David Crow10-Aug-18 4:45
memberDavid Crow10-Aug-18 4:45 
AnswerRe: Retrieve HWND of a control that has focus Pin
_Flaviu10-Aug-18 4:56
member_Flaviu10-Aug-18 4:56 
AnswerRe: Retrieve HWND of a control that has focus Pin
_Flaviu10-Aug-18 5:36
member_Flaviu10-Aug-18 5:36 

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.