Click here to Skip to main content
15,886,795 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Iterating over an indefinitely large number of concentric loops Pin
Richard MacCutchan16-Aug-18 23:17
mveRichard MacCutchan16-Aug-18 23:17 
QuestionHow to get Visual C++ (2015 version) to work in "char = 8 bits" mode? Pin
Anthony Appleyard15-Aug-18 1:18
Anthony Appleyard15-Aug-18 1:18 
AnswerRe: How to get Visual C++ (2015 version) to work in "char = 8 bits" mode? Pin
Randor 15-Aug-18 2:05
professional Randor 15-Aug-18 2:05 
GeneralRe: How to get Visual C++ (2015 version) to work in "char = 8 bits" mode? Pin
Anthony Appleyard15-Aug-18 2:49
Anthony Appleyard15-Aug-18 2:49 
SuggestionRe: 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
Richard MacCutchan15-Aug-18 5:18
mveRichard MacCutchan15-Aug-18 5:18 
GeneralRe: How to get Visual C++ (2015 version) to work in "char = 8 bits" mode? Pin
Anthony Appleyard15-Aug-18 5:54
Anthony Appleyard15-Aug-18 5:54 
JokeRe: How to get Visual C++ (2015 version) to work in "char = 8 bits" mode? Pin
Randor 15-Aug-18 6:21
professional Randor 15-Aug-18 6: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.
C++
#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 6:41
mveRichard MacCutchan15-Aug-18 6:41 
GeneralRe: How to get Visual C++ (2015 version) to work in "char = 8 bits" mode? Pin
Richard MacCutchan15-Aug-18 6:40
mveRichard MacCutchan15-Aug-18 6:40 
QuestionC++ Vector object question Pin
focusdoit14-Aug-18 15:12
focusdoit14-Aug-18 15:12 
AnswerRe: C++ Vector object question Pin
Richard MacCutchan14-Aug-18 20:41
mveRichard MacCutchan14-Aug-18 20:41 
AnswerRe: C++ Vector object question Pin
markkuk14-Aug-18 23:51
markkuk14-Aug-18 23:51 
GeneralRe: C++ Vector object question Pin
samzcs15-Aug-18 2:28
samzcs15-Aug-18 2:28 
GeneralRe: C++ Vector object question Pin
Richard MacCutchan15-Aug-18 2:38
mveRichard MacCutchan15-Aug-18 2:38 
GeneralRe: C++ Vector object question Pin
samzcs15-Aug-18 2:55
samzcs15-Aug-18 2:55 
GeneralRe: C++ Vector object question Pin
Richard MacCutchan15-Aug-18 4:29
mveRichard MacCutchan15-Aug-18 4:29 
GeneralRe: C++ Vector object question Pin
samzcs15-Aug-18 3:32
samzcs15-Aug-18 3:32 
GeneralRe: C++ Vector object question Pin
Richard MacCutchan15-Aug-18 4:33
mveRichard MacCutchan15-Aug-18 4:33 
GeneralRe: C++ Vector object question Pin
markkuk15-Aug-18 12:07
markkuk15-Aug-18 12:07 
GeneralRe: C++ Vector object question Pin
samzcs16-Aug-18 3:44
samzcs16-Aug-18 3:44 
QuestionRetrieve HWND of a control that has focus Pin
_Flaviu10-Aug-18 1:27
_Flaviu10-Aug-18 1:27 
QuestionRe: Retrieve HWND of a control that has focus Pin
David Crow10-Aug-18 3:45
David Crow10-Aug-18 3:45 
AnswerRe: Retrieve HWND of a control that has focus Pin
_Flaviu10-Aug-18 3:56
_Flaviu10-Aug-18 3:56 
AnswerRe: Retrieve HWND of a control that has focus Pin
_Flaviu10-Aug-18 4:36
_Flaviu10-Aug-18 4: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.