Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
43% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
1
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
2 Commented Posts
~5K People Reached
Interests
Guitar (especially Flamenco) Kizomba dancing
Favorite Tags

20 Posted Topics

Member Avatar for HumanBeing86

I haven't run it but at first glance I think you want a[i].name both for when you input and output names. So for input use setName and for output don't refer to name but use a[i].print();

Member Avatar for Fbody
0
137
Member Avatar for AkashL
Member Avatar for Ancient Dragon
0
76
Member Avatar for AkashL
Member Avatar for Saranya Ravi

The only one I know of is Brainbench but it is not a proper certification because you can take the test at home. There are other tests e.g. previsor and IKM.

Member Avatar for mike_2000_17
0
128
Member Avatar for Shikhin

I don't think there isn't a microsoft c++ certification. Ancient Dragon: I did a certification in C# and thought quite a lot of knowledge was required to pass. I think it makes a small difference to many employers working with C#. It is not a degree but not worthless IMHO …

Member Avatar for AkashL
0
87
Member Avatar for bleedi

I agree with Aranath when using 'new' the object will exist beyond the return statement and needs to be deleted. It doesn't cause problems because the memory leaked is small and once the program ends the memory is freed up. Aranath I wanted to ask you how using auto_ptr or …

Member Avatar for bleedi
0
186
Member Avatar for WASDted
Member Avatar for aranjan

I guess you cannot use std::set so I think you would need to create an ordered binary tree to represent your set. My understanding is the vector does not represent the set, the data from the vector will be converted (losing all duplicates) into the set using your function. I …

Member Avatar for AkashL
0
130
Member Avatar for AkashL

I have heard you can efficiently use your GPU to do fast floating point calculations. This can be done using OpenGL but you may have to use the library in an unorthodox way or graphics card toolkits such as CUDA (by nVidia) which I guess is Graphics card specific. Does …

Member Avatar for 0x69
0
154
Member Avatar for AkashL

I have heard you can efficiently use your GPU to do fast floating point calculations. This can be done using OpenGL but you may have to use the library in an unorthodox way or graphics card toolkits such as CUDA (by nVidia) which I guess is Graphics card specific. Does …

0
113
Member Avatar for Jack_1

Jack 1 I think this is what you wanted [CODE]#include<iostream> using namespace std; int main() { int b,c,i; int myarray[10]; cout<<"Please enter nos"<<endl; cin>>b; for(c=2, i=0;c<b;c++) { if (b%c==0) { myarray[i]=c; ++i; } } cout<<"The factors of the no. are "; for(int j=0;j<i;j++) { cout<<myarray[j] << " "; } cout …

Member Avatar for AkashL
0
125
Member Avatar for AkashL

This problem originates from a job interview which could be solved in C++ or C#. As far as I can remember it was to implement a queue that can be added to by multiple threads and accessed by multiple threads. I haven't tried it in C# yet although I think …

Member Avatar for Radical Edward
0
248
Member Avatar for bubacke

Sorry didn't see other replies. But now can someone tell me how to delete a post? ;-D

Member Avatar for bubacke
0
132
Member Avatar for twc2102

I would like to have a look at this. If you have a mini project which reproduces the error that would save me a lot of time. Thanks

Member Avatar for twc2102
0
2K
Member Avatar for daniel88

Just to comment on the question in your comment comment [CODE]// random seed - how good is this I wonder?[/CODE] When I did Monte Carlo we preferred to use a definite seed for 2 reasons: 1. You can reproduce your results. 2. If you want to improve the accuracy of …

Member Avatar for daniel88
0
113
Member Avatar for adcodingmaster
Member Avatar for bubacke

Have tried your code out and didn't get any errors. Have you uploaded the version causing the problem?

Member Avatar for bubacke
0
484
Member Avatar for erka4444

Tried it in VS2005 and linux g++, both give errors even if you change parameter types. Works if you change function name or use a forwarding function but I guess you knew that. [CODE]class Particle{ public: bool isDead()const {return true;}; static bool isDead(const Particle & par) {return true;}; static bool …

Member Avatar for mrnutty
0
191
Member Avatar for LevyDee

using your own code a simple example below. Try changing print function to virtual in the base class and the output is different. YNote we are using pointers to the base class for both base and derived objects. [CODE]int main() { base* ptr = new base(); base* ptrDeriv = new …

Member Avatar for AkashL
0
110
Member Avatar for drunkenmonk

The leaf is deleted but how is the node with the pointer to the leaf updated and set to null? During traversal this pointer will be used even though it has been deleted?

Member Avatar for AkashL
0
130

The End.