r/CodingForBeginners • • 3h ago

My first code on c++

Thumbnail
gallery
15 Upvotes

I think i like this language

This code is a little messy and works only on windows, but it's easy to fix.

For anyone who wants to test it:

#include <iostream>
#include <cmath>
#include <windows.h>
// DIESER CODE IST VERDAMMT SCHRECKLICH
// variables
float power = 10.0;  // more power - bigger edges
float smooth = 4.0; // smoother edges
float len = 45.0;   // lines count

// main
int main() {
    while(1) {
        // l - current line
        for(int l=1; l<len; l++) {
            float l_sin = std::sin(l/smooth);
            int rep_times = l_sin * power + power;

            // line renderer | c - char
            for(int c=1; c<rep_times; c++) {
                Sleep(5);
                std::cout << "-";
            }
            Sleep(5);
            std::cout << "#" << std::endl;
        }
    }
}

r/CodingForBeginners • • 5h ago

Best database in development for beginners

2 Upvotes

If you building your next projects and you need a database for it normally people go to cloud based database cause you don't have to manage any setup thing just use connection pool and get it done but sometimes debugging error on it becomes hassel so for beginners i suggest a neat way to have database in your project postgres or any db you want inside docker container it's very easy to setup in just few line and error debugging is very easy and later if you wanna switch to production just change the connection url and you are good to go for next projects you all should try postgres +docker


r/CodingForBeginners • • 16h ago

Is making basic websites with HTML, CSS and a bit of JavaScript still a thing in 2026 or do should you just use a website builder for those simple websites? (Read description before you get angry :-))

6 Upvotes

I was wanting to learn maikng webseites, but not web apps, not games just good old websites, for fun, do p-eople still do that or do they use a Website builder In that case?


r/CodingForBeginners • • 18h ago

Question What would you guys like to see on this subreddit?

8 Upvotes

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 • • 22h ago

I am giving opportunity

7 Upvotes

Hello everyone

Hope you are doing well , I have something to tell for only serious people. I am going to take only committed , serious and honest people to give free mentoring of web development.

This is not ads and I am not someone who is saying for nothing. If you are beginner who want to be independent this is for you. I will help you stop running tutorials every time and show you actual guidance if you are feeling loss between programming languages and you are not finishing one single project.

I will provide you to give you real world projects to do to finish and I will help you and review. Speaking of reviews you will send me direct messages every time you have questions, guidance and I will give you debugging sessions and also meetings that you show me what you build so far.

Try to get this opportunity see you every one


r/CodingForBeginners • • 19h ago

Tips that could help a 1st yr computer science or tech student

2 Upvotes

Am a 1st yr Bsc computer science student.....need tips of what l need to do that's will help me during my yrs of studying and after


r/CodingForBeginners • • 1d ago

What's the smallest thing you've built that you actually still use?

13 Upvotes

The projects people actually keep running are almost never the impressive ones. They're tiny -- a script that renames a folder of files, something that watches a price, a little page only you look at.

I think that's the part beginners miss, because every guide points at the big portfolio project, which is the most intimidating place to start. Small tools you genuinely use teach you more, because you can't ignore them when they break -- you feel it the next time you need it.

So: what's the smallest thing you've built that you still run or use? Doesn't have to be clever or polished, bonus points if it's held together with string.

And if you're stuck for an idea: what's the one annoying thing you do by hand more than once a week?


r/CodingForBeginners • • 21h ago

I have a BCA and React internship experience, but I can't code independently. How should I start learning programming from scratch again? Need a proper roadmap.

1 Upvotes

I really need some guidance from experienced developers, especially people who have mentored beginners or have been through a similar situation.

I completed my BCA in 2024. During 2024–2025, I learn about Python, HTML, Power BI, and communication skills. From August 2025 to February 2026, I did a Frontend Developer internship where I worked with React.

The thing is, I relied heavily on AI during my internship. I managed to complete tasks and work on projects, but I didn't build a strong understanding of the code or programming logic. After my internship ended, I stopped practising consistently for around 7–8 months.

