Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Try an example project. There's tons online that give you an idea which you can then implement.
-
Listen to @fastnop. He is a C god. Do whatever @fastnop says. Even if it includes selling your neighbors soul to Walter Payton.
-
@Demolishun That's a bit exaggerated. ^^
@ITman Start out with simple stuff. Follow some kind of book or course. Make sure you understand each lesson thoroughly. Prefer slow learning progress over sloppy speed.
Understanding is crucial because while C is a rather simple language, this simplicity is treacherous like thin ice on a lake. Things can compile and even run, but still contain subtle and even dangerous bugs (i.e. security holes).
C has manual resource management (e.g. memory and files). You have to deal with potential errors manually, e.g. if opening a file fails. Always check errors, and also memory sizes before access (buffers, arrays).
Set your compiler to its maximum warning level. Never accept code with compiler warnings. If you don't understand them, google them until you understand what the warning means, and fix the code.
If your code doesn't do what you think it should, don't assume a compiler bug. That's exceedingly rare. It will rather be a bug in your code.
Related Rants
Hi i am new programmer i have start by c programming please help me any suggestions about programming
rant
new programmer