|
-
Jul 20th, 2003, 10:54 PM
#1
Thread Starter
Member
why won't my class function run?
ive made a function using classes.
But when i run it , nothing happens
heres the code
Code:
this bit declaring everything
class andrewDX
{
mymy();
};
andrewDX::mymy()
{
Beep(300,300);
}
then to run it i write
i just realised i spelt my name wrong....
-
Jul 20th, 2003, 11:10 PM
#2
Frenzied Member
i've never run the function like that before
try something like:
andrewDX myclass;
myclass.mymy();
-
Jul 21st, 2003, 04:19 AM
#3
i've never run the function like that before
Very likely, since it isn't possible
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|