Re: java package - money



java_nut <gingercrock@xxxxxxxxxxx> wrote:
i am finding a piece of work extremely tough going at the moment and
wondered if i could get any hints/help on where im going wrong.

For one thing, a return type of "void" means that a method isn't going
to return a result. You can't put a return statement that specifies a
return value into a "void" method. If you want the method to have a
result, change "void" to an appropriate data type.

That should get you started, anyway.

--
Chris Smith
.



Relevant Pages

  • C Implementation Of Java Interface Class
    ... class dog implements animal { ... typedef struct tagAnimal{ ... void deleteDog; ... same across the abstract data type and the concrete data type ...
    (comp.lang.c)
  • Portability question
    ... Below is some code I made to amuse myself and reverse bit order. ... comments or corrections are welcome, but I have some specific concerns. ... *ensure* that my data type had 32 bits? ... void print_binary ...
    (comp.lang.c)
  • Data type and stream format
    ... I'm working on a library that use another one (RtAudio) which is a ... in the callback I need to cast the void pinter to the correct ... If I have a buffer like: ... while if I open a 8-bit wave and I use 'signed short' like data type I ...
    (microsoft.public.win32.programmer.mmedia)
  • Re: Testing type of void*
    ... The void* type can hold a pointer of any data type, ... contains some sort of self-identifying tag, ...
    (microsoft.public.dotnet.languages.vc)
  • Re: compile error about void*
    ... C++ a type-id looks exactly like a variable declaration with the ... Type-id you mean data type? ... Like, int, void, void*? ... I mean a syntactical construct used to name a ...
    (microsoft.public.vc.language)