LinuxQuestions.org
Review your favorite Linux distribution.
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 06-09-2007, 07:33 PM   #1
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Advise on programming howto's


Some time ago I decided I need some more hands-on experience in programming. Searched the web, found a lot of tutorials with various degrees of usability for a novice (which I still am) and created a little bash script for starting my wireless card on Debian Etch at boottime. I was thrilled when I got that to work Later I wrote another script, automating starting up a virtual machine with Qemu and giving it some more RAM then the default 256 MB. In the mean time, I purchased a book on C++ programming by Bjarne Stroustroup, translated in my native language (Dutch). I must say that it's very abstract and I haven't finished it yet (not even halfway) because of this.

Can you recommend books, online howto's, etc for a novice to start understanding how to program? I have a basic understanding on statements, variables, loops, etc as I used to read books on microcontrollers (PIC, 8051 derivatives) and their assembly languages. Not that I ever wrote a program for a microcontroller, but it did teach me some basics of how hardware works on a bit/byte level.

I'm working on Debian Etch (no M$ crap here) but I prefer learning "platform independent" programming so porting the application I have in mind to another arch or OS could be relatively simple. The program also requires some real-time detection on a regular base, so it should be fast.

If you've read this far: thanks!
 
Old 06-09-2007, 07:48 PM   #2
wjevans_7d1@yahoo.co
Member
 
Registered: Jun 2006
Location: Mariposa
Distribution: Slackware 9.1
Posts: 938

Rep: Reputation: 31
It's difficult to know what to recommend, because I don't know what you've seen already, and how what you've seen already is insufficent. I might be suggesting something you've already tried (in which case, please forgive this answer), but if you haven't google this:

Code:
C++ tutorial
I found Bjarne Stroustrup's book helpful, as you did. (For some perverse reason, I always want to call him Bjarne Bootstrap.) That book has zillions of exercises. One good thing about these exercises is that they help you get your feet wet, so the concepts don't seem so abstract. So if you haven't tried the exercises, try some in the earlier chapters that might have seemed simpler to you. That should make you more ready to absorb the later chapters. I think.

Hope this helps.
 
Old 06-10-2007, 04:13 AM   #3
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Original Poster
Rep: Reputation: 124Reputation: 124
Thx for your reply. That search string was exactly what I used initially and it yielded many hits of varying degrees of usability. I'll have another look at the book and try some of the exercises. I skipped those as most of the time I read the book (during brakes at work) there wasn't a suitable computer around for trying it
 
Old 06-10-2007, 07:16 AM   #4
dmail
Member
 
Registered: Oct 2005
Posts: 970

Rep: Reputation: Disabled
Stroustrup's book is very much a reference book like K&R is for C.
Quote:
Can you recommend books, online howto's, etc for a novice to start understanding how to program?
Maybe Accelerated C++ Practical Programming by Example
http://www.acceleratedcpp.com/

C++ Standard Library - A Tutorial and Reference
http://www.josuttis.com/libbook/

Then theres the effective series by Meyers,Stroustrup etc.
It really depends on how big your pockets are, or how good your local library is

Last edited by dmail; 06-10-2007 at 07:25 AM.
 
Old 06-10-2007, 10:28 PM   #5
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Free online, as well as in print, and one of my preferred tutorial-oriented authors, Thinking in C++ by Bruce Eckel.
--- rod.
 
Old 06-12-2007, 09:50 AM   #6
xhi
Senior Member
 
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065

Rep: Reputation: 45
Quote:
Originally Posted by theNbomr
Free online, as well as in print, and one of my preferred tutorial-oriented authors, Thinking in C++ by Bruce Eckel.
--- rod.
i would second that, especially for starting out.
 
Old 06-12-2007, 10:07 AM   #7
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Hmm. Now that I read my own posting, it looks like I should clarify. The hardcopy version is not free. I suppose that might be obvious, but the wording of my original post might have sounded to some as if the hardcopy was free. Nope, just the online version. I find the combination of searchable online version + printed hardcopy (with scribbled notes and read-anywhere capability) is the perfect resource format.
--- rod.
 
Old 06-12-2007, 11:30 AM   #8
taylor_venable
Member
 
Registered: Jun 2005
Location: Indiana, USA
Distribution: OpenBSD, Ubuntu
Posts: 892

Rep: Reputation: 43
Quote:
Originally Posted by Dutch Master
I prefer learning "platform independent" programming so porting the application I have in mind to another arch or OS could be relatively simple. The program also requires some real-time detection on a regular base, so it should be fast.
Check out Erlang. The language was originally invented at Ericsson for use in telephone switches. It makes a lot of things (concurrency, soft-realtime, error-recovery) very easy. It also runs on a virtual machine, so the same source code you write will work anywhere the VM runs. You can also byte-code and native compile Erlang. There are some tutorials online, plus manuals on the Erlang website, and the Pragmatic Programmers have a book coming out about it. I'm no expert, but having written my website in Erlang, I must say its a fascinating language. I hope to dig deeper into the concurrency, distribution, and error features this fall when I have my web applications class.

Last edited by taylor_venable; 06-12-2007 at 11:31 AM.
 
Old 06-13-2007, 05:19 AM   #9
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Original Poster
Rep: Reputation: 124Reputation: 124
Thanks guys, I'll take a look at Erlang, sounds promising.

@theNbomr: I surfed to the Eckel site and already concluded that the online version is free and the book isn't.
 
Old 06-13-2007, 03:15 PM   #10
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Why hasn't anyone mentioned Java yet? I mean, if it needs to be portable...
 
  


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
cant rsh without password dispite following howto's! SourCreamAndOni Linux - Software 2 08-09-2009 04:11 PM
Fedora HowTo's, Tutorials, Documentation? deathman Linux - General 1 12-07-2006 06:54 AM
HOWTO's ubuntu2 Linux - Software 2 09-27-2005 08:02 AM
Diskless (Howto's my ****) a few scripts aufomechanic LinuxQuestions.org Member Success Stories 1 02-20-2005 03:51 PM
In search of simplified Howto's (compiling kernel) ThrobberTon Linux - Newbie 1 12-02-2002 03:47 PM

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

All times are GMT -5. The time now is 10:23 AM.

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