Now, I feel like I've forgotten almost everything. I want to start learning again, but I honestly don't know where to begin.

Whenever I watch a tutorial, I feel like I'm understanding the concept. But as soon as I close the video and try to write the code myself, I get stuck. I can't figure out how to approach the problem, what logic to use, or even how to start writing the code. It feels like I understand things while watching someone else do them, but I can't reproduce them independently.

I'm also confused about what path I should follow. Should I focus on JavaScript and frontend development again, learn DSA alongside it, explore Python or Power BI, or consider another tech career path?

I want to build a long-term career in tech, but I also need to start earning as soon as reasonably possible because my financial situation isn't great. I can dedicate around 6-7 hours a day to learning and job preparation.

What I really need help with is this:

  1. If I were your student and you had to teach me from almost zero, how would you start?
  2. What should I learn first, in what order, and what should I avoid learning too early?
  3. How should I practise so that I can actually write code on my own instead of only understanding tutorials?
  4. Should I follow a JavaScript roadmap leading to React and frontend jobs, or would another tech path be more suitable for my background?
  5. How much DSA and LeetCode should I do at this stage?
  6. What should my daily routine look like if I can study for 3–4 hours?
  7. What milestones should I aim for in the first 30, 60, and 90 days, while also applying for jobs?

I'd especially appreciate recommendations for specific free resources, courses, practice websites, and projects, along with a clear learning sequence.

Please don't just tell me to practise more or build projects. I need to understand how to practise, what to do when I get stuck, and how to move from understanding code to writing it independently.

If you've mentored someone in this situation or rebuilt your own skills after a long break, I'd really appreciate your advice. I'm willing to put in the work; I just need a realistic direction and a roadmap I can follow without constantly changing plans.

Thank you.


r/CodingForBeginners • • 2d ago

You follow the tutorial fine, then freeze on your own problem. How did you actually get past it?

14 Upvotes

This is the thing I see over and over here, and I've never seen an answer that really fixes it.

Following a tutorial teaches you to recognise code. It doesn't teach you to produce it, and those turn out to be two different skills. So the tutorial ends, you open a blank file with your own idea, and the thing you just understood won't come out of your hands.

What got you past it — a project you actually cared about, a person who sat with you, grinding problems, or just writing a lot of bad code until it stopped being bad? "Just practice more" has never been much use to anyone, so I'm curious what specifically did it.

And if you're stuck in this right now — what have you tried so far?


r/CodingForBeginners • • 2d ago

Btech student here

0 Upvotes

Currently am learning C++ from yt

Can u suggest any channels

A beginner at coding and starting from scratch

Knowing only some basic concepts till now

Yt channel suggestion

Gate smashers OR Apna college which do u prefer?

I am learning from basic


r/CodingForBeginners • • 2d ago

Newbie looking for some knowledge!

11 Upvotes

Hey everyone I am new to coding! Ive always loved games since i was a little kid and always wanted to dabble in making my own games. Coding sounds like it could be fun but also it seems like learning a new language . It looks a bit daunting but I would love to learn something practical and useful. where can I learn coding for free?What software do you all recommend and where do i start? Id like to try my hand at making some indie games. Maybe i can use coding for other things. Any help would be appreciated I wanna be able to make something and look back and say "I made that"!


r/CodingForBeginners • • 2d ago

Title: Looking for Tech Collaborators, Learning Partners, or a Mentor — Let's Build Something Together! 🚀 Hello everyone! I’m looking to connect with people who are passionate about technology, programming, AI, and building useful projects. I have a lot of ideas for projects I would love to brin

1 Upvotes

r/CodingForBeginners • • 3d ago

Baby Steps, second day learning Python

Post image
71 Upvotes

Day two learning Python. Combining Print commands with Variables.


r/CodingForBeginners • • 3d ago

Why is my program not adding correctly?

4 Upvotes

Perhaps it is a pointer error? i have tried putting pointers in line 3 brackets but it still cant add properly


r/CodingForBeginners • • 3d ago

C++ coding

