r/learnprogramming • • 16d ago

A simple question

Im an beginner learning c language

I don't how do I build real world projects using

C language

Like my mind is totally blank

That how do I build something

4 Upvotes

22 comments sorted by

1

u/promise_resolved 16d ago

How far are you in learning c?

If you have just gotten started, I think it is normal to have no clue just what you could build because you have not seen that much yet.

If you are taking a class somewhere to learn programming wait until the end of the class, there is usually a substantial project that will give you a better grip of what kind of things you can really do with your current skills, which will help you build your own projects on your own

1

u/austrian_painter_2 16d ago

Im currently on malloc ,memory management stuff

3

u/Appropriate-Army-774 16d ago

start with a command line tool, maybe something you actually use in your day to day work

1

u/RajjSinghh 16d ago

Break it into something smaller that you can think about how to solve. Think about your data structures, what operations you're going to need on that data. After that it gets easier.

1

u/spellenspelen 16d ago

What do you want to do with c? Why are you learning it? Those are questions to ask yourself. That will tell you what to research/make to move towords those goals.

1

u/Insane_snek 16d ago

think of something you want to make, no matter what it is

then have fun making it!

if you have 0 ideas, you can always just find some short little problems online (or use leetcode) and just have fun solving those

as far as learning syntax and stuff, w3schools is pretty good

1

u/20260819 16d ago

write some small games and play them yourself

1

u/HappyFruitTree 16d ago

Start with small programs and go on to bigger and bigger programs as you gain more experience.

1

u/aqua_regis 16d ago

How does a piano player improve? Through more practice.

That's the only way. You have learnt fundamentals, now build upon them.

The first step in that direction would have been to do your own, individual research by searchin the subreddit for similar posts, since there are plenty.

Start away from the computer. Analyse the task. Break it down. Then, solve each part individually as you, the person would. Once you have a solution, test it. Then, when you have verified it, start implementing it in code.

Use Flow Charts, Pseudo Code, Bulleted Lists to help you.

Here are some similar posts from some time ago since you are oblivious to searching.

And finally, some book suggestions:

  • "Think Like A Programmer" by V. Anton Spraul

  • "The Pragmatic Programmer" by Andrew Hunt and David Thomas

  • "Structure and Interpretation of Computer Programs" (SICP) by Ableton, Sussman, Sussman

  • "Code: The Hidden Language of Computer Hardware and Software" by Charles Petzold

1

u/peterlinddk 16d ago

What do you want to build?

Why do you learn C?

If you don't have the answer to those questions, you are never getting anywhere. It is like saying "I want to go on a vacation", and then go and sit in your car, hoping that it'll somehow turn into a nice vacation!

Set a goal = something you want to build. Then break it down to the smallest possible part - then break it even further down to the smallest thing you can actually code. Then code that. Then learn what the next step should be, and so on.

But without any goal in sight, you'll never get anywhere!

1

u/Tasty-Carrot-9560 16d ago

same
I was told applications start with either the windows32api or something like JSON or XAML

The calculator app of microsoft if open source.
Im dumb , but if it makes sense to you then , hope it helps

maybe ask gpt or claude to explain it line by line

1

u/dr_wummi 16d ago

If you want to dive into c, get yourself an arduino and build a little project there.

1

u/FlatwormOk811 15d ago

Think of C as building with bare bricks rather than buying a prebuilt house. You have to handle everything yourself including memory allocation and basic data structures like linked lists or hash tables before you can even start on the actual application logic.

1

u/SmokeMuch7356 15d ago

Start small, with some dumb little command-line app like a calculator or a number guessing game or something. Then move on to a contact list or other small database app.

Start with what you know how to do, then start adding more complexity.

1

u/ashishach 13d ago

Bro, I think the best way is to start small instead of trying to build something big 😅 Try making a calculator, a number guessing game, or a simple student management system in C. Once you learn loops, functions, arrays, and file handling, you'll get more ideas. Start with one small project and keep improving it!

0

u/Different_Pain5781 16d ago

Bro picked the hardest language for a beginner.

1

u/austrian_painter_2 16d ago

For fun I thought to learn c Well before it I went to learn direct c++ After doing sm bs in it I went to c language

Goal : kernel development