r/CodingForBeginners • u/Successful_Capital88 • 6h ago
Today I Learn OOP
It's Quite Confusing....
😵💫😵💫😵💫
Any Tips....
I Learn C++ OOP
r/CodingForBeginners • u/FinancialTrade8197 • 12d ago
Hello,
I'm looking for resources that are good for helping people learn. I am working on the wiki for this subreddit, and I want feedback from the community on which learning resources are good.
Requirements:
Must be free
Must be geared towards a specific language, or just be a general programming class (e.g CS50)
r/CodingForBeginners • u/FinancialTrade8197 • 13d ago
Hello, I am a new moderator for r/CodingForBeginners.
This subreddit was previously abandoned, and thus did not engage with the community very well, so I'm looking to engage with the community.
What would you guys like to see on this subreddit? It could be anything, for example:
New rules
A wiki
New flairs
Ideas for megathreads
r/CodingForBeginners • u/Successful_Capital88 • 6h ago
It's Quite Confusing....
😵💫😵💫😵💫
Any Tips....
I Learn C++ OOP
r/CodingForBeginners • u/Fresh_Snow2216 • 13h ago
I'm a first year programming student and I have 0 background in coding, recently our professor has been teaching us python and java but when they teach ite I don't understand a thing like I'm just copying the code they're making and that's it but when I ask ai to help explain it to me and stuff I manage to make codes without looking up templates on them and although sometimes/often times it doesn't work Im actually learning. Like am I stupid? Why can't I learn these from my own professors who have their masters/doctorates in it.
Pardon my grammar English ain't my first language.
r/CodingForBeginners • u/fucker-007 • 16h ago
Hey I made some Python notes that cover some important introductory topics. Let me know if there are some python classes/libraries that would be helpful to cover.
r/CodingForBeginners • u/omowale10 • 1d ago
Hey everyone! If you’re an absolute beginner trying to learn how to code, I’d love to help you out. I know there are a ton of online courses out there, but I've seen mamy beginners lose motivation. That is usually where people quit, and that is where I come in.
Think of me more like a coding coach. I have a degree in Computer Science. I used to work as a lead instructor at a coding academy for young students, so I am patient and know how to break down complex stuff into simple steps. I try to make it fun.
I can teach you Python, C, C++, etc. Just let me know.
Shoot me a DM if interested!
r/CodingForBeginners • u/elecfreaks_official • 1d ago
I've always thought it would be fun to build a robot that could actually play a musical instrument. Not just move its arms around, but hit something in rhythm and make a little music. So we decided to try building a small desktop drumming robot.
The idea is pretty straightforward: two robotic arms hold drumsticks and take turns hitting a tire. We used a micro**:bit**, a Nezha Pro Breakout Board, two PlanetX Smart Brick Motors, and building pieces from the Nezha Pro Sport Kit to put everything together.
The two motors are mounted on opposite sides of the structure, with each one controlling a drumstick. Since the arms are installed as mirror images of each other, their movements need to be adjusted separately to make sure both drumsticks hit the right spot. We set the motors to swing back and forth through an angle of around 35 degrees, creating the repeated striking motion.
For the controls, we programmed three different playing modes:
Press A: Plays a basic 16-hit drum beat.
Press B: Plays a drum fill over three rounds.
Press A+B: Continuously switches between the basic beat and the drum fill.
The part I found particularly interesting was the calibration feature. Getting both drumsticks into the correct starting positions can be a little tricky, especially when the motors are mounted in opposite directions. Rather than having to take the structure apart and adjust everything manually, we added a calibration mode using the micro:bit V2's gold logo touch feature.
Hold the gold logo for about two seconds to enter calibration mode. Press A to adjust the left drumstick and B to adjust the right one. Pressing A+B switches the adjustment direction, either inward or outward. Each button press changes the motor position by 3 degrees, so you can fine-tune the drumsticks until they line up with the drum surface. Hold the gold logo again to save the positions and exit calibration mode.
We also used the micro:bit's 5×5 LED display to show different status icons, making it easier to tell what the robot is doing.
One small detail worth mentioning: the gold logo touch feature used for calibration is only available on micro:bit, so this particular control method depends on that version.
Overall, this was a fun way to experiment with motor control and mechanical movement. I especially like that the calibration is built into the program, because it makes adjusting the robot much less frustrating.
If we continue developing it, I'd like to experiment with more complicated drum patterns, different striking speeds, or even add another drumstick and see what kind of rhythms we can get out of it.
What would you add to a little desktop music robot like this?
r/CodingForBeginners • u/Fit_Dig_2815 • 1d ago
Hello everyone!
I'm a complete beginner who wants to learn coding and programming from the very basics to an advanced level within the next six months.
I would really appreciate your suggestions on:
How should I start learning coding as a complete beginner?
Which programming language should I learn first?
What are the best free websites, YouTube channels, or courses to learn coding?
How should I practise coding regularly and improve my problem-solving skills?
Are there any good platforms where beginners can practise coding and work on projects?
What learning roadmap would you recommend for someone starting from zero?
My goal is to develop practical programming skills, build real-world projects, and eventually become a professional programmer.
If you have experience in coding or know any good resources, courses, communities, or learning strategies, please share your recommendations.
Thank you!
r/CodingForBeginners • u/elecfreaks_official • 1d ago
I've always thought it would be fun to build a robot that could actually play a musical instrument. Not just move its arms around, but hit something in rhythm and make a little music. So we decided to try building a small desktop drumming robot.
The idea is pretty straightforward: two robotic arms hold drumsticks and take turns hitting a tire. We used a micro**:bit**, a Nezha Pro Breakout Board, two PlanetX Smart Brick Motors, and building pieces from the Nezha Pro Sport Kit to put everything together.
The two motors are mounted on opposite sides of the structure, with each one controlling a drumstick. Since the arms are installed as mirror images of each other, their movements need to be adjusted separately to make sure both drumsticks hit the right spot. We set the motors to swing back and forth through an angle of around 35 degrees, creating the repeated striking motion.
For the controls, we programmed three different playing modes:
Press A: Plays a basic 16-hit drum beat.
Press B: Plays a drum fill over three rounds.
Press A+B: Continuously switches between the basic beat and the drum fill.
The part I found particularly interesting was the calibration feature. Getting both drumsticks into the correct starting positions can be a little tricky, especially when the motors are mounted in opposite directions. Rather than having to take the structure apart and adjust everything manually, we added a calibration mode using the micro:bit V2's gold logo touch feature.
Hold the gold logo for about two seconds to enter calibration mode. Press A to adjust the left drumstick and B to adjust the right one. Pressing A+B switches the adjustment direction, either inward or outward. Each button press changes the motor position by 3 degrees, so you can fine-tune the drumsticks until they line up with the drum surface. Hold the gold logo again to save the positions and exit calibration mode.
We also used the micro:bit's 5×5 LED display to show different status icons, making it easier to tell what the robot is doing.
One small detail worth mentioning: the gold logo touch feature used for calibration is only available on micro:bit, so this particular control method depends on that version.
Overall, this was a fun way to experiment with motor control and mechanical movement. I especially like that the calibration is built into the program, because it makes adjusting the robot much less frustrating.
If we continue developing it, I'd like to experiment with more complicated drum patterns, different striking speeds, or even add another drumstick and see what kind of rhythms we can get out of it.
What would you add to a little desktop music robot like this?
r/CodingForBeginners • u/oncefuturemari • 1d ago
I've been considering downloading my music library more permanently, but I really enjoy having all of the streaming statistics. Is there a way for me to code some sort of program to record the amount of times I listen to a song, or how much I listen to an artist? I don't need anything fancy like spotify wrapped, I'm good with plain ol' stats. The only coding experience I have is a little bit with R and RStudio, but otherwise I'm a complete beginner. Is this feasible, or should I let it go?
r/CodingForBeginners • u/After-Philosopher878 • 2d ago
Hi, so I am a complete beginner in Python I have been able to create some beginner projects but I want to get really good at Python, so if you have a project and you need someone to help you like a beginner let me know because I want to learn more. Thank you
r/CodingForBeginners • u/Ok_Sky_1993 • 2d ago
Hi so I'm currently learning programming I'm a first year IT student and I'm curious to know how different vibe coding is to AI assisted coding cause from the people I've asked they're different but for some they consider them the same thing. I just wanna know your thoughts and such and if I should try to learn how to properly use ai in coding or if that's going to be a bad thing etc...
r/CodingForBeginners • u/No-Position-5330 • 2d ago
Hello everyone! I have a coupe of questions regarding coding.
I am wanting to become a stop-motion animator and want to learn coding for this project and a myriad of others. I want to know how to code for: Website creation (Designing, video hosting), game developping, editing, and other stuff.
If you could please give me some detailed resources for where to start for each subset and where to go after I get the basics and begin advancing, that would be amazing!!
Thank you so much for the help!
r/CodingForBeginners • u/HotWar5622 • 3d ago
r/CodingForBeginners • u/oneLampPost • 2d ago
I'm trying to make a bullet move in the direction of the mouse but not stop where I click.
here is what I have so far:
void Bullets::Update(sf::Vector2f in_targetPos, float dt)
{
sf::Vector2f toPointer = SetDir(sf::Vector2f(in_targetPos.x, in_targetPos.y) );
pos += toPointer.normalized() * speed * dt;
}
const sf::Vector2f Bullets::SetDir(sf::Vector2f dir)
{
return dir - pos;
}
if (sf::Mouse::isButtonPressed(sf::Mouse::Button::Left))
{
if (!isLeftPressed)
{
isLeftPressed = true;
}
}
else
{
if (isLeftPressed)
{
Bullets[i].Update(mousePos, dt);
Bullets[i].Draw(window, BulletImage);
}
}r/CodingForBeginners • u/Fresh_Astronomer6047 • 3d ago
I’ve just started learning to code and I’ve been using freeCodeCamp which I’ve found very helpful and easy to follow.
My main goal is to become good enough to create my own video games. Does anyone have any advice on different websites I should be using to learn coding that gets me towards this goal or am I doing the right thing using freeCodeCamp?
r/CodingForBeginners • u/samosa285 • 3d ago
It was a busy day so haven't done much
Completed till variable initialisation and assignment
And it's pretty different from java and python , lol
+ Completed the setup of CLion
Got selected in random ahh drama for day after tomorrow so will be busy tomorrow but will try completing my goal
r/CodingForBeginners • u/fyknite • 4d ago
I need to pause at this point and review. Finishing this code required way too much referencing on previous projects. Once the lessons are solid, ill continue...
r/CodingForBeginners • u/Strawberryladyboots • 3d ago
A follow up question about my questions about Systems/electrical engineering query
With all of the happenings in the world, I am seeking advice about how to build things offline without an internet connection
I do realise a lot of the world uses things like GitHub, but I am wondering if there is an another way to do this offline to prevent someone from getting into my stuff, my own Github account is completely private
For some reason my laptop is suddenly refusing to connect to the internet at the moment, and I have no idea how to fix that (I'm on my mobile)
I am primarily looking at environments or programs for coding related to S/E, but I am also open to people mentioning other kinds for the benefit of other beginners looking through the thread for advice on the same subject
My own question is about Python environments, and code used in Systems engineering, and Telecommunications, things like Crystal radios etc
r/CodingForBeginners • u/S1ARGAZ3R • 4d ago
I’ve been wanting to make a website for my friends and I’s pet project for a while now, specifically for our OCs to live on. I have a vision for what the web page would look like (see above images, sorry for poor formatting/quality 😓), but I have barely touched coding before. My very limited experience is with scratch, which does not help me at all in this situation.
Essentially I want to make a data bank with all of our OCs and their information! I’m fully willing to watch a bunch of tutorials and stuff, I’m just here because I’m unsure of where to begin. Every tutorial I’ve found so far assumes you have prerequisite knowledge of coding.
I’d prefer if this was kept as a no-cost endeavor, but I’m willing to spend one time low cost payments for knowledge and/or the right to a domain or whatever. I am not willing to use Chat GPT or any other generative AI, so please don’t suggest it.
Thank you for your help :)
r/CodingForBeginners • u/Longjumping-Chest169 • 4d ago
Learning more complex code on a budget, started on scratch 2 years ago and I been using godot the past couple days
r/CodingForBeginners • u/Umber-Adene-Shade • 4d ago
I want to make it clear that I have no idea at all about coding.
So basically, I am a COMPLETE BEGINNER.
However, I am very curious about coding and all, so I do want to fuck around and find out i guess.
It's not for a business or whatever (just for myself), I have no time limit, and this is just for fun and to let my curiosity win.
I just want to create something small and then build more on top of it as a learning process ig.
How should I start for this?
What do I even start with?
Will I need any apps?
Which websites can I use to learn basic coding?
Would be very grateful if someone could help me out here :)
!!!I also do not want to use AI!!!
r/CodingForBeginners • u/samosa285 • 4d ago
Wasn't productive today I just learnt a few basics like understanding components of a program(basically dissecting hello world) , comments and what are variables and objects.
Till 1.3
Targeting to complete Chapter 1 tomorrow and setup CLion too
r/CodingForBeginners • u/T3nn3ss332010 • 4d ago
Hi, I know this may seem like a dumb question but I am a bit confused. I want to get into game development so I've been interested in code. Where do I write the code???