r/CodingForBeginners • u/Busy_Ad8321 • 3h ago
i wanna learn c++/cpp but i have no experience
hi guys! so i want to get started with c++ aka cpp to program games, but i have no experience. what websites/videos should i use to learn?
r/CodingForBeginners • u/FinancialTrade8197 • Oct 25 '26
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:
r/CodingForBeginners • u/FinancialTrade8197 • Oct 24 '26
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:
r/CodingForBeginners • u/Busy_Ad8321 • 3h ago
hi guys! so i want to get started with c++ aka cpp to program games, but i have no experience. what websites/videos should i use to learn?
r/CodingForBeginners • u/Plane-Performer-7389 • 3h ago
I've been wanting to learn to code for a really long time now. I used to do those really beginner coding sites with Scratch and Tinker, but I've been wanting to learn how to actually code a game to (hopefully) publish. I keep telling myself I'll start learning, but I don't know what videos to watch or what sites are best or anything, so I was hoping someone could help me at least get my foot in the door about all this. TYYY
r/CodingForBeginners • u/europa_moon_j • 6h ago
basically, i want to learn how to code. so like any other guy or girl or neither i decided to look up tutorials on coding. however, whenever i see a tutorial, it’s always some hyper-specific stuff which won’t help me learn. i want to learn how to make games, not a game somebody has already made. i want to dump my own ideas without directly plagiarising somebody else’s. so how come there are almost no tutorials focused on teaching somebody how to understand parts of coding instead of teaching somebody to make somebody else’s game? sorry if it sounds rude, but… yeah.
r/CodingForBeginners • u/cookersexual • 15h ago
hi guys can anyone please help me out regarding this thing. so basically what I need is for me to download certain videos from the course that I am currently a part of which will expire soon and there is no option of downloading or saving the videos on drive or anywhere. if you could help me out by telling me how I can save those videos along with some other resources like test etc.
there are multiple videos (200+) so screen recording is not a viable option and along with that the other resources that i mentioned includes small tests, mock tests and the interface of those is such that even if I want to print the web page and save it as a pdf, i do not get the option of doing so
r/CodingForBeginners • u/Torian_Grey • 11h ago
I know it is possible to write a program that can read and display text from a website and I have a small amount of experience with Java and batch files that I would like to grow into something useful. My question is, what would be the easiest path to creating a program that could read all the titles in a youtube music playlist and display them in a way that could be copied into a text file? More specifically, where would I go to quickly learn how to do specifically this?
r/CodingForBeginners • u/ClickOk5811 • 1d ago
If you've seen this, you're not alone. Here's a small function. Before reading on, guess what the two lines print.
def add_item(item, basket=[]):
basket.append(item)
return basket
print(add_item("apple"))
print(add_item("bread"))Many people expect:
['apple']
['bread']But Python 3.13 prints:
['apple']
['apple', 'bread']Why it happens: the default value [] is created once, when the function is defined, not each time it's called. Every call that doesn't pass basket reuses that same list. You can even see it:
print(add_item.__defaults__) # (['apple', 'bread'],)The usual fix: use None as the default and create the list inside the function.
def add_item(item, basket=None):
if basket is None:
basket = []
basket.append(item)
return basket
print(add_item("apple")) # ['apple']
print(add_item("bread")) # ['bread']Now each call gets its own new list.
A rule of thumb: don't use a list, dict or set as a default value. Numbers, strings and None are fine, because they can't be changed in place.
If anything is unclear, ask below. I'm happy to explain more. Also curious: did you guess right before running it?
r/CodingForBeginners • u/Zombiepockets • 16h ago
Is there a free/relatively inexpensive resource for relearning/practicing code?
I was starting to make a lot of strides towards my projects, but after getting this Helpdesk job my time shrank and with it my coding skills.
I was mostly learning C# for unity and started a little C++ after unity pulled the Runtime fee thing, but I really want a way to be able to sit and practice code like an instrument - doing runs, scales, following sheets/tabs, ya know? Just something to help the muscle memory and build a better understanding
r/CodingForBeginners • u/ramcheb • 19h ago
Hey everyone!
Quick disclaimer: I used AI to help me write my post as English isn’t my first language. Apologies for that!
I’m a complete beginner when it comes to programming. I have absolutely zero coding experience, and it’s not my field at all. However, I’ve recently decided that I want to learn how to code by building a small application of my own.
The idea itself is relatively simple. It’s essentially a counter/tracking app where I have different categories, and I can add entries to each category to keep track of things I’ve done. Nothing particularly complicated. It’s mainly an app I want to build for personal use on my iPhone.
Initially, I thought I’d go with Swift and SwiftUI since I’m an iPhone user, and Apple’s ecosystem seems like a logical starting point.
However, I started thinking about the possibility of expanding the project in the future. Maybe I’d eventually want to make it available on Android, have a web version, or even a desktop application.
This got me wondering whether starting with Swift is the right decision, or whether I should learn something cross-platform like Flutter or React Native instead.
A few things worth mentioning:
- I’m starting completely from scratch. I don’t know any programming languages.
- I’m planning to learn as I build the application, rather than spend months learning theory first.
- I’m not planning to commercialize it anytime soon.
It’s primarily a personal project.
I don’t want to unnecessarily limit myself if I eventually decide to expand it to other platforms.
I’m also working with a Windows laptop, although I might have occasional access to a Mac.
My questions are:
- Would you recommend starting with Swift/SwiftUI, Flutter, or React Native in my situation?
- If I start with Swift, how difficult would it actually be to eventually port the application to Android or the web?
- Is choosing a cross-platform framework from day one worth it, even if my only initial target is iPhone?
- Considering I’m a complete beginner, which option would offer the best learning experience?
I’d really appreciate any advice!
Thanks!
r/CodingForBeginners • u/freedom9928 • 1d ago
I am just getting into more tech stuff I dabbled before but I can't seem to find a way to learn the things I want to know without falling down a rabbit hole I hope maybe someone on here can help me out to find wat I am looking for an possible become friends with some other people interested in tech
r/CodingForBeginners • u/PYTHON-JHA • 1d ago
Hey im an electricity major at a foreign school, ive made my first project and want to see what people think about it. Theres also a readme, thank you.
r/CodingForBeginners • u/friiisky3 • 1d ago
Using an Android Phone
r/CodingForBeginners • u/elecfreaks_official • 1d ago
We wanted to make a simple prize spinner with micro:bit, but there was one thing we didn't want to compromise on: the spinner could be random, but its final position had to be accurate.
So we built this four-way Lucky Spinner using a PlanetX Smart Brick Motor and parts from the ELECFREAKS Nezha Pro Sport Kit.
There are four possible results: a blue ball, a red ball, a black-and-white soccer ball, and an orange-rimmed soccer ball. Each one represents a number from 1 to 4. When the red pin at the end of the spinner arm points toward one of them, the micro:bit displays the corresponding number.
The interesting part is how the program handles the spin.
Before the first draw, we point the arm toward the blue ball and press Button B. The program saves the motor's current absolute angle as the reference position for Result 1. It doesn't matter whether the motor is physically at 0° or not. What matters is that the program now knows which direction represents the starting point.
When we press Button A, two random values are generated:
The motor spins at full speed, completes the selected number of rotations, and then moves to the calculated target angle. Since the four prize positions are 90° apart, the program can work out exactly where the arm needs to stop.
For example, if the selected result is 3, the arm needs to finish 180° away from the calibrated starting position. Even if the spinner makes a different number of full rotations each time, the final direction still matches the selected result.
We also added a short delay before showing the number. Once the arm stops, the program waits 0.5 seconds and then displays the result for three seconds. After that, the number disappears and the standby icon comes back. The program temporarily ignores new button presses while a draw is in progress, so the next spin can't interrupt the current one.
I like this project because it brings together a few programming ideas in a very visible way: random numbers, motor angles, calibration, and program states. You can actually see the difference between choosing a random outcome and physically moving a mechanism to the correct position.
It's a small project, but getting the mechanical direction and the on-screen result to agree is what makes it satisfying to watch.
Would you add sound or LED effects to make the final reveal more dramatic?
r/CodingForBeginners • u/After_Machine8879 • 1d ago
Привет всем, я учусь на программиста, но в колледже дают мало информации, так сказать просто базу. Но я хочу преуспеть в веб кодинге, что для этого нужно изучить? Я знаю базу HTML, CSS, c++ и питона. Но я не могу понять, что мне дальше делать
r/CodingForBeginners • u/itzzoro_25 • 2d ago
I'm Engineering 3rd year grad and almost wasted my time because of managing financial challenges at home... Although I did learned basic web development, and started learning python and js. Now as I don't have much time left what should I do? Should I join any paid online/offline coaching?
r/CodingForBeginners • u/StageSubstantial1626 • 3d ago
I've watched some tutorials but I really don't want to spend 12 hours watching a video on how to code I really just wanna do it at my own pace any website helps!
r/CodingForBeginners • u/Suspicious_Tune2985 • 2d ago
I’m a first-year engineering student looking to participate in my first proper hackathon—either online or offline in Bengaluru.
Apart from the ones happening in my own college, which active hackathons on Unstop, Devfolio, or Devpost are actually worth applying to right now? Open to beginner-friendly, AI/Python, or open-innovation tracks.
Also, any tips for a first-timer on finding teammates or picking a problem statement would be super helpful!
r/CodingForBeginners • u/Mundane-Childhood863 • 3d ago
As a student learning to code, programming books are something i am looking into. I want to get the complete picture from base up, build a strong foundtion. I am particularly interested in - Programming fundamentals and computer science in general. Web development (HTML, CSS, JavaScript). Frontend and backend development. Full-stack development. Overall software development concepts and best practices.I'm open to books for complete beginners as well as ones I'll be able to grow into as I gain experience.
r/CodingForBeginners • u/goofspheredaa • 3d ago
Wanna learn c language, suggest me lectures, or any other material
r/CodingForBeginners • u/aajsbak19376373 • 3d ago
I have 0 knowledge on anythong coding related and im following a tutorial (https://youtu.be/ix9cRaBkVe0?si=flrH6JpjhOJuwbTO) on which im on minute 6:52 and i cant see what im running, the green result of what i write is not there. Whats there is just some default info????
r/CodingForBeginners • u/Much-Resolution-9131 • 3d ago
I would owe the world and more to whoever helps me
Okay so hi everyone, i'm fairly new to programming and recently i challenged myself to program something in C, i wanted to make a gui calculator bcs i thought it was fairly simple.
Turns out it's not that easy, and i discovered i had to download gtk4 and learn it, and i'm willing to do that i just need some help on how to download it, set it up and link it, preferably on codeblocks, but vs is great too.
r/CodingForBeginners • u/Gullible-Mix5840 • 4d ago
I've struggled learning how to code ever since I was in second year and I'm currently flon course to graduate next month and I don't know what to do.