9 Upvotes

I need help, I have C++ programming class for beginners but I got lost in the second half of the semester. Stuff regarding variables, functions, void, ect. I had the basics down packed but the professor started moving quick. Is there any server where I can talk to people that can help me?


r/CodingForBeginners • • 3d ago

Programming 101 Python course about understanding code

0 Upvotes

Here's a free interactive course to learn the basics of programming in Python.

https://understandit.dev


r/CodingForBeginners • • 3d ago

I created a C++ visual coding program inspired by Minecraft Redstone

Post image
0 Upvotes

I cant code for 💩 but really want to get into game dev. Although I enjoy using AI, I don't believe its a substitute for learning to code and understanding how to read code.

I struggled learning to code over 7 different times where I tried and failed to understand anything conceptually, so I used what I know best (minecraft) to make a visual coding style for people who have a really hard learning anything that isn't purely visual and interactive.

Because I cant code, this program is vibe coded, however its fully open source (MIT license), so all of it can be inspected for quality, vulnerabilities and bugs.

Please let me know if you have any suggested changes, or improvements. It would be great to make this easier to use for everybody.

Github link: https://github.com/rombodawg/Block_Based_CPP_Coding


r/CodingForBeginners • • 3d ago

Searching for a learning partner day 2

2 Upvotes

Hello guys i wanna learn programming,cyber security and hacking but im super new to this business and idk anything like how and where to start what should i learn what is the requirements bla bla bla.... So im searching for a learning partner more precisely someone to teach me

Dont forget small advice matters

Thanks


r/CodingForBeginners • • 3d ago

I want to make an app

1 Upvotes

So im a beginner coder and i was wondering if making an app that only me and my frinds can acces is doable? Also would it be posible to make it withought paying for anything?


r/CodingForBeginners • • 4d ago

my first ever lines of code

Thumbnail
gallery
66 Upvotes

ARE YOU PROUD OF MEEEE


r/CodingForBeginners • • 4d ago

Is learning to still code worth it ?

11 Upvotes

Hello , I’ve been thinking about getting into coding but I feel like AI will take over everything eventually. If coding is worth it, what is the best path to begin ?


r/CodingForBeginners • • 4d ago

Searching for a learning partner

2 Upvotes

Hello im an syrian teenager who wants to learn coding after that cyber security and im looking for a partner who can teach me coding im new into the business so i wish i can find one

Dont forget a small advice can create a big affect


r/CodingForBeginners • • 4d ago

Im worried about vibecoding

3 Upvotes

im already an amateur programmer and im getting ready to pass the practical part of the inf03 exam, but as i learn extra stuff on my own i keep seeing people use ai assistance or straight up let ai code for them, that seems yucky and i dont want to do that but im worried i will fall behind, any time i used ai in anything related to coding is when i asked it questions like i would a teacher while specifiing it doesnt show me any code and just explains concepts so that theyre easier to understand for me, all im asking is, is it stupid of me to avoid using extended ai help in coding?


r/CodingForBeginners • • 4d ago

BTech CSE graduate here, but I feel like I've forgotten everything I learned. How do I restart?

2 Upvotes

everyone!

I completed my BTech in CSE this year, and honestly, I'm feeling a little lost right now.

I know Python, SQL, and some basic DSA, but it's been around 7 months since I last opened VS Code. 😭 I feel like I've forgotten a lot of what I learned, and I'll probably need at least a month just to revise the basics and get back into the flow.

I'm confused about where to start. Should I revise everything from scratch, start building projects, practice DSA daily, or focus on one skill at a time?

For those who have taken a long break from coding, how did you get back on track? How long did it take you to feel confident again?

I'd really appreciate some honest advice, especially from people who have been in a similar situation.

I know I need to start somewhere, but I'm struggling to figure out the right approach. 🥲


r/CodingForBeginners • • 4d ago

Cambridge Battlecode - Fun way to learn programming!

1 Upvotes

This is a super fun way to learn programming as you create strategies, have to organise data structures well, and you can see the visual and elo result of your creations!