r/cprogramming • u/Independent-Tune1860 • 3d ago
Help me
Guys I have question,
How the fuck can I learn c program in 5 days because my exam is coming in 5 days I m absolutely dumb guy and I don't have laptop as well as I m stroke patient since last 2 years where our 9 to 5 schedule is fully pack so I don't go in college and I don't have c language book as well I also want to learn matrix algebra, buisness mathematics, electronics their papers are also coming and I only their chapter
No student contact
No teacher contact
Only me and my fucking phone and you peoples
Please help me
(Btw I m doing graphic course in rehab because they provide us so that means I have 2 course 🥀😠help meeeee)
7
u/julesx416 3d ago
No offence but you are way out of your depth. You want to learn how to program without a computer? In five days?
If you aren’t curious or inventive enough to answer your own questions this isn’t the world for you
2
u/Humble-Captain3418 3d ago
Follow along the Beej.us networking tutorial and play with networking for two or three days.
2
u/CounterSilly3999 3d ago
https://www.onlinegdb.com/online_c_compiler
2
u/SmokeMuch7356 3d ago
If you don't have a laptop, how are you posting here? Genuinely curious.
Programming is something you have to learn by doing, so you have to have access to a system where you can write and run code. If you're posting from a shared or public system, you can use an online compiler like Matt Godbolt's Compiler Explorer; that will allow you to write, build, and run small C (and C++, and Ada, and Fortran, and ...) programs.
Check the links under "Resources" in the right sidebar for resources on C specifically.
If you're starting from zero, 5 days isn't a lot of time; it really depends on what the exam will cover. If you can start writing code, you can learn the basic anatomy of a C program, primitive types, simple I/O, some control structures, etc.
2
u/knouqs 3d ago
Sorry to say, the short answer is that you can't learn C in five days.
What would help us is if you post the topics of your exam so maybe we can point you in the right direction.
1
u/Brisngr368 3d ago
If youre attached to a university, alot of them will have an online library source, just check out the C programming book and read a few of the basic chapters and do whatever practicals they give you. When you get stuck in a practical go read the chapter on that problem till you figure it out. This worked for me when I was learning Fortran, anytime I got stuck i went and read the chapter.
And cppreference.com is your friend since its short af provided you can understand it (I struggle specially with Cpp). So if you don't know a function or whether or not something is possible go read the whole page on cppreference.com.
Oh and actually read your lecture notes (you mentioned a teacher so you should have them). If all else fails claim your grandma died or something idk.