Ask coding questions

← Back to all posts
C++ Tutorial
h
HahaYes (1861)

Anyone interested in a C++ tutorial?
Thanks,
HahaYes

Answered by Jakman (449) [earned 5 cycles]
View Answer
Comments
hotnewtop
HahaYes (1861)

WHY DOES EVERYONE WANT C

CodeLongAndPros (1624)

@HahaYes Because if you want classes: Java

HahaYes (1861)

@CodeLongAndPros but java is a horrible language......

HahaYes (1861)

@CodeLongAndPros .............. might as well use python

CSharpIsGud (1038)

@HahaYes Java can be faster than C++/other languages at certain things, and I see nothing that makes it horrible besides its package system

gatorade322 (120)

@HahaYes correct, python is a great language, and it is coded in C++, so . . . if you like C++, it's a good language to try. Also, it's the heighest in demand language so far right now.

HahaYes (1861)

@gatorade322 lol I don't care. C++ is better because of SPEEED

gatorade322 (120)

@HahaYes that's true, but not on repl.it, I don't think.

HahaYes (1861)

@gatorade322 yeah can you check out my C++ Tutorial Day 1? I'd love some feedback

gatorade322 (120)

@HahaYes shore, I'd love to! I have some knowledge on C++, I guess.

HahaYes (1861)

@gatorade322 yeah it is in the tutorials section

gatorade322 (120)

@gatorade322 It's good, it shows how to do cout/print and endl! That's definitely a good tutorial. Starts right at the basics. *Upvote!*

gatorade322 (120)

wondering - does anyone want a python tutorial?

Jakman (449)

@HahaYes People like C rather than C++ because of the speed and the way that pointers are managed in memory.

HahaYes (1861)

@Jakman SPEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEED

Jakman (449)

@HahaYes THE NEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEED

HahaYes (1861)

@Jakman FOR SPEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEED

HahaYes (1861)

@Jakman Hey let's continue this until this post gets blocked

HahaYes (1861)

@Jakman THE NEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEED

Jakman (449)

@HahaYes THEEEEEEEE SPEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEED

Jakman (449)

@HahaYes FOR SPEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEED

HahaYes (1861)

@Jakman YESSSSSSSSSSS INDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEED

HahaYes (1861)

@Jakman INDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEED

Jakman (449)

@HahaYes THE NEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEED

HahaYes (1861)

@Jakman FOR SPEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEED

Jakman (449)

@HahaYes THE SPEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEED

HahaYes (1861)

@Jakman YESSSSSSSSSS INDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEED

Jakman (449)

@HahaYes INDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEED

HahaYes (1861)

@Jakman THE NEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEED

Jakman (449)

@HahaYes THE NEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEED

HahaYes (1861)

@Jakman FOR SPEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEED

Jakman (449)

@HahaYes FOR SPEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEED

HahaYes (1861)

@Jakman INDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEED

Jakman (449)

@HahaYes INDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEED

HahaYes (1861)

@Jakman THE NEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEED

Jakman (449)

@HahaYes THE NEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEED

HahaYes (1861)

@Jakman FOR SPEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEED

Jakman (449)

@HahaYes 4 SPEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEED

HahaYes (1861)

@Jakman [email protected]$$$$$$$$$$$$$$$ INDEEEEEEEEEEEEEEEEEEEEEEED

Jakman (449)

@HahaYes INDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEED

HahaYes (1861)

@Jakman hey you wanna like all these posts to cycle farm?

Jakman (449)

@HahaYes REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

HahaYes (1861)

@Jakman HYDRO FLASK GOES SKSKSKSKS

HahaYes (1861)

@Jakman EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

HahaYes (1861)

@Jakman the change in weather huh?

HahaYes (1861)

@Jakman bro we are cycle farming

Jakman (449)

@HahaYes alright now do mine.

HahaYes (1861)

@Jakman you wanna continue to cycle farm?

Jakman (449)

@HahaYes how about no. I think we have done our fair share.

HahaYes (1861)

@Jakman yeah, and I gave you 5 more cycles

Jakman (449)

@HahaYes i personally prefer Rust because of the speed of Assembly and the control of C.

Jakman (449)

@HahaYes definitely try it. It has structs and things called traits. Structs can inherit traits to get functions. (Which makes them classes.) It is really just a better version of C++ because of how well it runs. You being a C++ programmer will do well learning rust.

HahaYes (1861)

