|
-
April 4th, 2003, 08:35 AM
#2
Member
I am not sure what your updateA() function is supposed to do but it looks like it returns a float value and you are trying to use it as just a statement on its own. Effecively causing the same error as just typing 0.01 or any other number on a line by itself.
I think you need to assign this to something for instance
Float var1;
var1 = userId.updateA();
A good practice when something doesn't work is to comment out everything apart from the bits you know work and then comment it in one line at a time. (sorry if I am stating the obvious)
Waverebel
Sorry I can't give a very detailed answer Java is my thing not C++
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
|
|