r/cprogramming • • 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)

0 Upvotes

12 comments sorted by

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/Brisngr368 3d ago

Honestly this guy reminds me of me during my first university degree, trying to an entire module of physics in a week. I read an entire module of lecture notes in 11hrs and somehow didn't fail. Thank god I am medicated now and can get an extension 😂

2

u/Humble-Captain3418 3d ago

Follow along the Beej.us networking tutorial and play with networking for two or three days.

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.

1

u/kutac56 3d ago

He is prob on phone

1

u/SmokeMuch7356 3d ago

...

Well, duh. I knew that, really.

Pay no attention to the old guy in the corner mumbling to himself.

1

u/kutac56 2d ago

I meant for at the top question

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/Humble-Captain3418 3d ago

I won't say it's impossible to learn enough C to pass an exam in a week, but it definitely is not a good way to go about it.

1

u/knouqs 3d ago

Yep, just depends on what the topics are. Let's see if OP responds.

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.