User profile: Gulshan Singh

User info
User name:Gulshan Singh
History
Joined:
Number of posts:48
Latest posts:

Difference between this C and C++ code
Link is fixed, the parenthesis became part of the link. I did try one submission where I used int i...

Difference between this C and C++ code
I was looking at this very easy problem (http://www.codechef.com/AUG13/problems/SPCANDY/ ) and decid...

Subclass with specific method argument
I don't see what's wrong with this: [code]class MyFitnessClass : public MyAbstractClass { virtual...

Small issue need help
A linker error means the issue is not with the actual code but the files and method definitions. Pos...

using an inline function to calcualte stock value
Yes, you would have the function call in a loop. To store the value, simply make a float variable ou...