Search found 794 matches

by cameron
November 2nd, 2017, 3:34 pm
Forum: Everything
Topic: i cant speed up the reticle on multiple keystrokes
Replies: 6
Views: 2464

Re: i cant speed up the reticle on multiple keystrokes

No, that just means your program didn't load all the debugging information.

What you are seeing is a phenomenon known as keyboard ghosting.
by cameron
October 27th, 2017, 8:46 pm
Forum: Everything
Topic: c++ documentation
Replies: 7
Views: 3423

Re: c++ documentation

Those functions are user-defined (chilli wrote them). If you want to understand the code you can look over it and (I believe) chili goes over the framework in a couple of the videos.
by cameron
October 27th, 2017, 5:25 pm
Forum: Everything
Topic: Noob question
Replies: 3
Views: 1967

Re: Noob question

Think that's because compiler thinks you're declaring a function.
by cameron
October 8th, 2017, 7:55 pm
Forum: Everything
Topic: How can I start creating desktop programs?
Replies: 6
Views: 3122

Re: How can I start creating desktop programs?

I would avoid using c++ and winapi for doing UI stuff if at all possible. Go c# with .net if targetting windows. If targeting all platforms, see if you can find a framework that would suit your fancy.
by cameron
October 6th, 2017, 1:10 am
Forum: Everything
Topic: Question about video 4.3
Replies: 8
Views: 3066

Re: Question about video 4.3

if statements check to see if what is in the () evaluates to true. Operators such as == < > <= >= ! all return boolean values. If you simply put a variable inside the such as if(var) then it checks to see if var == true.

In summary
if(var) same as if(var == true)
if(!var) same as if(var == false)
by cameron
August 14th, 2017, 4:19 pm
Forum: Everything
Topic: Playing with threads
Replies: 2
Views: 1521

Re: Playing with threads

There shouldn't be a reason why you would need two mutexes there. Unless those locks are used in other blocks of async code. The only thing I can think of is it might add enough delay to 'solve' a race condition.
by cameron
July 20th, 2017, 2:54 pm
Forum: Everything
Topic: Noob learns to code in 3 months
Replies: 670
Views: 208536

Re: Noob learns to code in 3 months

Well, I am not chilli but... if you ever want to fool around with writing construct/destruct functions similar to new/delete you gotta. (or perhaps overloading....)
by cameron
July 17th, 2017, 2:49 pm
Forum: Everything
Topic: Comparison operater ( <= and >= )
Replies: 9
Views: 3905

Re: Comparison operater ( <= and >= )

Glad I was able to help out. I have been out of c++ for some time now due to family/work/school reasons and I am trying to retain it. :D
by cameron
July 17th, 2017, 5:01 am
Forum: Everything
Topic: Comparison operater ( <= and >= )
Replies: 9
Views: 3905

Re: Comparison operater ( <= and >= )

Ok, I looked through your first post a little bit more thoroughly and think I see the problem. I don't have a lot of time right now and if this doesn't help ill look at the code tomorrow morning if possible. Try friending those global operators in the class. This should give them access to the class...
by cameron
July 17th, 2017, 12:44 am
Forum: Everything
Topic: Comparison operater ( <= and >= )
Replies: 9
Views: 3905

Re: Comparison operater ( <= and >= )

What compiler errors are you getting? It is also helpful to post the code you are having difficulties with as it helps to resolve the problem a lot faster. That bottom code block is a little redundant as well. It would be simpler to do one of the following return x>= rhs.x && y>= rhs.y; or perhaps.....