Hi all , I found that some are interested in C programming here. The printf/scanf stuff is largely an academic curiosity now a days. They do have a place in Command Line utilities which are supposed to be run from the Terminal.
The standard C library like stdio.h , stdlib.h and string.h are essential for writing software. But, to write modern programs one needs to step back a bit and view the C/C++ landscape as a whole , to become a developer who can write C/C++ code for a living. The GCC is the compiler for writing C/C++ programs under Linux,MAC OS X and even Windows . The compiler drivers are gcc and g++. They compile and link the program to produce executables ( a.out by default ). The biggest issue for college students is the fact that they got introduced to Turbo C/C++ ,a 16 bit compiler which is largely irrelevant for writing modern applications . Try to learn how to compile and link programs using GCC a) Compile and link a Simple C/C++ program b) Compile and link multi file C/C++ program c) Compile all the programs and Link Seperately ( using LD ) d ) Create static libraries e) Create dynamic libraries ( shared objects ) f ) Statically link to shared objects ( .so ) g) dynamically load shared objects If you learn all of the above steps , you are in a position to start producing some useful code. I had taken a session at the Developer track of ILUG Kochi ( last june ) and Sinu john has posted an excellent entry in his blog which is available @ http://sinujohn.wordpress.com/2010/06/06/a-quick-introduction-to-gcc/ Once you are familiar with the above stuff , you can visit my blog @ http://praseedp.blogspot.com/p/gnu-linux-programming.html ( There are 39 entries regarding GNU C/C++ Programming , .so , .a , Posix calls , Self modifying code etc ). Those are the programs which i wrote to transport my Windows Programming Skills to GNU Linux. Might be useful. I can suggest some books here a) Beginning Linux Programming b) C++ GUI Programming using Qt 4 ( The BOOK ! ) c) Advanced Linux Programming ( available online ) d) C Programming Language and C Answer book ( The C Book ! ) Try to learn what is Xlib programming ,by writing some toy programs . Once you understand the Xlib programming model ( The programming model which I used to program under SCO unix ), learning WxWidgets , Qt or GTK+ is not difficult. If some group is interested , I will be able to take a workshop on this. Pls. let me know ! regards Praseed Pai http://praseedp.blogspot.com --- On Thu, 11/4/10, Faisal Fiza <[email protected]> wrote: From: Faisal Fiza <[email protected]> Subject: Re: [ILUG-Cochin.org] Indefinite loop in C To: "This List discusses GNU/Linux & GNU, GPL Software " <[email protected]> Date: Thursday, November 4, 2010, 12:39 PM google -:) >Linux system programming by robert love would be a good start other ref are >POSIX stds and SUS, >to understand how these function behave, man (2 / 3) are >other source. On 4 Nov 2010 13:44, "shibin k reeny" <[email protected]> wrote: i would like to know that from where did u get this information from,can u share that.. On Thu, Nov 4, 2010 at 2:10 AM, Faisal Fiza <[email protected]> wrote: > > > stdout is bu... _______________________________________________ Indian Libre User Group Cochin Mailing List http://www.ilug-cochin.org/mailing-list/ http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org #[email protected] -----Inline Attachment Follows----- _______________________________________________ Indian Libre User Group Cochin Mailing List http://www.ilug-cochin.org/mailing-list/ http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org #[email protected]
_______________________________________________ Indian Libre User Group Cochin Mailing List http://www.ilug-cochin.org/mailing-list/ http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org #[email protected]
