Click here to Skip to main content
15,894,539 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Simple member function question Pin
Stephen McGeown27-Jun-01 2:08
Stephen McGeown27-Jun-01 2:08 
GeneralRe: Simple member function question Pin
Malcolm McMahon27-Jun-01 2:59
Malcolm McMahon27-Jun-01 2:59 
Generali'm sure someone knows the answer to this... Pin
27-Jun-01 0:26
suss27-Jun-01 0:26 
GeneralRe: i'm sure someone knows the answer to this... Pin
Igor Sukhov27-Jun-01 1:16
Igor Sukhov27-Jun-01 1:16 
GeneralRe: i'm sure someone knows the answer to this... Pin
27-Jun-01 3:21
suss27-Jun-01 3:21 
GeneralRe: i'm sure someone knows the answer to this... Pin
Igor Sukhov27-Jun-01 6:49
Igor Sukhov27-Jun-01 6:49 
GeneralRe: i'm sure someone knows the answer to this... Pin
27-Jun-01 1:19
suss27-Jun-01 1:19 
GeneralQuestion About IWebBrowser2 Pin
Hushpappy26-Jun-01 22:30
Hushpappy26-Jun-01 22:30 
GeneralProblem with Threads Pin
yamini26-Jun-01 22:23
yamini26-Jun-01 22:23 
GeneralRe: Problem with Threads Pin
Hushpappy26-Jun-01 22:33
Hushpappy26-Jun-01 22:33 
GeneralRe: Problem with Threads Pin
yamini26-Jun-01 22:51
yamini26-Jun-01 22:51 
GeneralRe: Problem with Threads Pin
Bob Groves27-Jun-01 1:37
Bob Groves27-Jun-01 1:37 
GeneralRe: Problem with Threads Pin
Joe Moldovan27-Jun-01 8:32
Joe Moldovan27-Jun-01 8:32 
GeneralView in a Dialog window Pin
26-Jun-01 21:19
suss26-Jun-01 21:19 
GeneralRe: View in a Dialog window Pin
Michael P Butler26-Jun-01 22:29
Michael P Butler26-Jun-01 22:29 
GeneralRe: View in a Dialog window Pin
27-Jun-01 21:47
suss27-Jun-01 21:47 
GeneralRe: View in a Dialog window Pin
Michael P Butler27-Jun-01 22:23
Michael P Butler27-Jun-01 22:23 
GeneralAh, pointers... Pin
Shankar Chandra Bose26-Jun-01 20:05
Shankar Chandra Bose26-Jun-01 20:05 
GeneralRe: Ah, pointers... Pin
Michael Dunn26-Jun-01 21:28
sitebuilderMichael Dunn26-Jun-01 21:28 
GeneralRe: Ah, pointers... Pin
Shankar Chandra Bose26-Jun-01 21:48
Shankar Chandra Bose26-Jun-01 21:48 
QuestionWhy?? Pin
26-Jun-01 18:23
suss26-Jun-01 18:23 
AnswerRe: Why?? Pin
Frank Liao26-Jun-01 19:00
Frank Liao26-Jun-01 19:00 
GeneralRe: Why?? Pin
26-Jun-01 20:14
suss26-Jun-01 20:14 
Thanks, Frank.

There is another question .

The program taken from an article "A Sample Generic-Text Program" from MSDN isn't executed in VC++ 6.0 , Whether it modifies a constant string either?


#include <stdio.h >
#include <stdlib.h >
#include <string.h >
#include <direct.h >
#include <errno.h >
#include <tchar.h >

int __cdecl _tmain(int argc, _TCHAR **argv, _TCHAR **envp)
{
_TCHAR buff[_MAX_PATH];
_TCHAR *str = _T("Astring");
char *amsg = "Reversed";
wchar_t *wmsg = L"Is";

#ifdef _UNICODE
printf("Unicode version\n");
#else /* _UNICODE */
#ifdef _MBCS
printf("MBCS version\n");
#else
printf("SBCS version\n");
#endif
#endif /* _UNICODE */

if (_tgetcwd(buff, _MAX_PATH) == NULL)
printf("Can't Get Current Directory - errno=%d\n", errno);
else
_tprintf(_T("Current Directory is '%s'\n"), buff);
_tprintf(_T("'%s' %hs %ls:\n"), str, amsg, wmsg);
_tprintf(_T("'%s'\n"), _tcsrev(str));
return 0;
}
GeneralRe: Why?? Pin
Michael Dunn26-Jun-01 21:32
sitebuilderMichael Dunn26-Jun-01 21:32 
GeneralRe: Why?? Pin
Frank Liao27-Jun-01 3:42
Frank Liao27-Jun-01 3:42 

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.