programm in c# /c++,..........................

Posted by Jhili under C# on 4/26/2010 | Views : 1439 | Status : [Member] | Replies : 1
write a class names complex to handle complex number adition & deletion..........................




Responses

Posted by: Naveenmanam on: 4/26/2010 [Member] Starter

Up
0
Down
Accessing a non-existent key in a map is no longer a run-time error.
It now evaluates to the zero value for that type. For example:
x := myMap[i] is now equivalent to: x, _ := myMap[i]

2. It is now legal to take the address of a function's return value.
The return values are copied back to the caller only after deferred
functions have run.

3. The functions panic and recover, intended for reporting and recovering from
failure, have been added to the spec:

In a related change, panicln is gone, and panic is now a single-argument
function. Panic and recover are recognized by the gc compilers but the new
behavior is not yet implemented.


NaveenKumar

Jhili, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response