Hey guys! Thank you for watching the video. I know it's been a while. I'm going to try to upload at least one video a month from now on, but we'll see how it goes. Feel free to hold me accountable to that lol. Let me know if there's anything you'd like to see in future videos!
@Mineninja123 ай бұрын
I would like to see a much more technical and in depth explanation of the code
@Scudmaster113 ай бұрын
Isn't bedrock programmed in c++ ?
@wsalevan3 ай бұрын
@Scudmaster11 Yup
@wsalevan3 ай бұрын
@Mineninja12 Bet
@Richard-gs7sy3 ай бұрын
You do realize thank you very much made your own version of Minecraft bedrock edition does Minecraft bedrock edition was made in c+ C++
@darkphinkwastaken33622 ай бұрын
bro said I'm not good at c++ then makes a Minecraft Clone. Good video you just earned a sub
@wsalevan2 ай бұрын
Thanks for the sub! Most of the code wasn't specific to C++. When I made that comment, I was specifically referring to my C++ knowledge and not my programming abilities as a whole. I struggled a lot with things like rendering and threads. I could see why it would sound like a humble brag in the video, though
@blocksnmusket26 күн бұрын
XD
@汉3 ай бұрын
This is actually insanely impressive for your first c++ program, great job
@wsalevan3 ай бұрын
Thanks!
@YooAzula82622 ай бұрын
true. +1
@HoSza12 ай бұрын
not its first, 100%
@UtkuDeniz1233 ай бұрын
Microsoft made a c++ clone of minecraft too
@ProSureString3 ай бұрын
Lmfao
@wsalevan3 ай бұрын
True
@smqfl2 ай бұрын
bugrock
@GameskoTV2 ай бұрын
yeah but directx not opengl
@causalguide2 ай бұрын
@@smqfland the original Minecraft Java:Lag Edition
@RoseGoldKR3 ай бұрын
I also jumped into the deep end and started learning 3D programming, C++ and OpenGL for the first time by making a minecraft clone and went through pretty much the exact same steps you did but hit a brick wall due to my lack of knowledge. Seeing a simple and easy to read working model (even if inefficient) like yours is going to make my learning so much easier! Thank you for sharing this project!
@wsalevan3 ай бұрын
I'm glad my project could help you!
@Console.Log013 ай бұрын
I started my first c++ project a little over a year ago, and I'm still working on the same game (albeit I've restarted from scratch twice) and the improvement is massive. Keep going!
@wsalevan3 ай бұрын
Nice. C++ is a difficult but fun language. Thanks! Good luck on your game!
@TheBcoolGuy3 ай бұрын
You should try making a small project in just a few days, like Ludum Dare, so you'll have taken a project through all stages of production. It really helps.
@dampfwatze3 ай бұрын
It is actually very suboptimal to create a new thread for every chunk. Creating a thread has significant overhead. Your program has to reach out to the OS and the OS itself takes really long to create this thread. Instead, what you usually to is to create many threads at the start of the program (usually as many as you have CPU cores) and build some sort of task queue, from where the threads take tasks that need to be executed. This is called a threadpool and there are libraries out there. These tasks might also be referred to as "light threads" or similar. And having more threads running than the CPU has cores, leads to bad performance too. In this Situation, every core has to run multiple threads (with similar amount of work) at once, which leeds to excessive context switching. This means, the core has to switch the running thread every few cycles, which has major overhead.
@wsalevan3 ай бұрын
Thanks for the suggestion! I did come across threadpools in my research, but I had so much trouble implementing threads that I decided to hold off until a future video
@vinhtiennguyen1292Ай бұрын
With this big magnitude for your first c++ project I can't imagine how many companies out there are trying to recruit you
@wsalevanАй бұрын
None :(
@mariovelez5783 ай бұрын
Directional diffuse lighting is easy to implement and will make it way easier to see blocks. Also, I made a (unfinished) Minecraft clone as my first C++ project and did it mostly how you did. Don’t worry about optimizations right away, just get things working, I feel like it’s better learning to make mistakes and then fixing them rather than worrying about all optimizations at the start. Also, if you think 140 lines of code is a lot for a triangle, just wait until you try Vulkan
@wsalevan3 ай бұрын
I'm definitely going to be playing with shaders in the next episode. Now that I look at it, the video is a bit hard to look at lol. I agree with you about the optimizations. I'm going to be slowly optimizing it over time instead of doing it all at once. I did a bunch of optimizations at the end because I was so close to 10 minutes of runtime and wanted to push it past that point. Vulkan sounds scary lol
@multiarray23203 ай бұрын
@@wsalevanvulkan is the german word for volcano. people already died from volcanos. therefore i can agree that they are scary. jokes aside it was a great video.
@wsalevan3 ай бұрын
Haha I'm glad you enjoyed the video
@callmedanker3 ай бұрын
Impressive from both coding and video making sides. Really thought I'm watching some popular youtuber before I've noticed the sub and view count. An amazing job as for someone new into this!
@wsalevan3 ай бұрын
Thank you! I'm glad you enjoyed the video!
@Dominator0462 ай бұрын
Video's awesome. Aesthetic, clean, and fun. Touched all the nerdy parts of my brain I haven't touched since I graduated CompSci. Subscribed.
@wsalevan2 ай бұрын
Thanks!
@Shadows0fowls3 ай бұрын
This is such a cool and entertaining video. your video got recommended to me and i just clicked on it to check what this is. i watched thru the whole video since i like programming and reading code etc. and the way you edited the video and told how you did things etc it made everything so well done! great job you got me subscribed mate:)
@wsalevan3 ай бұрын
Thanks! I'm glad you enjoyed it!
@BAG8642 ай бұрын
Nicely done mate! That’s impressive. Can’t wait for the next vid
@wsalevan2 ай бұрын
Thanks! The next one will come soon ;)
@FuGyz3 ай бұрын
THIS LOOKS AMAZING ALREADY! (I could never)
@wsalevan3 ай бұрын
Thanks! You can accomplish amazing things if you put your mind to it... and research
@marcboss3 ай бұрын
I'm in the video, yes you should do a video about the first attempt. This is very impressive for your first C++ project and the editing is also great
@wsalevan3 ай бұрын
Thank you! I'll definitely make that first attempt video
@kazumiii2 ай бұрын
🇷🇴
@RealPnoenix3 ай бұрын
I have no idea what video I watched to subscibe to you, but I'm glad that I am subscribed lol, good video ❤
@wsalevan3 ай бұрын
Thank you! I'm glad you enjoyed the video!
@coolboj37262 ай бұрын
That looks soo cool. Love you content
@wsalevan2 ай бұрын
Thanks!
@mawzyyyy2 ай бұрын
One Russian man named MihailRis has already done minecraft in C++ and continues, I hope you get something like him, he already has an interface, main menu, mods and much more!
@wsalevan2 ай бұрын
I'm planning on adding all those features! My videos are focused more on the learning process than the result because I'm new to C++, so it might take a while to get that far lol. But I'll get there someday
@JgHavertyАй бұрын
A company named Mojang has already done minecraft in C++ and I hear its the most sold game of all time. Seems like its a pretty useable platform!
@ProSureString3 ай бұрын
So cool! I love this!
@wsalevan3 ай бұрын
Thanks!
@ProSureString3 ай бұрын
@@wsalevan ofc
@Drjones1173 ай бұрын
This video inspired me to also make a minecraft clone. I've always wanted to give it a try.
@wsalevan3 ай бұрын
That's awesome! Good luck!
@enzoo5333Ай бұрын
That is amazing bro
@FortuneBeatz2 ай бұрын
This is definitely gonna blow up
@wsalevan2 ай бұрын
We'll hope so
@J.77C2 ай бұрын
Here at 900 subs bro! I believe in you
@wsalevan2 ай бұрын
Thanks!
@kaya_stu3 ай бұрын
bro made bedrock edition..
@SuperLimeWorld3 ай бұрын
You are epic , keep it up 🔥🔥
@wsalevan3 ай бұрын
Thanks! I'll keep 'em coming!
@TheCreatorReviews3 ай бұрын
amazing! keep it up man
@wsalevan3 ай бұрын
Thanks!
@stockspieler-yv1fs2 ай бұрын
Very well done for such a "small" channel. You wont be small for long...
@wsalevan2 ай бұрын
Thanks! Hopefully...
@YooAzula82622 ай бұрын
That was a very very cool video.
@wsalevan2 ай бұрын
Thanks!
@buzzbuzz20xx3 ай бұрын
Amazing video I love how you show the code
@wsalevan3 ай бұрын
Thanks!
@AndrieMC2 ай бұрын
yeah, he also explains it more and shows it unlike other people who just say what they added removed or changed that the player would notice (e.g new block, lighting, etc)
@bibekdas7449Ай бұрын
A new minecraft edition on the horizon: Minecraft Evan Edition.
@ZeAloTxxx3 ай бұрын
that's insane bro, waiting for the next part. btw what do u think about implementing Distant Horizons' render distance mechanics in the future?
@wsalevan3 ай бұрын
Thanks! I'm working on the next part now. I'm definitely going to be implementing level of detail at some point. I have other essential features I want to add first, though.
@HTFilo022 ай бұрын
Hello brother you are on fyp congrats!!!🎉🎉🎉
@wsalevan2 ай бұрын
Thanks!
@MohsenFarajYT2 ай бұрын
Bro i had nightmares trying to make a gui with cpp... It was so bad that i quit it forever and went to web development 😂 this bro casually comes with sunglasses on and says ah yes... I am new to cpp, so i am making MINECRAFT CLONE! and proceeds to make the basics like a chad. What a man! Well done 🔥 it's really impressive 👍
@wsalevan2 ай бұрын
Thanks!
@pohodovejrybar59182 ай бұрын
"I Made a Minecraft Clone in C++" you mean bugrock edition but without bugs? YEY
@wsalevan2 ай бұрын
I think it'll end up with way more bugs that bedrock edition lol
@untodesu3 ай бұрын
I guess welcome to the voxel gamedev community
@wsalevan3 ай бұрын
Apparently that's the content I'm doing now lol
@untodesu3 ай бұрын
@@wsalevan well it's still a good fun to make voxels work
@wsalevan3 ай бұрын
Yes it is. I'm enjoying this project a lot
@TechflashYT3 ай бұрын
This is amazing! You deserve more subs and likes dude. You've at least gained one from me. I hope to see more in the future!
@wsalevan3 ай бұрын
Thank you! I'm glad you enjoyed it! I'll definitely make them more consistently than I have been lol
@nemongames987122 күн бұрын
1:07 wait until you find out about Vulkan…
@JustoM2802 ай бұрын
BRO THATs AWSOME!!!!!!!!!!!!!!!
@wsalevan2 ай бұрын
Thanks!
@Bl0xxy2 ай бұрын
This is really awesome! Mojang should take inspiration and make a C++ version of the game. Hope they don't add any in-game purchases tho
@wsalevan2 ай бұрын
Yeah that would be horrible if they added micro transactions to Minecraft...
@Bl0xxy2 ай бұрын
@@wsalevan fr
@Bl0xxy2 ай бұрын
@@wsalevan also how tf do you deal with C++ you inspired me to try to learn C++ and C++ inspired me to jump into traffic me and my small brain will stick to regular C :D
@wsalevan2 ай бұрын
I just don't use features of C++ that I didn't learn yet and then slowly learn them over time
@Bl0xxy2 ай бұрын
@@wsalevan WAIT THAT"S SMART I dont understand the point of references, why cant we just use pointers/addresses Could you explain why you'd use a reference instead of an address
@ryebelen77722 ай бұрын
Love the vid, am thinking about making one myself as well. Please upload a more technical breakdown of the code
@wsalevan2 ай бұрын
Thanks! I'll definitely make one at some point.
@farbrorjosnАй бұрын
Decided to step it up a "Notch" Nice :D
@xdflame77122 ай бұрын
damn so you're making this in c++ and opengl with no engine? crazy impressive for a first project.
@mila-d5b2 ай бұрын
chat gpt going crazy
@xdflame77122 ай бұрын
@@mila-d5b what?
@xdflame77122 ай бұрын
@@mila-d5b what?
@PranjalShukla-im9zb2 ай бұрын
@@mila-d5b what makes u think he cheated?
@Goop101_02 ай бұрын
video=10000000 my brain=0.000000001
@Ranamo_2 ай бұрын
Sun is burned into my eyes so I can't watch your cool video fully
@wsalevan2 ай бұрын
Oh no
@RichardLópez-i5c2 ай бұрын
WSAL: am bad at cpp. Also WSAL: I made Minecraft 👏
@wsalevan2 ай бұрын
I made Minecraft but the code is atrocious lol
@forest60083 ай бұрын
now imagine doing this in vulkan, its 900 lines for a single triangle
@wsalevan3 ай бұрын
Yeah I think I'm going to remain blissfully ignorant for now lol
@vishwasraj13412 ай бұрын
You are hired mr. Microsoft is waiting. ✌🏻
@wsalevan2 ай бұрын
Bet
@vishwasraj13412 ай бұрын
@@wsalevan dude you can't come overseas to celebrate 🥂 cheers
@americanhuman18482 ай бұрын
very noice. c++ is my favorite language with c being second. also, you should see the amount of code required to create a window using raw WinAPI, its pretty awful
@wsalevan2 ай бұрын
I don't even wanna know what that looks like...
@dropzaudios2 ай бұрын
This is so impressive considering i am struggling to make a calculator in c++
@wsalevan2 ай бұрын
Thanks! C++ is hard
@ElectricoGamez2 ай бұрын
If Microsoft ever sees this and are interested in achieving the dream of ending off Java edition Minecraft, they're probably gonna wanna hire you onto their team and aquisate you for your amazing project clone...
@wsalevan2 ай бұрын
Totally
@jvhstudios98043 ай бұрын
Bro this sh*t is underrated
@smooll_d2 ай бұрын
This is NOT bro's first C++ project 💀 But genuinely, This is so fucking impressive. My first project in C++ was a login/registration system in the terminal.
@wsalevan2 ай бұрын
Thanks! It is my first project though it is also my second attempt at it. The first one failed miserably but taught me a lot lol. That's why this one went as well as it did.
@jarglo33true603 ай бұрын
If he did, Vulkan. He would be crying. I am, especially because I messed up one line, and now my 1 triangle won't show up.
@wsalevan3 ай бұрын
Vulkan scares me
@sathpremsital87502 ай бұрын
"it only took this much code for a single triangle" (shohws 149 lines) me who has been using vulkan and just today got a triangle at code line 1000:
@wsalevan2 ай бұрын
Vulkan scares me
@scaredrabbitnl2 ай бұрын
WSAL Evan presents: Minecraft Bedrock Edition
@RegenStudioOFFICIAL2 ай бұрын
I made a Minecraft Clone too, but for the PSP based in C++ i have it on my youtube channel Good video Bro 🤍
@porky1118Ай бұрын
A while ago I saw a video, where somebody optimized the performance for rendering in minecraft. Not sure where to find it, though. He got the rendering performance up by a factor of a million or something by taking advantage of the fact, that all faces only face in once direction and only the surface ones are shown.
@forbiddentictactoe17342 ай бұрын
Super impressive! How did you learn base c++?
@wsalevan2 ай бұрын
Thanks! I learned from learncpp.com
@VaralakshmiP-q4x2 ай бұрын
You're a god
@Fantasy99673 ай бұрын
Siiick
@Gregthecool8002 ай бұрын
Looks a lot better than the Bedrock Edition of Minecraft.
@Failed0962 ай бұрын
"dude, i cant afford minecraft, lemme make my own"
@wsalevan2 ай бұрын
My exact thought process
@MichaelPohoreski3 ай бұрын
5:35 DEBUG builds typically have NO optimizations so real-time rendering will be extremely slow. In large codebases such as UE5 it isn’t uncommon to compile _most of the program with optimizations_ on and to _turn off optimizations for the few functions_ you need to debug.
@wsalevan3 ай бұрын
Yeah I definitely didn't explain myself very well in the video. I knew that debug builds don't have optimizations but I wasn't expecting that big of a difference. It's not shown very well in the video but the chunks take about a fifth of the time to generate when in a release build
@MichaelPohoreski3 ай бұрын
@@wsalevan It depends on the task but yup, while computers are extremely fast the overhead of no optimizations, debug information, exceptions, and type safety can add up _significantly._ On a few Wii games I worked on I built our graphics library with full optimizations and compiled the rest of the game with debug info. and no optimizations to make it easier to trace when it crashed. It is always fun to see the performance difference between no optimizations and -O2 or -O3.
@wsalevan3 ай бұрын
Wow that's crazy. Yeah I never would've thought that the optimizations would have quite that big of an effect
@MichaelPohoreski3 ай бұрын
@@wsalevan If you haven't seen it already you will love checking out Matt's excellent Compiler Explorer (godbolt) to see how various compilers optimize code.
@wsalevan3 ай бұрын
I'll check it out. Compilers are pretty cool
@Jimmith8293 ай бұрын
cool video
@wsalevan3 ай бұрын
Thanks!
@TomasRay2 ай бұрын
Shadows would add a lot.
@wsalevan2 ай бұрын
True
@TomasRay2 ай бұрын
@@wsalevan Apparently I was only four days late, oh well.
@wsalevan2 ай бұрын
Well I didn't add proper shadows yet. I just have basic diffuse lighting
@pythonANDcpp69Ай бұрын
gj bro
@wsalevanАй бұрын
Thanks
@turtlecode64352 ай бұрын
Now, add fireflys !
@wsalevan2 ай бұрын
I'll put it on my to-do list. Love the idea lol!
@RaptorexCorcovatus2 ай бұрын
Could you make a tutorial as to how to download the C++ compiler + OpenGL library. Awesome video
@wsalevan2 ай бұрын
When I get better at C++, I wanna make a whole tutorial series. I just use Visual Studio, so I never downloaded a separate compiler. As for OpenGL, I followed learnopengl.com
@RaptorexCorcovatus2 ай бұрын
@@wsalevan Wait so that's it, you just get it from Visual Studio
@wsalevan2 ай бұрын
Yup
@SoftPankekULTRAАй бұрын
Perfect bedrock clone
@CreatorOfContent-c1nАй бұрын
Are you gonna comment this on every one of his videos?
@irolup2 ай бұрын
You should had PBR materials with pathtracing
@wsalevan2 ай бұрын
I'm definitely going to do that sometime in the future
@yanmg_xd2 ай бұрын
bro is making bedrock edition but good 🙏🔥🔥
@TheGeniusJanUncensored2 ай бұрын
He just made Bedrock Edition Minecraft, Bedrock runs C++.
@dregoscatgaming2 ай бұрын
Wow! Can you do a tutorial pls? I searched how to do it, but i didn't understand what to install and there's no a normal wiki that is up to date!
@wsalevan2 ай бұрын
I am very unqualified to make a tutorial and would probably do more harm than good if I tried making one. I don't know about C++ Minecraft tutorials but I learned everything about C++ and OpenGL from learncpp.com and learnopengl.com
@TheGLGAMINGINFO2 ай бұрын
Bruh... My first C++ program was Hello World 😂😂😂
@wsalevan2 ай бұрын
To be fair, this project started out as hello world lol
@TheGLGAMINGINFO2 ай бұрын
@@wsalevan 😅 How and where did you learn making vertices to make 3d shapes. I have learned C++ from my university and they never told us about 3d shapes and GUI like stuff. I tried to find online but didn't understand anything. I have made apps in java with android studio and dart in flutter but they provide premade library. I want to create something custom like you have in this video. Can you tell me a little bit of road map. Do I really have to learn openGl with this as well? My skill level in C++ is.... In my last project I made a game which ran in cmd. It was a robot catching numbers. I used 2d array to create game area. And gave the game some colors using ANSI escape characters, Which control the color of text and it's background.
@wsalevan2 ай бұрын
To start making graphics, you need some sort of graphics library which is probably why they never taught you about it in university. I would recommend OpenGL to start with but there are others such as Vulkan and DirectX as well. If you want to use OpenGL, I would recommend following learnopengl.com.
@TheGLGAMINGINFO2 ай бұрын
@@wsalevan 👍 thanks❤️
@thomasoshaughnessy37102 ай бұрын
1:40 149 lines for a triangle... I dare you to try this in Vulkan xD
@wsalevan2 ай бұрын
Vulkan scares me
@BubblegumChewer2 ай бұрын
where did you learn this stuff? which playlists or courses did you use?
@wsalevan2 ай бұрын
I used learnopengl.com and learncpp.com
@hurmpel3 ай бұрын
Next video collisions or binary greedy meshing
@wsalevan3 ай бұрын
I have the next few videos planned out already but I'm definitely planning on adding collisions soon and greedy meshing at some point when I do a bunch of optimizations
@calof_2 ай бұрын
Cara achei teu video muito bom, um dia eu vou me aventurar e criar um game também
@Ocean10230Ай бұрын
Minecraft: CPP Edition
@jeffhaskin8953 ай бұрын
subscribed
@chukroid2 ай бұрын
Any tips on how I can study this
@wsalevan2 ай бұрын
I used learncpp.com and learnopengl.com for this video. I would recommend just starting simple and working your way up from there. Take each step of the process of making a game like this one step at a time and don't worry too much about optimizations or anything until you get it working.
@chaos97902 ай бұрын
make the font bigger in the timelapse please
@wsalevan2 ай бұрын
I'll keep that in mind for future videos
@mesocrisetus19832 ай бұрын
Now, i dont want to be a programmer! haha
@magnuswootton61813 ай бұрын
Im glad it wasnt object oriented, I cant code it for nuts.
@silverwerewolf975Ай бұрын
Where i can learn all this? I already know advanced programming on plain c but nothing of game dev
@AndrewStevenson65425 күн бұрын
Where did you learn how to do this
@TriviaQuizocity2 ай бұрын
Cool, now do it in raw machine code
@wsalevan2 ай бұрын
Bet
@nipury3 ай бұрын
minecraft bedrock: I don't exist 🤣
@wsalevan3 ай бұрын
Yeah Minecraft has never been made in C++ before lol
@SillyGuy3602 ай бұрын
Imagine if he fixes minecrafts bedrocks bugs
@wsalevan2 ай бұрын
That is if they even come up
@AndrieMC2 ай бұрын
huge chance that they wont
@HAKANKOKCU2 ай бұрын
works gr8 on intel core 2 duo + gt 220m
@wsalevan2 ай бұрын
Awesome
@FeroxOccisor3 ай бұрын
You sound just like Acerola
@wsalevan3 ай бұрын
It's the nerd voice lol
@porky1118Ай бұрын
I suggest not using OpenGL anymore, but WGPU. WGPU is a more modern rendering API written on top of the lower level Vulkan, originally supposed to be a more modern OpenGL for the web, but not as close to hardware as Vulkan, which would be difficult/impossible on the web. But it's just a modern rendering API, without the old features and closer to Vulkan. It especially doesn't use global variables internally, but instead relies on structs. Also it's cross platform and works on Apple, which doesn't support OpenGL anymore.
@wsalevanАй бұрын
Hmmm I'll look into it
@alikhairy30233 ай бұрын
I tried making minecraft clone using vulkan, took me a lot
@wsalevan3 ай бұрын
Yeah I don't have any experience with vulkan but I heard it's harder than OpenGL. Good luck!
@reflexcx2 ай бұрын
Well i have same bad news They already made it
@wsalevan2 ай бұрын
Big sad
@Zifowk3 ай бұрын
Idk if you’ll answer but how did you learn c++ im 11 but super interested in how to code and it would help me as all the KZbin tutorials I don’t really understand
@wsalevan3 ай бұрын
I learned C++ from learncpp.com. Though I already had a lot of programming experience when I started learning it. I actually started learning coding when I was 11 and I started with Scratch. If you want to start making games right off the bat, I would recommend learning something easier than C++ such as Scratch, Python and PyGame, or Unity/Godot/Unreal. If you learn an easier language, most of those skills will be easily transferrable to more difficult languages.
@Zifowk3 ай бұрын
@@wsalevan yeah I have some programming experience with JavaScript and c# also scratch
@wsalevan3 ай бұрын
Nice. If you want to get started with C++, I'd recommend learncpp.com and for OpenGL, learnopengl.com
@TheRaidyriwe2 ай бұрын
Minecraft budrock 2 without bugs?
@wsalevan2 ай бұрын
Nah I think it's going to have many many more bugs lol
@MathdallasRblx2 ай бұрын
Fun fact: Minecraft bedrock edition is actually made in c++
@Rubin-Igor2 ай бұрын
minecraft bedrock is in c++ xD
@wsalevan2 ай бұрын
We don't talk about bedrock edition
@AndrieMC2 ай бұрын
yeah though bedrock edition was originally created as minecraft for phones but then they replaced console edition and kinda tried to replace java but they failed
@strokkur243 ай бұрын
And now do the same thing, but in pure C 😅. It is just C++, but forget pretty much everything that makes that language usable. Ah yes, the good ol' days where all you had were structs, and... methods & variables. Classes? What are those? Namespaces? Funny. std::vector? Use an array instead :P. Nah but for real, nice first C++ project, and you should not torture yourself with C. All I said is just a joke haha. Keep up the motivation!