Click here to Skip to main content
15,928,983 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to create a grid control? Pin
1-Oct-01 23:34
suss1-Oct-01 23:34 
GeneralRe: How to create a grid control? Pin
Michael P Butler2-Oct-01 0:03
Michael P Butler2-Oct-01 0:03 
GeneralSYSTEM HOOKS - can't access global variables !!! Pin
dudy_boy1-Oct-01 20:39
dudy_boy1-Oct-01 20:39 
GeneralRe: SYSTEM HOOKS - can't access global variables !!! Pin
Tomasz Sowinski2-Oct-01 0:04
Tomasz Sowinski2-Oct-01 0:04 
GeneralQuestion about CSocket Pin
Chaos Lawful1-Oct-01 20:11
Chaos Lawful1-Oct-01 20:11 
GeneralRe: Question about CSocket Pin
markkuk1-Oct-01 21:55
markkuk1-Oct-01 21:55 
GeneralRe: Question about CSocket Pin
Chaos Lawful2-Oct-01 18:09
Chaos Lawful2-Oct-01 18:09 
Generalconversion constructor Pin
1-Oct-01 17:02
suss1-Oct-01 17:02 
Can anyone tell meho w to put a conversion constructor in this and implement it?

Matt


#include <iostream.h>
#include <string.h>
#define maxString 32000

class myString
{
int length;
char *stringData;
public:
myString();
myString(myString &);
int lengthof();
void show();
void getString();


};

myString::myString() // default constructor
{
length = 0;
stringData = new char[1];
}

myString::myString(myString &) //copy constructor
{}


void myString::getString()
{
char *firstString = new char[maxString];
cout << "Enter String: ";
cin.getline(firstString,maxString);
length = strlen(firstString);
stringData = new char[length];
for (int I=0;I
GeneralRe: conversion constructor Pin
Michael Dunn1-Oct-01 19:34
sitebuilderMichael Dunn1-Oct-01 19:34 
QuestionMFC FILETIME late? Pin
JaGGeR1-Oct-01 16:58
JaGGeR1-Oct-01 16:58 
AnswerFound it!!! :-D Pin
JaGGeR1-Oct-01 17:36
JaGGeR1-Oct-01 17:36 
GeneralDeriving classes - Stacked Dialogs: HELP! Pin
Ashman1-Oct-01 14:47
Ashman1-Oct-01 14:47 
GeneralRe: Deriving classes - Stacked Dialogs: HELP! Pin
Michael P Butler1-Oct-01 23:06
Michael P Butler1-Oct-01 23:06 
GeneralRe: Deriving classes - Stacked Dialogs: HELP! Pin
Ashman2-Oct-01 13:28
Ashman2-Oct-01 13:28 
GeneralUsing CTabCtrl... Pin
Mr.Freeze1-Oct-01 14:36
Mr.Freeze1-Oct-01 14:36 
GeneralHElpp Pin
1-Oct-01 12:23
suss1-Oct-01 12:23 
GeneralRe: HElpp Pin
Christian Graus1-Oct-01 13:51
protectorChristian Graus1-Oct-01 13:51 
GeneralOnTimer(UINT nIDEvent) Pin
RobJones1-Oct-01 12:01
RobJones1-Oct-01 12:01 
GeneralRe: OnTimer(UINT nIDEvent) Pin
Paolo Messina1-Oct-01 12:23
professionalPaolo Messina1-Oct-01 12:23 
GeneralRe: OnTimer(UINT nIDEvent) Pin
Nemanja Trifunovic1-Oct-01 12:24
Nemanja Trifunovic1-Oct-01 12:24 
GeneralRe: OnTimer(UINT nIDEvent) Pin
RobJones1-Oct-01 12:52
RobJones1-Oct-01 12:52 
Generalvideo into C++/MFC Pin
john john mackey1-Oct-01 10:08
john john mackey1-Oct-01 10:08 
GeneralRe: video into C++/MFC Pin
Christian Graus1-Oct-01 10:47
protectorChristian Graus1-Oct-01 10:47 
GeneralRe: video into C++/MFC Pin
2-Nov-01 2:56
suss2-Nov-01 2:56 
GeneralRandom numbers Pin
1-Oct-01 9:23
suss1-Oct-01 9:23 

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.