C programming on Linux/BSD : which tools to use?


 
Thread Tools Search this Thread
Top Forums Programming C programming on Linux/BSD : which tools to use?
# 1  
Old 05-19-2009
C programming on Linux/BSD : which tools to use?

Hello there, i've lurked this forum for a while (in few month i will have been registered for two years) but this is my firts post.

Well, after having looked to C language as a black monster, i finally have decided to learn it, and to learn it very well!

So, i'm quite new to C, although i have alredy red something about it.
I come from Java and Python, which i have used for various task (gui-based programming with java, CGI programming with python, and similar).

Using theese languages, i've found interesting and useful tools/resources like "The Java API", or Overview — Python v2.6.2 documentation, and, automagic compilation and packaging of Java code (done by my IDE, NetBeans).



Well, right now i Switched to GNU Emacs for nearly everything (from mp3 playing to code-editing, passing by directory browsing).

But well, what are the common tools which i should learn and get used to when i write C code?
Does something like "The Java API" for the C language exist?


Keep in mind that my code will probably run under Linux or NetBSD, but since i thoroughly agree with one of NetBSD's purpose, being fully standard-compliant whenever it's possible, o would my code to be as standard-compliant as possible.


So, any hints/advice?


Thanks,

Freddie
# 2  
Old 05-19-2009
Java was derived - the syntax at least - from C.

The "API" is called the standard C library - For doing system things - like finding the number of blocks free on a file system - you need to read Stevens 'Advanced Programming in the UNIX Environment' If you plan to be a UNIX programmer buy the book. Used copies are fine.

Other than Stevens (or Marc Rochkind's 'Advanced UNIX Programming' or Troan & Johnson 'Linux Application Development' ) you really need at least one good standard C reference.

C Board is an excellent site for references -see the
C Book Recommendations thread - it has a lot of reviews of books done by programmers.

In general a word of caution - the site is flooded with newbie questions, so unless you follow the cboard rules and guidelines you get dumped on.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Confirming validity of programming language tools

so i have scripts that get run in ways similar to this: cat script.pl | perl - $1 $2 $3 cat script.rb | ruby - $1 $ 2 $3 my question is, how can i verify that that the "perl" or "ruby" or "python" tool being run on the box is actually a legit tool? meaning, someone may move the tool from... (2 Replies)
Discussion started by: SkySmart
2 Replies

2. UNIX for Dummies Questions & Answers

From iOS programming to Linux system programming

Hello. I like Linux and C programming language. Allways wanted to understand kernel and become a Linux system programmer. And I also like Objective-C and iOS. These two programming areas have relations: 1. Linux and iOS are UNIX-like systems, POSIX compliant. 2. It is useful to know C language... (2 Replies)
Discussion started by: Rockatansky
2 Replies

3. UNIX and Linux Applications

Unix/Linux/BSD

I'm planning to learn Unix/Linux as much as possible to be able to expert on Unix system. I have a few questions in regard to Unix system 1. How come they are so many different type of Linux, and do they follow same standard commands in the Unix system? I'm afraid of having so many choices... (6 Replies)
Discussion started by: mindful123
6 Replies

4. Programming

Linux BSD sockets blocking issue

I am using BSD TCP sockets under Debian Linux 2.6 and no matter what I do, the socket blocks on recv. I have set O_NONBLOCK and O_NDELAY using fcntl to no effect. Any ideas ? (3 Replies)
Discussion started by: johnmb
3 Replies

5. BSD

for linux and BSD users interested in Unix system V/bsd

for all you unix/linux interested heres an online book for free that covers the basics of BSD SysV Unix commands and applications . giving the average linux user a perspective on the differences in context of the two operating systems and for BSD users covers material as a refernce guide. ... (0 Replies)
Discussion started by: moxxx68
0 Replies

6. AIX

Programming Tools for Aix

I am searching for a good debugger and memory leak detection tools like for AIX. Right now we use Xldb for debugging, which is not bad, but detecting memory leaks is a pain... Unfortunately Purify is not aviable for the AIX plattform. DDD is not bad as an alternative debugger but he is... (0 Replies)
Discussion started by: Lazzar
0 Replies

7. UNIX for Dummies Questions & Answers

linux + bsd + solaris

I prepare to install linux distros , freebsd and solaris(totally 6 OS) in a 40G harddisk, but I fail to do it, so I would like to ask some question here. Can different distros share the same linux swap?or each distros need to have their own? I made 6 partitions(5 x 7G , 1 x 4G) and 256M(I... (8 Replies)
Discussion started by: jcheng
8 Replies
Login or Register to Ask a Question