LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-04-2016, 05:08 PM   #1
happydog500
Member
 
Registered: Dec 2006
Location: Washington St.
Distribution: Linux Mint 21, Windows 11
Posts: 308

Rep: Reputation: 5
Linux Programming "to the Importance to C Programming"


I've used Linux off and on for about 20 years, but didn't really get "into it," I just used it.

Since I've been getting into it more now, I wanted to learn it.

I was at a used book store and found, "Linux Programming in 24 Hours."

I looked inside and saw, the book was about programming in Linux, with "Importance to C Programming."

Looks like it's laid out quite good.

Since it was written in 1999, I was wondering how much has changed, or not applicable to today?

I didn't want to get the book and have someone after tell me they don't use C any more, that Linux quit using it 10 years a go, or something like that.

It's only $4.xx so I almost got in anyway, but didn't want a book that would throw me off, or go in a different direction.

How relevant is this book in today’s computer world?

Thank you,
Chris.
 
Old 11-04-2016, 05:23 PM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,235

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
I'd guess: 100 percent relevant

This book is free, and it's also 100 percent relevant today:

http://advancedlinuxprogramming.com/
 
2 members found this post helpful.
Old 11-04-2016, 09:22 PM   #3
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,783

Rep: Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083
Quote:
Originally Posted by happydog500 View Post
Since it was written in 1999, I was wondering how much has changed, or not applicable to today?

I didn't want to get the book and have someone after tell me they don't use C any more, that Linux quit using it 10 years a go, or something like that.
There might be a few out of date things, but C is still definitely very much in use, and not going away.
 
2 members found this post helpful.
Old 11-05-2016, 06:44 AM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,591
Blog Entries: 19

Rep: Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455
The whole of Linux is written in C and C++. It probably always will be.
 
Old 11-05-2016, 10:58 AM   #5
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,868
Blog Entries: 1

Rep: Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869
To be more precise it's C and Assembly.
 
Old 11-05-2016, 10:31 PM   #6
happydog500
Member
 
Registered: Dec 2006
Location: Washington St.
Distribution: Linux Mint 21, Windows 11
Posts: 308

Original Poster
Rep: Reputation: 5
I got the book. Looks like the 24"hour" lessons will take me longer. That's OK.

This book is laid out so nice. "Using a hands on approach..." "The carefully organized lessons cover the essential topics early and progress toward the more advanced features. Each lesson is is logically organized, full of examples, and has systematic instructions."

"After reading this book, you will be able to write professional applications, client programs, and server daemons that run under the Linux operating system."


I set a goal to make it so I understand, and can try and fix why my amd-apu, dual monitor doesn't work on any Linux distro or DE (about 15 of them).

Also, a long term goal I set is to, keep progressing long enough to make a init system, that is very good, and an not like systemd. Weather it's 6 months, 6 years, or 20, when you see a new distro named, "LinuxnosysdOS.amd-64.iso" that'll be me.

Thanks for the help, I'll keep you posted of my progress,
Chris.

Last edited by happydog500; 11-05-2016 at 10:34 PM.
 
Old 11-08-2016, 01:59 PM   #7
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Member Response

Quote:
Originally Posted by happydog500 View Post
I got the book. Looks like the 24"hour" lessons will take me longer. That's OK.

This book is laid out so nice. "Using a hands on approach..." "The carefully organized lessons cover the essential topics early and progress toward the more advanced features. Each lesson is is logically organized, full of examples, and has systematic instructions."

"After reading this book, you will be able to write professional applications, client programs, and server daemons that run under the Linux operating system."


I set a goal to make it so I understand, and can try and fix why my amd-apu, dual monitor doesn't work on any Linux distro or DE (about 15 of them).

Also, a long term goal I set is to, keep progressing long enough to make a init system, that is very good, and an not like systemd. Weather it's 6 months, 6 years, or 20, when you see a new distro named, "LinuxnosysdOS.amd-64.iso" that'll be me.

Thanks for the help, I'll keep you posted of my progress,
Chris.
I'm glad you're pleased with it. I agree with the format of that book. While I have the original Kernigan and Ritchie book from way back when, I really never got many other books because I learned from work necessity and thus immersion. I feel it is also a valid thing to consider, and that book also recommends it with the hands on approach. All programming is a combination of understanding the syntax, the options you have, and understanding what your code will really do once it is compiled. Getting involved in debugging code you have written, or even observing it in mixed source-assembly listing and following the path of execution using the debugger are all very helpful. It is also excellent to see what the optimizer does, where it takes advantage of data and pointers retained in a register.
 
Old 11-27-2016, 10:39 PM   #8
happydog500
Member
 
Registered: Dec 2006
Location: Washington St.
Distribution: Linux Mint 21, Windows 11
Posts: 308

Original Poster
Rep: Reputation: 5
Update;

I don't like this book.

Chris.
 
Old 11-27-2016, 11:23 PM   #9
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,268
Blog Entries: 24

