How to learn to program C the right way

Posted by sfactor on Stack Overflow See other posts from Stack Overflow or by sfactor
Published on 2010-05-16T00:19:44Z Indexed on 2010/05/16 0:30 UTC
Read the original article Hit count: 264

Filed under:
|
|
|

i have been programming in C/C++ for my academic courses a lot and was under the impression i had a pretty good grasp of it. but lately i had to work in a bluetooth application that had a server and client implementation in a Linux box and an embedded system. i learned bluez bluetooth API, socket/network programming and coded it.

however i ran into a lot of problems with memory leaks and segmentation faults and other memory related errors along the way.as the code grew more complex i all but lost control of the pointers and threads and sockets. this got me wondering that i had a lot to learn that they didn't say in the basic C/C++ books. so i wanted to ask for the resources that are available that'll help be code better in a professional way in C/C++ .especially for the Linux/Mac environment (gcc compiler).

© Stack Overflow or respective owner

Related posts about c

    Related posts about c++