Hi everybody,
I hope I am posting in the right place and also hope beginners are welcome on the forum (I know some places are for experts etc only).
After years and years of web development using mainly PHP, I really want to get stuck into a language such as C and have been reading as much as possible recently.
I was hoping you could help me with a few initial queries I have and of course as I pick up, I will do my part in the forum.
The first thing is that I notice C data types reserve a different level of storage depending on the system they are installed upon, for example an int on a 64 bit machine could reserve 64 bits compared to an int on a 16 bit system reserving 16 bits for an int. This makes me think that the same program running on a different machine uses different levels of storage which makes me wonder how software developers can put recommended specs on their software when they may not be sure which type of system the program is running on.
The second item I have is that when I first looked at C, that must have been around 10+ years ago and I never fully got into it. How relevant is C today? I know C is what many popular current languages are based on however C itself I am completely in the dark over, no idea if its the best thing possible to learn or if I am heading down the wrong path here.
And finally (sorry - I know I will get some replies saying I am wasting people's time here), as I am coming from a web background, I am struggling to think of programs to build in C that will progressively challenge my learning, with web I can build a website, build an online CRM and so on, with C in a console window, I have no idea what to try and build really other than items such as calculators etc. I've googled for project suggestions however it mainly discusses c++ which I do not want to touch until I have properly covered C.
Thanks to anybody that helps, and as I say, hope I am posting in the right area and the right forum.
Thanks!