@Jakman Yeah, I know, rust programmers are hardcore

Jakman (449)

@HahaYes we sure are. It just takes a lot of planning to do something simple. That is the only downside.

Jakman (449)

@HahaYes just posted a rust tutorial. Spread that word.

HahaYes (1861)

@Jakman k just posted a C++ tutorial. Spread that word.

HahaYes (1861)

@Jakman give it a like won't you?

firefish (947)

@HahaYes C is good and lower level. hehe, yes

firefish (947)

@Jakman STOP SPEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE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EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEDING

firefish (947)

@Jakman Rust is good for the same reason C is good

Jakman (449)

@firefish not exactly. Rust is good for the fact that it can be used for systems, it is safe and fast. C is both good for systems and fast but it is not safe

HahaYes (1861)

Wow 136 comments

CodeLongAndPros (1624)

Although, personally, I take Linus' view on C++ (this)

HahaYes (1861)

@CodeLongAndPros Nothing is better than C.... I've watched that?

gatorade322 (120)

@HahaYes python is better than C - C++ is better than C

CodeLongAndPros (1624)

@gatorade322 All depends. I’m looking at lowlevel languages.

CodeLongAndPros (1624)

Anyone interested in a C++ tutorial?

To give or receive?

Bookie0 (6267)

Hey, I’d like to learn another language, and I was thinking of C, because it’s more simpler.if you know have a tutorial, then sure!

HahaYes (1861)

@Bookie0 wow...... you like C? I like C++

Bookie0 (6267)

Idk any of the lamguages, but apparently C [email protected] But if you think C++ is also easy, then ok I wouldn’t mind a tutorial.

HahaYes (1861)

@Bookie0 Yeah, I just like C++

Bookie0 (6267)

Oh ok. Well if you want you can do a tutorial and I’ll try it to see if it’s hard @HahaYes

Bookie0 (6267)

Ok tomroow Bc now I go to sleep. Also are you making a Repl classroom ? @HahaYes

Bookie0 (6267)

Ok... so what will you be using? @HahaYes

Bookie0 (6267)

Ok thank lemme check it out. Also you should really make a classroom with repl, it’ll be easier. Its easy to make one and free @HahaYes

Bookie0 (6267)

Yas
Just go to profile, select the role teacher, and then you can make a classroom very easy @HahaYes

Bookie0 (6267)

Go to profile >> edit profile >> roles >> teacher
Then there should be a new button on th dashboard at the far left: teachers. Then you can import or make a class @HahaYes

HahaYes (1861)

@Bookie0 brb it costs 150 per month

Bookie0 (6267)

Uh no it should be free @HahaYes

Bookie0 (6267)

Send me screenshot of what you’re clicking and where it says you have to pay @HahaYes

HahaYes (1861)

@Bookie0 where is it where you can make a new class?

Bookie0 (6267)

Dude, not to be rude, but look around a bit. When you go to teachers, there’s a button green that says teach classroom @HahaYes

HahaYes (1861)

@Bookie0 I literally cannot find it. I am in explorer mode. Is that a problem?

Bookie0 (6267)

@HahaYes no it isn’t a problem

Bookie0 (6267)

Its not classroom pro, it shoul be normal classroom @HahaYes

HahaYes (1861)

@Bookie0 hmmmmm, find green button

Bookie0 (6267)

Did you click the button i told you to in the screenshot (the one with teacher @HahaYes

HahaYes (1861)

@Bookie0 yeah the one at the botton left?

HahaYes (1861)

@Bookie0 nope it takes me back to classroom pro every single time

HahaYes (1861)

@Bookie0 I'm literally not joking

HahaYes (1861)

@Bookie0 Do I have to apply for free classroom?

Bookie0 (6267)

Hmm well when i did it, i cant remember what buttons i pressed and then it just got me to the teacher home page @HahaYes

HahaYes (1861)

@Bookie0 can you like send me the URL? It would be easier that way

Bookie0 (6267)

Try this: https://repl.it/teacher

If it doesn’t work, then maybe post an ask question @HahaYes

HahaYes (1861)

@Bookie0 yep... I hit that and it doesn't work

gatorade322 (120)

when you get to not classroom pro, it will say my classrooms at the top, then ask you to enter your school name. You don't need to do that.

firefish (947)

@Bookie0 C is lower level, would suggest C# or Java not C. C is too low level, designed for making operating systems, (A.K.A @Wuru's dream), and C++ is a pig's breakfast.