Thread: Linux c++ where to now

  1. #1
    Registered User tekhawk's Avatar
    Join Date
    Aug 2006
    Location
    USA Ca
    Posts
    25

    Question Linux c++ where to now

    anyone know where i can find a good linux geared c++ guide ive finshed most of the stuff this site had on generic c++

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    What do you mean?

    C++ is generic, so once you know that there is nothing more to learn.

    What remains is just a bunch of different APIs to various libraries which you can use to create your own programs.

    For example, most of the base operating system is covered by POSIX specifications.

    You could try reading sections 2 and 3 of the manual pages.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User tekhawk's Avatar
    Join Date
    Aug 2006
    Location
    USA Ca
    Posts
    25
    Quote Originally Posted by Salem
    For example, most of the base operating system is covered by POSIX specifications.

    You could try reading sections 2 and 3 of the manual pages.
    what maual pages the linux ones ones that are with compiler "no clue where those are"
    or ones on some site

  4. #4
    Registered User tekhawk's Avatar
    Join Date
    Aug 2006
    Location
    USA Ca
    Posts
    25
    or what are some good APIs to learn for writing programs on linux

  5. #5
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    As in say
    man popen

    You type this at the command prompt.

    Also
    man man
    on how to use the manual page system.


    There isn't going to be a single, "read this and you'll know everything for every possible circumstance you're going to face". A lot of it is persistence, doing lots of research and asking more specific questions to guide you to specific resources which might help.

    It isn't this simple, no matter what you might like to believe.
    Neo: I know Linux
    Morpheus: Show me.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  6. #6
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  7. #7
    Registered User tekhawk's Avatar
    Join Date
    Aug 2006
    Location
    USA Ca
    Posts
    25
    i know man system lol i just didnt know if you where reffering to the linux man pages or not

  8. #8
    Registered User tekhawk's Avatar
    Join Date
    Aug 2006
    Location
    USA Ca
    Posts
    25
    i believe that i have QT on my fedora core 4 machine right now it was a req for some program i wanted to install

    do you know where some online guides for QT might be

  9. #9
    Registered User tekhawk's Avatar
    Join Date
    Aug 2006
    Location
    USA Ca
    Posts
    25
    Sorry see im use to Web Dev and having one place to go learn php and one place to learn MySQL ect.

    learning c++ doesnt seem to work the same way and i havnt been having much luck finding good resources on google most of what i found is this site and cplusplus.com

    i guess my goal would be to make some programs for kde and some for windows later on

  10. #10
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Well a wild stab in the dark, but how about the home site for Qt perhaps?

    Or something radical like googling for "newbie Qt tutorial"
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  11. #11
    Registered User tekhawk's Avatar
    Join Date
    Aug 2006
    Location
    USA Ca
    Posts
    25
    i asked this after looking around the QT link you gave me

    and googling for guides is a good thing but can take hours to find a good one asking someone that knows is a much faster approuch

  12. #12
    Dump Truck Internet valis's Avatar
    Join Date
    Jul 2005
    Posts
    357
    Have you worked with or written your own data structures? How about encryption and compression? General knowledge algorithms like quicksort? Searching? Parsing? AI? Pathfinding? Pattern matching? Finding a convex hull? Sockets?
    There are plenty of problems to look into, and if you just want to make some useful applictions built on already stable apps (like soundkonverter for example) then a few tutorials on qt should put you on your way.
    I searched for "qt tutorial" and the first hit was a site with a qt tutorial.

    Here was the address stripped of the file for the second hit: http://doc.trolltech.com/

  13. #13
    Registered User tekhawk's Avatar
    Join Date
    Aug 2006
    Location
    USA Ca
    Posts
    25
    thank you vary much

    ive used a few programmng langs already and would like to make my own version of some of the linux apps i use now fix some of the things i dont like about the way they work

    and over time doing that should help me learn more indepeth programming for linux by seeing how all these programs do it

    i really i just wanted to know where to get guides on programming for linux in c++ the link you provided should help till i start rewriting
    Web Devlopment is fun http://tekhawk.com

    Dur Ritter Von Gott

    OpenSource & Linux for Life!!!

  14. #14
    User
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    499
    Quote Originally Posted by tekhawk
    thank you vary much

    ive used a few programmng langs already and would like to make my own version of some of the linux apps i use now fix some of the things i dont like about the way they work

    and over time doing that should help me learn more indepeth programming for linux by seeing how all these programs do it

    i really i just wanted to know where to get guides on programming for linux in c++ the link you provided should help till i start rewriting
    Be warned! A so-called "simple" program can use thousands of classes in some cases, and can take months to understand. It's not just as easy (even if you're experienced), to just open up the source code, change something you don't like, save and recompile. You usually end up reading through the whole code several times to understand which class does what, and then anything other than a tiny tweak requires debugging to make sure that you fix actually worked.

    Remember, the code you're looking at is someone else's, so it will take some time to figure out how they write it. Everyone has a different coding style. And make sure that if you modify someone else's code, you use the same stlye as they did in the rest of the program, to keep things consistant.

    So modifying Linux programs isn't the easiest thing. But if you're brave, sure why not?

  15. #15
    Registered User
    Join Date
    Oct 2004
    Posts
    151
    When I was at the library the other day, I saw a couple of books called "GNU C++ for Linux". I know nothing about it, except that the title sounds promising. You could try tracking one down.

    Also try to get the O'Reilly book on Qt if you can (it has a toucan on it).
    System: Debian Sid and FreeBSD 7.0. Both with GCC 4.3.

    Useful resources:
    comp.lang.c FAQ | C++ FQA Lite

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Thinking of upgrading to linux...
    By Yarin in forum General Discussions
    Replies: 37
    Last Post: 07-24-2009, 11:40 AM
  2. Wireless Network Linux & C Testbed
    By james457 in forum Networking/Device Communication
    Replies: 3
    Last Post: 06-11-2009, 11:03 AM
  3. Dabbling with Linux.
    By Hunter2 in forum Tech Board
    Replies: 21
    Last Post: 04-21-2005, 04:17 PM
  4. installing linux for the first time
    By Micko in forum Tech Board
    Replies: 9
    Last Post: 12-06-2004, 05:15 AM