Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #22.6K
Ranked #2K
~2K People Reached

8 Posted Topics

Member Avatar for avatrin

Hi, If you really want to develop an operating system, you should learn some C++. Take a look at the C++ forum for suggestions on books and tutorials. However, what I suggest is that you start with some smaller projects, in order not to get bored with programming. Find a …

Member Avatar for jon.kiparsky
0
108
Member Avatar for svatstika

Hi, Just so I understand, why do you start iterator [ICODE]i[/ICODE] on 1? Cheers, Erik

Member Avatar for svatstika
0
300
Member Avatar for LeMajestique

In your if statement you should use a double equality sign: [CODE]monsternumber==1[/CODE] instead of: [CODE]monsternumber=1[/CODE] Cheers, Erik

Member Avatar for thelamb
0
603
Member Avatar for raisedtozero

If you want to loop over something, the syntax is as following: [CODE] int rowVector[5]; // Initializing for (int i = 0; i < 5; i++) { rowVector[i] = i; cout << rowVector[i]; }[/CODE] Initializing an array with both rows and columns is done as following: [CODE] arrar[number_of_rows][number_of_columns] [/CODE] Hope …

Member Avatar for erikandr
0
80
Member Avatar for Trepach

Hi Trepatch, The general answer is that no nonlinear solver can give you the global optimum. Most nonlinear solvers will give you a local optimum. In theory you could combine with some sort of generic algorithm, which would increase your chances of finding the global optimum (which is what I …

Member Avatar for erikandr
0
133
Member Avatar for poloblue

Hi, It looks ok, a few minor things I don´t understand - like why do you ask for coordinates of two different points in the setPoint function? Do you´ve any specific questions? Cheers, Erik

Member Avatar for poloblue
0
722
Member Avatar for Rishabh876

Hi, Even though daviddoria is right (you should post your code on the forum), I understand that you´re in some difficulties, since you´re program is unusually unstructured (I had a quick look at the source code). It would take days for me to find an unidentified error in your code. …

Member Avatar for daviddoria
0
168
Member Avatar for MasterGberry

Try: void Deck::shuffleDeck() { srand(time(NULL)); // Set seed for random numbers std::random_shuffle(deck.begin(), deck.end()); } Cheers, Erik

Member Avatar for erikandr
0
131

The End.