r/C_Programming • • Oct 27 '26

Question Where do i go now?

I started C in my clg last year but it was super basic. Stuff like basic pointers and variables. Before this i used to use python and even then the most i knew was numpy and basic pandas. But seeing the market today i realized i cant afford to be mediocre so i started learning C by heart. I use Vs code and an ubuntu terminal. Up until now I have USED AI to learn and make projects. I use ai to suggest me projects and sub divide them in small chunks so i can learn and program. If i get doubts i ask AI which has a 3 hint system before it reveals. Using it i got some knowledge of memory actually works, how sockets work, basic socket client/server interaction/setups and threads.

That is basically me rn in 1 month. Now i want to ask yall as a community, how do i proceed forward. What do yall suggest i can learn? Any AI objections and if i should drop it. Any book recommendation? Project recommendation etc. I would also appreciate hearing yall stories with C, abt yall experience and stuff.

Tldr: Use me as a sort of dummy block and speak off your mind whatever yall want to suggest/teach since it will help me out a ton.

22 Upvotes

27 comments sorted by

6

u/Several-Marsupial-27 Oct 27 '26

You are getting this completely wrong. You should not ask reddit about what you should learn to be employable since no one is going to employ you here.

You should "ask" your future employers about what they want their candidates to know. What this means is that you should just look through job postings on Linkedin that you find interesting and see what they are looking for in a candidate.

Very few jobs are in C nowadays and most C jobs are in embedded systems or operative systems development, which also requires other domain knowledge. Most jobs nowadays are probably in Java, C#, Python, Scala, Node, Go, etc. You are probably much better off learning C#, Java, Go, or python for backend development or data science/engineering and actually getting employable skills than playing around with basic C.

Look around for 10-20 job applications on Linkedin that you seem interested in, note down the merits/requirements, maybe put that into an AI or something, then go and learn that.

4

u/Far-Employee1082 Oct 27 '26

well my goal wasn't to learn how to be employable....its so i can be a good programmer...i wanna know abt intresting projects that ppl have done over the years. Jobs shouldn't be an issue if i become a great programmer in future for sure.

3

u/Several-Marsupial-27 Oct 27 '26

Fair. Then just continue learning about C, general programming and software patterns, development, testing, debugging, the abstract machine, memory model, standard library, infra, build/compiling, scripting, etc. It definitely helps your programming journey.

Some good project recommendations might be some CLI tool, gui program, game, web service.

However doing something in C quickly gets very complicated and I would definitely not recommend you doing internetworking or game design in C other than for learning, since it sucks to manually have to control everything. I would definitely recommend getting down your C fundamentals, then move to C++, or Rust for application development, like gui, game, or web service development.

9

u/NukiWolf2 Oct 27 '26

Learn assembly language. It's easier than you think and good to know when programming in C or other languages that result in machine code. I'd recommend MIPS for the beginning. There's also a MIPS simulator called MARS (https://dpetersanderson.github.io/) making it really easy to execute/test and debug some assembly code that you wrote.

Next, get a development board with an Arm Armv7-M or Armv8-M processor and write some C and assembly code for it. It's nice, because then your executable is all that is running. I.e. there's no underlying operating system and no other threads that steal your CPU time. You can get e.g. an evaluation board from STM. They have e.g. discovery (many peripherals but more expensive) and nucleo (only few peripherals but cheap to very cheap) boards. They also have on-board debuggers that are used to load your executable into the device's non-volatile memory and to debug the processor. You just need to connect the board via USB to your computer.

Then you can e.g. try to get ethernet, USB, or whatever peripherals the board has to work, write your own (real-time) operating system, and so on.

3

u/Far-Employee1082 Oct 27 '26

Ahh i always wanted to try embedded systems but sorta wondered where to buy parts for it. Will try assembly tho. I thought of learning it to flex on my class XD

6

u/NukiWolf2 Oct 27 '26

Usually, such boards are easy to get. STM Nucleo boards can even be bought on Amazon. Else, you can check the website of device manufacturers like STM, NXP, Microchip and so on, because they should list shops where you can order their boards. Or just google the board name and something like "buy".

4

u/DrShocker Oct 27 '26

Do projects. Maybe an http server? A simple platformer game? Standard CLI tools in Linux? We can't know what will capture your interest so try a variety of things.

2

u/Far-Employee1082 Oct 27 '26

OH OH i did make an http server :D thats actually how i learnt sockets and threads and it was really fun. actually i dont know how many options i got. So far i have seen embedded system that looks fun but maybe there are more applications of c idk yet abt.

2

u/DrShocker Oct 27 '26

