Click here to Skip to main content
15,921,793 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Speedy Net Conection Pin
Joaquín M López Muñoz1-Feb-02 7:24
Joaquín M López Muñoz1-Feb-02 7:24 
GeneralRe: Speedy Net Conection Pin
Nnamdi Onyeyiri1-Feb-02 7:42
Nnamdi Onyeyiri1-Feb-02 7:42 
GeneralNew Controls in .Net Pin
Mazdak1-Feb-02 7:05
Mazdak1-Feb-02 7:05 
GeneralRe: New Controls in .Net Pin
Christopher Lord2-Feb-02 15:18
Christopher Lord2-Feb-02 15:18 
GeneralRe: New Controls in .Net Pin
Mazdak2-Feb-02 20:44
Mazdak2-Feb-02 20:44 
Generalerror : unexpected class Pin
magpierre1-Feb-02 6:41
magpierre1-Feb-02 6:41 
GeneralRe: error : unexpected class Pin
Joaquín M López Muñoz1-Feb-02 6:52
Joaquín M López Muñoz1-Feb-02 6:52 
GeneralRe: error : unexpected class Pin
magpierre1-Feb-02 7:53
magpierre1-Feb-02 7:53 
this is all the code from the beginning of the class :


#include<iostream.h>
#include<string.h>

class Stock
{
private:
char nameCompany [10];
char market [10];
char tickerSymbol[10];
int stockValue;
int currentStockPrice;
char manufacturingCompany[2];
static int outstandingShares;
public:
Stock ();
Stock (char[] name , char[] mark , char[] ticker , int value , int curPrice , char[] company , int shares);
void display();
};

Stock::Stock() // empty constructor
{
}

Stock::Stock (char[] name, char[] mark , char[] ticker , int value , int curPrice , char[] company , int shares)
{
strcpy(nameCompany , name);//copy the array name to the array nameCompany
strcpy(market , mark);
strcpy(tickerSymbol , ticker);
stockValue = value;
currentStockPrice = curPrice;
strcpy(manufactringCompany , company);
outstandingShares = shares;
}
int Stock:: outstandingShares = 0;

/*display method*/
void Stock:: display()
{
int i = 0;
for( i ; i<10/*nameCompany.size*/ ; i++)
cout<
GeneralRe: error : unexpected class Pin
Joaquín M López Muñoz1-Feb-02 9:03
Joaquín M López Muñoz1-Feb-02 9:03 
GeneralLinux For Developers Pin
valikac1-Feb-02 6:43
valikac1-Feb-02 6:43 
GeneralRe: Linux For Developers Pin
#realJSOP1-Feb-02 6:48
professional#realJSOP1-Feb-02 6:48 
GeneralRe: Linux For Developers Pin
Jason Hihn1-Feb-02 9:25
Jason Hihn1-Feb-02 9:25 
GeneralRe: Linux For Developers Pin
Tim Smith1-Feb-02 9:44
Tim Smith1-Feb-02 9:44 
GeneralRe: Linux For Developers Pin
Jason Hihn1-Feb-02 10:13
Jason Hihn1-Feb-02 10:13 
GeneralRe: Linux For Developers Pin
Tim Smith1-Feb-02 10:22
Tim Smith1-Feb-02 10:22 
GeneralRe: Linux For Developers Pin
Jason Hihn1-Feb-02 10:51
Jason Hihn1-Feb-02 10:51 
GeneralRe: Linux For Developers Pin
Tim Smith1-Feb-02 12:42
Tim Smith1-Feb-02 12:42 
GeneralRe: Linux For Developers Pin
Jason Hihn4-Feb-02 3:09
Jason Hihn4-Feb-02 3:09 
GeneralRe: Linux For Developers Pin
#realJSOP1-Feb-02 11:30
professional#realJSOP1-Feb-02 11:30 
GeneralRe: Linux For Developers Pin
Jason Hihn4-Feb-02 3:29
Jason Hihn4-Feb-02 3:29 
GeneralRe: Linux For Developers Pin
Jason Hihn1-Feb-02 9:06
Jason Hihn1-Feb-02 9:06 
GeneralRe: Linux For Developers Pin
Nemanja Trifunovic1-Feb-02 9:54
Nemanja Trifunovic1-Feb-02 9:54 
GeneralRe: Linux For Developers Pin
Tim Smith1-Feb-02 10:23
Tim Smith1-Feb-02 10:23 
GeneralRe: Linux For Developers Pin
Nemanja Trifunovic1-Feb-02 10:25
Nemanja Trifunovic1-Feb-02 10:25 
GeneralRe: Linux For Developers Pin
Tim Smith1-Feb-02 12:32
Tim Smith1-Feb-02 12:32 

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.