VC5.0
Someone has wrote a function
int CTemp::GetResult(char[ ] strVar)
I have a CString strMyString.
I am doing this to use that function.
int len = strMyString.GetLength( ) ;
char* str = ne...
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_10052582.htm...
Zones:
Windows MFCDate Answered: 05/18/1998 Grade: C Views: 0
I'm writing an application that does some work on strings
I need to have 2 CStrings that allows me to pass a parameter to a function.
These 2 strings are declared like this:
void myfunc()
{
CStri...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_10070351.html
Zones:
C++Date Answered: 08/09/1998 Grade: B Views: 4
I want to encrypt PASSWORD string (entered by the user) to an integer, store it for sometime and later decrypt (through the program) to get the PASSWORD string back.
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_10087002.htm...
Zones:
Windows MFCDate Answered: 10/08/1998 Grade: B Views: 0
I have a MFC console app that takes input from stdin via cin >> input; input is a char * and has been initialised in a constructor(input = "dummy";). Later in the app, I try to build a search st...
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_10102343.htm...
Zones:
Windows MFCDate Answered: 11/28/1998 Grade: B Views: 14
I have some code similar to this:
=======================================================
#include "ClassHeader.h"
const CString strTest = "some value";
.
.
.
CSampleClass::CSampleClass()
{
Af...
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_10119079.htm...
Zones:
Windows MFCDate Answered: 01/21/1999 Grade: C Views: 0
How do i convert Cstring to a number?
Cstring A="123";
int q;
q=a?????
Thanks (i am pretty sure i saw this somewhere on the board, but I can't find it any longer)
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_10183104.htm...
Zones:
Windows MFCDate Answered: 07/15/1999 Grade: B Views: 0
How can I return the char * from a CString ? Do I need to use the GetBuffer ? If yes, what should the parameter be ?
Andrew
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_10184733.htm...
Zones:
Windows MFCDate Answered: 07/21/1999 Grade: A Views: 0
I have created a dll application and i have added a header file named dllexp.h which contains the following declaration,
# include "stdafx.h"
extern "C" __declspec(dllexport) char * name(void);...
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_10202518.htm...
Zones:
Windows MFCDate Answered: 01/10/2000 Grade: C Views: 0
I have a CRichEditCtrl in my dialog box. I need to be able to exchange data between the rich edit control and the CString. Now, normally this can be accomplished with something like this:
if...
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_10251127.htm...
Zones:
Windows MFCDate Answered: 12/27/1999 Grade: A Views: 0
I implemented a class "BaseString" that have quite similar interface to the one of CString, by inheriting from STL basic_string.
The problem is that every where in the code where I use printf, spr...
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_10329150.htm...
Zones:
Windows MFCDate Answered: 04/18/2000 Grade: B Views: 0