IS THAT A ONE LINE POST I SEE?!??!!!!11
Here have an upvote.
Parsers split input into tokens. And lexers take those tokens and check what they mean and interpreters take those tokens and get the output.
You accidentally reversed the roles of lexer and parser here...
DONE!!! Next tutorial, we will figure out how to lex it (the easy part)
Even if this wasn’t as awesome as it is I still would have upvoted just for the acronym XD
That was.... an experience lol. love it!
By his argument computers are equally random (or even more random) because they can produce different results with a prng based just on the time of day, but in the same sense computers are way less random, because the random numbers are still following an exact pattern, no matter how obscure(it’s called a prng for a reason, right?). The thing is though I know it’s possible to get purely random numbers, because in c++11 they have a class called random_device that is listed as a 'true' rng. Also I’m pretty sure ranlux(the algo) is supposed to have been proven to have no connection / correlation / whatever-you-call-it between numbers.
Now this is the GOOD SH— stuff. The good stuff.
An extremely important tutorial.
@ebest I’ve always thought of it this way: the amount of time a program is running can be measured in cpu cycles, so cycles are how much experience we have with the repl.it community. If you have been using repl.it for a super long time, but you haven’t really posted much, you’ll have an okay amount of cpu cycles, maybe 100 - 200, but if you are super active for the very short time you’ve been here, then you could have those 100-200 cycles. either way it shows that you at least know your way around the place. If you’ve been on here a short time with little to no activity, then you’ll have around 0, maybe 10 cycles, suggesting you essentially have absolutely no idea what’s going on right now or why there are check marks next to people’s posts to you question. Same could happen for someone who just doesn’t post at all: no cycles. Then there are people who have been here forever and are constantly posting who have massive amounts of cycles, 900 to over 1000 cycles, these are obviously the people who really know this site. They are very experienced. None of this is necessarily relates to coding skill. Just experience with repl.it, but still. Pretty cool.
all those ranges are fake, I have no idea what the actual numbers would be, those are just examples.
Uh, quick thing: to fix your use of the markdown, just put a space in between the hashes and the actual thing you want to be shown as a header. Also do the same for the pluses in your list. When making a code black, you can actually have it have coding highlighting by putting the name of the language next to the top beginning block thing.
#### header text
Another thing, simply stating that an entire line is a comment can be a tad confusing for a beginner who’s never seen code or comments before, so for those of you who are still a little bit confused: what the OP is talking about and showing you is called a single line comment. comments don’t affect you code. To begin a single line comment in c++, simply place 2 forward slashes(
//) in front of you comment like the OP demonstrated.
#include <iostream> // fhdheu blah blah blah. Notice how this 'comment' will not stop until you // make a new line, so be careful to always put it at the end of a line of // code, or on a line by itself.
@PATRICKYANG1 eh. I guess I can’t rail it too hard..
I just feel like any high school/ middle school classes are total crap; I’ve been getting that vibe a lot - especially my own school honestly it’s probably better to just learn languages on your own and concepts from schools, because I’ve seen the pace or the competence of some classes and it always sounds less than ideal.
helpURL come from?
I personally use them to fill the neverending bottomless pit that is my soul, how about you.
Hey don’t hate, just school.
Explain what machine learning really is to him and how it works if you want to be that way.
"KID, I DARE YOU TO DELETE THE TEACHER IN FRONT OF NOBODY"
This generator is excellent XD
Thank you for sending a regular email to update replers on the current stuff going on in repl.it.
Thank you for creating challenges, giving people either a chance to expand their horizons or have something to do.
Thank you for making repl.it multiplayer, so replers can collaborate with utmost convenience and speed, promoting what is probably an extremely important skill and practice in replers.
And thank you for being on repl.it, It’s a good feeling to know that you actually know what’s going on in the site.
This I find interesting. How, very specifically is C supposed to be faster as a lang than c++? Shouldn’t they be of the same speed? Like think about it. Write the exact same program in C and C++, compile the two, and run. How is the C one supposed to be any faster if it’s the exact same code? @HahaYes