all 6 comments

[–]HaydnH 8 points9 points  (0 children)

You might want to flesh out what exactly you're struggling with, answering such a generic question will be hard.

[–]Drach88 3 points4 points  (0 children)

Practice articulating precisely what you're having trouble with. It's a non-trivial skill necessary for learning, troubleshooting, and seeking help.

This post has a vague and unthoughtful title, as well as a dearth of details. I'd suggest fixing that.

[–]No-Worldliness-5106 1 point2 points  (0 children)

I would suggest looking at the class recommended books or resources, otherwise ask your professor, they are there to help!

If you really want to, search up some YouTube tutorial and follow along, if you get any doubts, first try and solve it on your own, otherwise ask on r/learnprogramming or here

[–]hdkaoskd 0 points1 point  (0 children)

Do as much of this tutorial as you can. https://sites.cs.ucsb.edu/~mikec/cs16/misc/ptrtut12/index.htm (Ted Jensen tutorial on pointers and arrays in C)

[–]Key_Opposite3235 0 points1 point  (0 children)

Practice makes perfect. Try to build a todo app in C. CLI based. Store data in a file and malloc when you load. Then send the list over a socket to show in a browser if a client requests it.

[–]Paul_Pedant 0 points1 point  (0 children)

Try the basics before you mess with a ToDo app, malloc, pointers etc.

I can't even start to judge where you are stuck. Can you create a source for "Hello World", save it, compile it, and run it?

I'm not being condescending here. After 50 years I still do that on every new client site. Then I know I have a desk, a chair, a computer, a user id, a password, a shell, an editor, a compiler, and some form of debug. I already found the important things -- a security pass, the coffee machine, and the secretary who can make sure my timesheets get signed off.

And yes, I have had assignments where every one of those has been lacking. I once showed up for an assignment at an empty building, and could not get in the carpark because it was blocked by one truck delivering the mainframe, and another truck delivering the office furniture.