Search found 575 matches

by Yumtard
August 16th, 2021, 11:11 pm
Forum: Everything
Topic: Absolute Beginner Documenting C++ Progress [daily updates]
Replies: 4
Views: 2888

Re: Absolute Beginner Documenting C++ Progress [daily updates]

I'm starting to think there wont be daily updates
by Yumtard
April 15th, 2021, 6:15 am
Forum: Everything
Topic: Absolute Beginner Documenting C++ Progress [daily updates]
Replies: 4
Views: 2888

Re: Absolute Beginner Documenting C++ Progress [daily updates]

albinopapa wrote:
April 14th, 2021, 3:31 pm
Oh man, I remember when Yumtard did this it was a lot of fun. How are things going Yumtard?
I was getting some flashbacks as well, hope OP keeps updating!

Things are going quite well :) Programming simulators for different vehicles.
How are things with you?
by Yumtard
March 19th, 2021, 10:06 pm
Forum: Everything
Topic: Possible Request.
Replies: 1
Views: 831

Re: Possible Request.

It varies between companies But usually there's some type of project management software like jira, hansoft or trello. The project can then be broken down into different tasks with different priority. The tasks can also be broken down into sub tasks. These tasks are then assigned to different progra...
by Yumtard
October 1st, 2019, 1:18 pm
Forum: Everything
Topic: Multidimensional Array
Replies: 7
Views: 2281

Re: Multidimensional Array

Just rewrite the signature, I don't understand your problem. If you want vectors then something beautiful like this: void function( const std::vector<std::vector<int>>& a, const std::vector<int>& b ) or create a matrix class and just change the signature so it takes a matrix instead. If you need mor...
by Yumtard
September 30th, 2019, 11:21 am
Forum: Everything
Topic: Multidimensional Array
Replies: 7
Views: 2281

Re: Multidimensional Array

I would've made a matrix class. Else you could use vectors.

If it's stricly 3x3 matrices you can also do this

void function(float a[3][3])
by Yumtard
September 28th, 2019, 5:58 pm
Forum: Everything
Topic: A quick question on reference initialisation
Replies: 5
Views: 1529

Re: A quick question on reference initialisation

References must know what they're referencing when they are created. This is why they need to go in the initializer list. Stuff that get its value in the body of the constructor are actually first default constructed and then copy assigned. For this reason it's actually more efficient to initialize ...
by Yumtard
September 12th, 2019, 10:50 pm
Forum: Everything
Topic: Help with Collision code - :(
Replies: 5
Views: 1819

Re: Help with Collision code - :(

I don't see a box to collide with. Anyways, x_botFixed and y_botFixed is set to 0 in the h file then const int left_fixed = x_boxFixed - 5; const int right_fixed = x_boxFixed + 5; const int top_fixed = y_boxFixed - 5; const int bottom_fixed = y_boxFixed + 5; So the reticle changes color when it goes...
by Yumtard
August 28th, 2019, 8:36 pm
Forum: Everything
Topic: Beginner Tutorial 17 Framertimer
Replies: 3
Views: 1538

Re: Beginner Tutorial 17 Framertimer

What's happening is that you're creating another variable called last which is local to the mark function At the beginning of the function you also create a variable old and set its value to the member variable last. The value of the member variable never changes though since, as we established you'...
by Yumtard
May 19th, 2019, 4:55 pm
Forum: Everything
Topic: Homework 5 - Beginner C++
Replies: 9
Views: 3763

Re: Homework 5 - Beginner C++

at the end of episode 5, chili gives you homework.
In the homework video he then shows his solution to the homework so obviously the code will be a bit different