My progress so far

Post your topics and discussions here that you can't find a good section for.
Post Reply
User avatar
iGoofymane
Novice Cheater
Novice Cheater
Posts: 20
Joined: Sun Oct 14, 2018 11:20 pm
Reputation: 3

My progress so far

Post by iGoofymane » Sun Jan 27, 2019 8:20 pm

Hey guys.. So I started learning C++ Jan.24.2019. That was a last Thursday as I write this. Friday I got up early, and at around 7 am I started reading on LearnCPP. At about 3 pm I stopped for the day ( about 8 hours of reading ). On Saturday I was busy so I didn't get any reading in. Today however, I find it even more difficult to continue on, and I'm only on chapter 1.3, out of 21 ( if you include the 3 appendixes. Long reads by the way). I like it, I honestly do, I'm learning things that make me understand and appreciate video games even more, but my brain can't take this none stop reading of what this is, and what that is. I don't learn like that, I learn by doing. My idiotic learning methods are my biggest obstacles at the moment I suppose.

Things I've learned:

A compiler will abort compiling if it doesn't discover an int main() ( Yes I checked the code in my "Hello World" Project to remember the rest of that code )

The <iostream> allows user input through the keyboard iirc.

Statements are lines like this --> X = 5

Variables are things that store values. So in the integer statement X = 5, X is the variable.

L-values are always on the left side of the statement. That's why they are called L-values. X for example, is an L-value. 5 however, cannot be an L-value. 5 is 5, what about it? X = 5 ( in this example ), so X is an L-value.

Much more for me to learn.

That's my progress so far.

User avatar
SunBeam
Administration
Administration
Posts: 2045
Joined: Sun Feb 04, 2018 7:16 pm
Reputation: 639

Re: My progress so far

Post by SunBeam » Tue Jan 29, 2019 4:33 pm

My suggestion would be not to learn by heart what others tell you to learn; stop from time to time and apply your own judgment. You really don't have to call a boolean boolean; you can call it bool, byte, 1-byte or a flag. Your choice :P

Eric
Hall of Famer
Hall of Famer
Posts: 86
Joined: Thu Mar 02, 2017 11:01 pm
Reputation: 33

Re: My progress so far

Post by Eric » Wed Jan 30, 2019 9:11 am

I prefer to call boolean the truefalsethingy

User avatar
SunBeam
Administration
Administration
Posts: 2045
Joined: Sun Feb 04, 2018 7:16 pm
Reputation: 639

Re: My progress so far

Post by SunBeam » Wed Jan 30, 2019 9:37 am

My understanding of True/False is 0/1 as byte. However, engines compile information such as UPlayerController->God = True; as something like this "OR BYTE PTR [r32/r64+offset],FE". Am not sure if the 0/1 and your "truefalsethingy" applies at this point, considering there's not an implicit "MOV BYTE PTR [r32/r64+offset],0/1". But maybe that's my interpretation of what True/False means :P Soooo many choices :D

Eric
Hall of Famer
Hall of Famer
Posts: 86
Joined: Thu Mar 02, 2017 11:01 pm
Reputation: 33

Re: My progress so far

Post by Eric » Wed Jan 30, 2019 10:03 am

What you describe is a 'set'(binary set) ,better known as "truefalsebitarraythingy"

User avatar
SunBeam
Administration
Administration
Posts: 2045
Joined: Sun Feb 04, 2018 7:16 pm
Reputation: 639

Re: My progress so far

Post by SunBeam » Wed Jan 30, 2019 10:05 am

Maaan, really now.. I don't believe Moses was the first tablet user :D

GeraldineNettleton
Noobzor
Noobzor
Posts: 13
Joined: Thu Jan 31, 2019 8:56 am
Reputation: 0

Re: My progress so far

Post by GeraldineNettleton » Thu Jan 31, 2019 9:02 am

Well, I used this language in my project, and I think you have started there is a lot to discover.

GeraldineNettleton
Noobzor
Noobzor
Posts: 13
Joined: Thu Jan 31, 2019 8:56 am
Reputation: 0

Re: My progress so far

Post by GeraldineNettleton » Tue Feb 05, 2019 6:33 am

So I am again here to discuss, well, Do you get your result?
I think it's not that much hard.

Post Reply

Who is online

Users browsing this forum: No registered users