Please help I'm beginner level student in C++ I'm failed to find a proper solution.I also added error image in this question.Please give me answer with proper solution.
#include <iostream>
#include <conio.h>
class test
{
    int no;
    static int count;
    public:
        void getval (int);
        void dispcount (void);
};
void test:: getval(int x)
{
    no = x;
    cout << "Number = " << no << endl;;
    count++;
}
void test::dispcount(void)
{
    cout << "Counten = " << count;
}
    int test::count;
int main()
{
    test t1,t2,t3;
    t1.dispcount();
    t2.dispcount();
    t3.dispcount();
    t1.getval(100);
    t2.getval(200);
    t3.getval(300);
    t1.dispcount();
    t2.dispcount();
    t3.dispcount();
    getch();
    return 0;
}
 
    