LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   [ASK]How to learn Linux System Programming? Any Advice? (https://www.linuxquestions.org/questions/linux-newbie-8/%5Bask%5Dhow-to-learn-linux-system-programming-any-advice-4175417731/)

keennix 07-20-2012 01:55 AM

[ASK]How to learn Linux System Programming? Any Advice?
 
Hi, Sorry for my bad grammar.
I'm here to ask some advice to learn Linux System Programming, actually I was at programming world since 8 years ago with various programming languages at Win32. But since past few years I was migrate to Linux, and I quite confused with how can I learn how to program at Linux. I tried to open some Linux program source code like ls, cat and something like that, but I still can't understand. I asked this to several forums but the answer I got is like 'learn C' or 'Start with Python' actually I'm asking for the System Programming like Win API at Windows. Where I should start? And If you have any resource on that please share it.

Thanks for your help.

eSelix 07-20-2012 03:32 AM

ls, cat, etc. are based on standard C library, so first is learning that. There is so many libraries, helping with programming (for ex. ncurses for controling terminal), that you just need to search what you want to achieve. If you looking for programming of graphical application (like Win API) you first need to choose which toolkit you want to use, main are GTK and Qt. I only known Qt, so if you choose that I suggest you to use QtCreator from nokia site (just download whole SDK for simplicity) or get it from your repository. This tool allow you to program console application too.

keennix 07-20-2012 03:59 AM

Thanks eSelix, that's really helpful. Well I've another question, I Googled for some papers about C Standard Library, but most of them are just gave me bunch of functions, well actually I find it's quite hard to understand. Do you have some recommendation for some step-by-step tutorial how I can use those libraries, or some papers maybe.

eSelix 07-20-2012 04:34 AM

Well, detailed description of each functions is everything I need to program, so I don't known where you can get better informations, maybe other members have good links. Did you saw this page, there are good explanation and sample codes? If you programmed 8 years on Windows you should be familiar with most of these functions, because this is "standard". And WinAPI also has similary named functions.

keennix 07-20-2012 05:36 AM

Quote:

Originally Posted by eSelix (Post 4733535)
Well, detailed description of each functions is everything I need to program, so I don't known where you can get better informations, maybe other members have good links. Did you saw this page, there are good explanation and sample codes? If you programmed 8 years on Windows you should be familiar with most of these functions, because this is "standard". And WinAPI also has similary named functions.

Yes about those functions. About networking it's almost the same, and IO it's also indentical. But the others I mean, like fork() I never heard of it before. But I found some good stuffs and some papers by the way, for this kind of functions. Thanks for your advice about the library gave me pointer where I should search and what I should search on Google. Thank you very much.


All times are GMT -5. The time now is 08:19 PM.