Ryan Fleury has some good blog posts/videos about how he likes to be productive in C that I think are decent. I would definitely encourage you to learn about memory arenas about now since you've had some time to do the manual malloc/free thing, but it's worth seeing other strategies that exist.

4

u/thecratedigger_25 Oct 27 '26

Learn raylib. It's easy to get a game loop going in C. You can also add raygui.h to your project to make it easier to draw buttons and stuff.

C99 is one of the easiest versions C you can learn. Only 37 keywords. But if your pair that with assembly in your c code, you can make just about anything.

As for compilers, I use tinyc compiler by Fabrice Bellard. It compiles pretty much instantly and makes the binary size insanely tiny. So if you want to do embedded systems, tinyc has you covered.

1

u/Far-Employee1082 Oct 27 '26

As of now im using C11 (embarrassingly never knew what version of C i was using), I might try your recommended compiler since till now i have only every used gcc. Goggled what raylib is, I will use it on my next projects once i start testing it with more clients.

5

u/tastygames_official Oct 27 '26

how does one learn and get good at anything? read books on the topic and do examples enough until you can start to solve a real problem or do a real task with your knowledge.

https://www.oreilly.com/library/view/c-programming-language/9780133086249/

"the" book for C begginers and experts alike. As for stuff to do/try out, just think of literally anything: a calculator, a day planner, a stock market analyser and predictor - the sky's the limit! just keepgoing and going, reading and learning and writing and failing and getting back up again...

1

u/minhtrong789 29d ago

I went to cpp.com and test every keywords and libraries there. Then I remake git. I never read books because author always try to say or convince something and I think AI do that better. Moreover, what I need from coding is code, not to see fancy words.

What do you think about sitting down and test keywords of the language and its standard libraries method?

1

u/Far-Employee1082 28d ago

never tried it so i might this weekend

1

u/Skibidibob4 Oct 27 '26

Try cpp idk

1

u/Far-Employee1082 Oct 27 '26

what is cpp?

ahh you mean c++?

2

u/Skibidibob4 Oct 27 '26

Yea

1

u/Far-Employee1082 Oct 27 '26

will definitely try it once I'm very proficient in C.

1

u/FreeLogicGate Oct 28 '26

You really don't have to wait for that, because C++ is a superset/extension of C.

2

u/QuirkyImage Oct 28 '26

Learning C as a language doesn’t take long at all. Using it the language well and the standard library does.

1

u/Puzzled-Garage584 27d ago

I'd go back to that server instead of starting fresh. Rebuild it with -fsanitize=address, then separately with -fsanitize=thread, and hammer it with a few hundred clients at once. TSan will show you all the ways your threads have been gossiping behind your back, and I'd skip the AI hints for those bugs, staring at that output is where C actually sinks in

0

u/[deleted] Oct 27 '26

[deleted] — view deleted comment

2

u/Far-Employee1082 Oct 27 '26

terminal has definitely been my weakest part so i think i should definitely try curses. Wont know until i try :P

1

u/Dazzling_Music_2411 Oct 28 '26

In that case also practice using/parsing argv[] in order to pass parameters.

Initially manually, and when that gets too hairy, using bison.

12

u/Dazzling_Music_2411 Oct 27 '26

Yup, one more upvote for ncurses.

Also learn flex/bison.

Study Sedgewick's Algorithms in C in detail.

Work with Raylib.

Learn some Linux system programming in C. Look at Robert Love's books.

2

u/thurizas123 Oct 27 '26

I'll add an upvote for Sedgewick's book. You might want to study (and implement) various data structures in C (I can't remember is Sedgewick covers them first). At least I would study and implement
a) link-list (also doubly-linked and doubly-headed linked lists)
b) priority queue and friends max-heap, min-heap and binary heap
c) binary search tree
d) graph

I also second a Linux system programming book, I used "The Linux Programming Interface: A Linux and UNIX System Programming Handbook" by Michael Kerrisk, so I can't speak to the differences between Kerrisk and Love's book.

I'll suggest "The C Programming Language" by Ritchie and Kernighan. The book is dated, however it can serve as a source of medium- to medium-hard problems.

1

u/evo_zorro 25d ago

Not sure I'd talk about ncurses and then say GUI in C is tough. GTK is pretty straightforward IMO, but the landscape is a bit fragmented and docs are rather old school and difficult to find with gtk searches often ending up in python bindings or what have you. I'm just saying this because ncurses is basically to terminal interfaces what GTK is/used to be for gui work both are pretty quick to pick up. OP mentioned using python so GTK itself is pretty easy to learn the core concepts of via some other languages with the blindings.

Still, it has its quirks, so ncurses is probably worth prioritising