Rep: Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195
Quote:
Originally Posted by happydog500 View Post
Update;

I don't like this book.

Chris.
That is pretty terse! Written in the initial bitterness of disappointment perhaps?

Please tell us the reasons for your dislike of the book as time and mood permit.
 
Old 11-28-2016, 07:00 PM   #10
happydog500
Member
 
Registered: Dec 2006
Location: Washington St.
Distribution: Linux Mint 21, Windows 11
Posts: 308

Original Poster
Rep: Reputation: 5
I thought when it said, "When you only have time for the answers" I thought that meant it explains stuff, without wasting so much time on things that don't matter.

The book "gives you the answers," but I don't know the questions. It uses words that are loaded, but I don't understand them. This book is almost impossible to learn on.

Illustration;

Here is a book I wrote. At the end I have a test, where you can check your answers. Here is the book;

1. Water
2. Sun
3. Car
4. dog
5. bicycle

Nice book isn't it?

Chris.
 
Old 11-29-2016, 07:48 AM   #11
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Try not get so very disappointed at a book you paid less than $5 for. It sounds as if you have a Linux distribution installed, so use GCC and GDB and start writing programs. Since your post already is in the Programming forum, you've found it. Look at the Sticky thread on C/C++ Tutorials at the top of this very forum. Look at the earlier posts, there are a lot of links.
 
Old 11-29-2016, 12:06 PM   #12
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,235

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by happydog500 View Post
Here is a book I wrote. At the end I have a test, where you can check your answers. Here is the book;

1. Water
2. Sun
3. Car
4. dog
5. bicycle

Nice book isn't it?
Actually, yes. Is it called "the components of a great life"?

Last edited by dugan; 11-29-2016 at 12:10 PM.
 
1 members found this post helpful.
Old 11-30-2016, 01:19 AM   #13
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
there is no "this or that in 24 hours", not even 21 days, what is the other title that is used for selling promises.

Learning takes time and praxis, at the begin you might feel stupid, if there is no one around who can help you it becomes more hard to step through.

But: Today's situation is so much more better than 10 years ago and so much much more better than 20 or even more years ago.
Today there is the internet, online courses, for free, youtube video lectures, ....
all this stuff did not exist years ago,
so actually learning something new today is fun, but do not trust promises on book titles, use the internt to reaearch about the quality of books, and be prepared that there is nearly no development topic where one book solves most problems/questions. A good book will give you some start up help and the knowledge how to ask the right questions. An than you need praxis and time..
 
Old 11-30-2016, 10:22 AM   #14
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,783

Rep: Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083
Teach Yourself Programming in Ten Years
By Peter Norvig
[it's a short essay]
 
1 members found this post helpful.
Old 12-01-2016, 07:09 PM   #15
happydog500
Member
 
Registered: Dec 2006
Location: Washington St.
Distribution: Linux Mint 21, Windows 11
Posts: 308

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by a4z View Post
there is no "this or that in 24 hours", not even 21 days, what is the other title that is used for selling promises.

Learning takes time and praxis, at the begin you might feel stupid, if there is no one around who can help you it becomes more hard to step through.

But: Today's situation is so much more better than 10 years ago and so much much more better than 20 or even more years ago.
Today there is the internet, online courses, for free, youtube video lectures, ....
all this stuff did not exist years ago,
so actually learning something new today is fun, but do not trust promises on book titles, use the internt to reaearch about the quality of books, and be prepared that there is nearly no development topic where one book solves most problems/questions. A good book will give you some start up help and the knowledge how to ask the right questions. An than you need praxis and time..
Sorry, yes there is "this or that in 24 hours." Especially Linux programing. You see, the "24 hours" is in quotes. The "24 hours" is how long it takes to read the chapters. You can read chapter 1, in an hour. It gives you a hands on approach, things to do. If you read a chapter in an hour, you can work on that, for a week, a month, or even a year. If it took you a month to 'get' chapter 1, you did it by reading a chapter, that took an "hour" to read.
This does not mean you can read this book, and in 24 hours time, you can program.

"use the Internet to research about the quality of books." Thank you for this information. Yes, this is very good advice for me. Thats why I posted on this forum, to do Internet research about the quality of the book. If you notice, I did the research before I bought the book.

I'd have to admit, I haven't really gave the book a chance yet. I just started reading and it was not what I expected. If I make an adjustment, then put real effort into it, I may post back and say its the best book I've read on the subject.

Thank you for your input.

Chris.
 
3 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Socket Programming making use of "select()" and "writefds" johncsl82 Programming 10 11-13-2011 12:27 PM
Linux programming "program to format an external storage device?" Karbon Programming 1 06-19-2008 05:45 PM
real time programming on Linux-2.4 " URGENT" mendiratta Programming 1 05-26-2005 08:20 AM
please bring back "linux>programming"! kervin LQ Suggestions & Feedback 9 07-13-2002 07:46 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration