Advertisement

1 - 10 of 565 containing alltags:("cstring") (0.001 seconds)
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...
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...
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.
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...
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...
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)
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
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);...
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...
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...
Zones: Windows MFCDate Answered: 04/18/2000 Grade: B Views: 0