Click here to Skip to main content
15,923,689 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralIRC on VC++ .NET Pin
MaTrIX2k218-Feb-02 18:53
MaTrIX2k218-Feb-02 18:53 
GeneralOnCmdMsg Pin
Stan the man18-Feb-02 18:06
Stan the man18-Feb-02 18:06 
GeneralRe: OnCmdMsg Pin
Michael Dunn18-Feb-02 21:05
sitebuilderMichael Dunn18-Feb-02 21:05 
GeneralRe: OnCmdMsg Pin
Stan the man19-Feb-02 1:00
Stan the man19-Feb-02 1:00 
GeneralRe: OnCmdMsg Pin
Michael Dunn19-Feb-02 8:41
sitebuilderMichael Dunn19-Feb-02 8:41 
GeneralC2665 Pin
18-Feb-02 13:40
suss18-Feb-02 13:40 
GeneralRe: C2665 Pin
Jon Sagara18-Feb-02 13:43
Jon Sagara18-Feb-02 13:43 
GeneralRe: C2665 Pin
18-Feb-02 14:02
suss18-Feb-02 14:02 
Stock:: Stock()
{
}

Stock:: Stock(char*& cn, char*& st, char*& mt, char*& tom, int& iv, int& noos)
{
strcpy(companyName, cn) ;
strcpy( stockTicker , st);
strcpy( marketTraded , mt);
strcpy( typeOfManufacturing , tom);
initialValue = iv;
numOfOutShares = noos;


}

//...code
void main()
{
//...code
cin>>tempCN>>tempST>>tempMT>>tempTM>>tempIV>>tempNS;
*tempStock = Stock( tempCN, tempST, tempMT, tempTM, tempIV, tempNS); <-- the Error is here says the compiler
GeneralRe: C2665 Pin
Tim Smith18-Feb-02 14:07
Tim Smith18-Feb-02 14:07 
GeneralRe: C2665 Pin
18-Feb-02 14:58
suss18-Feb-02 14:58 
GeneralRe: C2665 Pin
Christian Graus18-Feb-02 15:04
protectorChristian Graus18-Feb-02 15:04 
GeneralUsing CToolBar on an AppBar. Pin
18-Feb-02 13:25
suss18-Feb-02 13:25 
GeneralRe: Using CToolBar on an AppBar. Pin
Tim Smith18-Feb-02 13:50
Tim Smith18-Feb-02 13:50 
GeneralRe: Using CToolBar on an AppBar. Pin
18-Feb-02 14:57
suss18-Feb-02 14:57 
GeneralATSP32 compiled in Visual C++ 6 Pin
Kiske18-Feb-02 11:36
Kiske18-Feb-02 11:36 
GeneralRe: ATSP32 compiled in Visual C++ 6 Pin
Michael P Butler18-Feb-02 22:48
Michael P Butler18-Feb-02 22:48 
Questionpass by reference or copy? Pin
18-Feb-02 11:11
suss18-Feb-02 11:11 
AnswerRe: pass by reference or copy? Pin
Joaquín M López Muñoz18-Feb-02 11:21
Joaquín M López Muñoz18-Feb-02 11:21 
GeneralRe: pass by reference or copy? Pin
18-Feb-02 12:29
suss18-Feb-02 12:29 
GeneralRe: pass by reference or copy? Pin
Jonathan Craig18-Feb-02 16:13
Jonathan Craig18-Feb-02 16:13 
GeneralSeparate Window, Mouse, Keyboard Procs... Pin
18-Feb-02 10:56
suss18-Feb-02 10:56 
GeneralRe: Separate Window, Mouse, Keyboard Procs... Pin
Joaquín M López Muñoz18-Feb-02 11:17
Joaquín M López Muñoz18-Feb-02 11:17 
GeneralRe: Separate Window, Mouse, Keyboard Procs... Pin
18-Feb-02 11:24
suss18-Feb-02 11:24 
GeneralRe: Separate Window, Mouse, Keyboard Procs... Pin
Joaquín M López Muñoz18-Feb-02 11:26
Joaquín M López Muñoz18-Feb-02 11:26 
GeneralRe: Separate Window, Mouse, Keyboard Procs... Pin
Shog918-Feb-02 14:22
sitebuilderShog918-Feb-02 14:22 

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.