rohan yadav

Ranch Hand
+ Follow
since Oct 13, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by rohan yadav

Following code demonstrate c++ code
10 years ago
Hi all,
I am porting my code base from c++ to JAVA, I want to convert an integer to short, to insert it into byte array.
e.g.




can you please help me with this..??
10 years ago
Ohh .. Thanks Mathew and Andrey for your suggestions..
It seems that i have made a habit of thinking in c++ style
10 years ago
Then how should i achieve pass by reference in java(as we do it in c++, i am from c++ background)
10 years ago
Hi all,
I wants to swap primitive data types in java, as java uses pass by value for primitive data types , i used wrapper class and passed to the swap function still i am not able to swap the values can you please help...
Below is the code segment for the same....



10 years ago
I guess Left to right is general rule but i am not sure, I tried some generalized scenario's, i find left to right rule working properly,
But as i said i am not sure...
10 years ago
Expressions are evaluated from left to right in c++,
As ++i is true, right hand side of || will not get evaluated.
10 years ago
So do i required to import windows/linux library and then get processID??
10 years ago
Hey anyone please tell me is there any API for getting PID of calling process in java........???
10 years ago
Thanks Ed, but your post says something about JVM instance..... I just wanted to know is there any API/function call to get calling process PID in java...........??
10 years ago
Hi everybody,
I wanted to know How to get processId of calling process in Java??
I know processId is platform specific but i wonder if JAVA supports a library or function for getting processId independent of platform??
10 years ago
Does we have any certification for C++??
Like we have for java ,SCJP and all other stuffs..
10 years ago
That was also first initial thought, I m currently refactoring code, so i basicaaly dindint understand the code.. so I asked Here is code..



Or stick your arm in the nearest sphygmomanometer.

. And i dont need a such thing for such a small topic,but i bet you are carrying sphygmomanometer in your pocket that for sure
10 years ago
What exactly Monitor.Pulse() method do in Java...??
10 years ago
Also Look out for gcc compiler if you are interested in system programming..
10 years ago