Getting started with C
Posted: Tue Jan 24, 2017 1:06 pm
Hi all,
I have a Python app which I want to rewrite into C. The problems I hope to solve by this is the following:
Coming from a semi-programmer background, but not used C before, I need a little help to get started. Do anyone know any good tutorials to help me get started with the following:
Any input is appreciated!
I have a Python app which I want to rewrite into C. The problems I hope to solve by this is the following:
- Portability. With C i can code/compile using my x86 server and then cross compile it for ARM and there fore making my app available to RPi as well as other ARM based systems. Is this possible?
- Standalone binary. With gcc I can compile my C code into a standalone binary without any dependencies, correct? I want to make my app to be able to run regardless of what's preinstalled.
Coming from a semi-programmer background, but not used C before, I need a little help to get started. Do anyone know any good tutorials to help me get started with the following:
- Working with simple arrays.
- Read text files from system and parse them (explode strings and put substrings to an array).
- Working with http post (can be done with libcurl or should I use something else?)
- Creating small functions files to be included with simple mathematical functions.
Any input is appreciated!