Personally, I'd suggest Netbeans. It makes it easy to create a project so you 
shouldn't struggle trying to get everything running. A couple button clicks and 
you have a 'Hello World'. I find the Java trails helpful and think they're well 
organized. They can only offer so many specifics but maybe start with: 
http://java.sun.com/docs/books/tutorial/getStarted/index.html

Quoting [email protected]:

> i'm confused. What's wrong with your suggestion? Why would you need 
> to allocate 'temp' if you're swapping the value (a number) at the 
> location? 'A' and 'B' already exist somewhere.
>
> Quoting John <[email protected]>:
>
>> --- In [email protected], Benjamin Scott
>> <benjamin_cail_sc...@...> wrote:
>>>
>>> You can always use the following.
>>>  
>>> Void Swap(Void *A, void *B)
>>> {
>>>   Void *Temp
>>>
>>>   Temp = A
>>>   A = B
>>>   B = temp
>>> };
>>
>> Did you mean something like:
>>
>>    *temp = *A
>>    *A = *B
>>    *B = *temp
>>
>> I hope not, because apart from not allocating memory for *temp, it is
>> never going to work because you cannot dereference a void pointer.
>>
>> Please try compiling your code before posting.
>>
>>
>
> [Non-text portions of this message have been removed]
>
>

[Non-text portions of this message have been removed]

Reply via email to