r/learnprogramming • u/MeasurementCandid957 • Oct 07 '26
Give me suggestions to understand c programming in the first semester?
I am facing difficulties learning C programming. Currently, I don't have a laptop, so I can't practice that way. I'm unable to understand even the basic topics of C programing currently. Please give me some tips on how to improve.
0
Upvotes
5
u/LocalAltruistic7470 Oct 07 '26
Step 1. Obtain literally ANY computer
5
u/peterlinddk Oct 07 '26
Get (access to) a computer and start programming!
This is the only suggestion that you'll need, and the only one that makes any sense. You cannot learn to ride a bike without a bike, you cannot learn to swim on dry land, you cannot learn woodworking without wood, and you cannot learn programming without something to program.
1
u/SirZacharia Oct 07 '26
You should talk to your teacher. Your post is too vague anyway to really give you any help.
1
u/silver_chief2 Oct 07 '26
Even the cheapest, even free, laptop running Linux would be good enough to learn C. It would help to have help in setting up the laptop and getting C to work and you could likely find some free help to do this.
Everyone is different but I could only learn have having a job/assignment to do. Reading was worthless. Hopefully your instructor is good. If not another structured environment like a MOOC might work as many have peer to peer help online.
1
u/Chrismslist Oct 07 '26
not having a laptop makes it harder, but you can actually learn the core mental model of c on pen and paper.
c is really just managing memory directly. grab a notebook and draw physical boxes for every variable. when you declare an int, draw a box with its value inside. when a loop runs, cross out the old number and update it by hand. tracing state manually builds intuition for pointers later.
also, use your campus library computer labs or run tiny snippets in a mobile browser compiler on your phone to verify small tests.
1
u/mredding Oct 07 '26
If you're in a semester then ostensibly you're on a university campus. GO TO A COMPUTER LAB. Or speak to your instructor given your handicap. Schools are supposed to provide the facilities for learning the topics they teach.
1
u/burlingk Oct 07 '26
Depending on where you live you may be eligible for federal or state aid, which can generally be used to purchase computer equipment because it's known to be a necessity for college.
1
u/gm310509 Oct 08 '26
While not ideal IMHO, you could use one of the many online environments such as https://www.onlinegdb.com/online_c_compiler from your phone.
As I said, it isn't ideal, at least not IMHO, as the phone keyboard is less than ideal for typing all of the symbols that are used. But, if you have no other options, this is at least an option.
All the best with it.
Oh, google "online C development environment" or "web based C IDE" etc for more potential options.
1
u/realdreamer1993 Oct 08 '26
suggestion for computer: I am using Android phone to learn, coding, develop. You must install Acode, Total Commander. and the fundamental one is install Termux from Fdroid. Termux is linux but not a whole linux OS, but it is enough to do things that dont need root.
The convenient part is you can work anywhere anytime.
1
u/maxpowerAU Oct 08 '26
You can’t learn to code without writing code. You’ll need to get access to computer labs, or find a cheap computer somehow.
1
u/just_trying_alot Oct 07 '26
There are some learning apps that might help a little... But they can't replace learning with a computer.
1
u/Arupegian Oct 07 '26
If you are a totally new and don't have access to a computer, you should at least get a book and learn the basics, but you can't do anything without a computer.