ive made a function using classes.
But when i run it , nothing happens
heres the code
then to run it i writeCode:this bit declaring everything
class andrewDX
{
mymy();
};
andrewDX::mymy()
{
Beep(300,300);
}
Code:andrewDX mymy();
Printable View
ive made a function using classes.
But when i run it , nothing happens
heres the code
then to run it i writeCode:this bit declaring everything
class andrewDX
{
mymy();
};
andrewDX::mymy()
{
Beep(300,300);
}
Code:andrewDX mymy();
i've never run the function like that before
try something like:
andrewDX myclass;
myclass.mymy();
Very likely, since it isn't possible ;)Quote:
i've never run the function like that before