各位大师,帮帮忙看看这个程序错在哪
#include<iostream>using namespace std;
class Stock{
public:
Stock(char na[],int q=1000,char p=8.98);
void print()
{cout<<"\nthis="<<this<<"stockcode,quan,price"<<this->stockcode,quan,price;}
private:
char stockcode;
int quan;
double price;};
int main()
{Stock stock1(600001,3000.5.67);Stock stock2(600001);
stock1.print();
stock2.print();
return 0;}