Closed Thread
Results 1 to 5 of 5

Thread: A very beginner question (How do you do..stuff?)

  1. #1
    jackolantern's Avatar
    jackolantern is offline Learning Programmer
    Join Date
    Dec 2008
    Posts
    47
    Rep Power
    0

    Post A very beginner question (How do you do..stuff?)

    Ok, I have been learning some C++ slowly over a period of time. I pretty much have a handle on the basics. While I am sure this is jumping ahead (I probably need to spend more time making more complex console applications), something I have never understood really is: How do you do...stuff..in C++?

    What I mean by this is, I don't understand how you would even begin to..say..write an MP3 player program, GPS program, device driver, bitmap editor, music sequencer, SMS messenger, new internet protocol or pretty much anything except a console application that only accesses text and database files. Where do you even start to look to begin a project to make something that people would generally consider useful?

    EDIT: Basically every C++ book I have ever read have ended once you understand the language syntax and commands. There seem to be tons of beginner C++ books, but very few intermediate books that begin moving you towards writing non-console and non-game applications.

    Many thanks for any info!

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Jul 2008
    Location
    Somewhere that is shorter to write than "In the gloomy shadows of my personal namespace"
    Posts
    10,725
    Blog Entries
    2
    Rep Power
    90

    Re: A very beginner question (How do you do..stuff?)

    Well, you could start by looking into GUI programming, in other words creating a user interface - instead of using the console. This is platform dependant, i.e. doing it for Windows will be different from Linux.

    Then, you could dive into using USB, video libraries, what not.. For "real" software it's often about using some kind of library/libraries.

    Then there is the internet part: sockets, TCP/IP etc etc. A world of itself, really. Again, platform dependant.

    Anyway, it's a lot to learn. Good luck

    Posted via CodeCall Mobile

  4. #3
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143

    Re: A very beginner question (How do you do..stuff?)

    Usually, the details of how you do "stuff" depends on a huge number of variables. The OS, the available hardware, etc, etc, etc. OS APIs are often a major part of doing things like writing drivers. GUI apps require the API or some GUI library (there are a LOT for C++). Writing an MP3 player involves file access, decoding the MP3 file (a reasonably well known algorithm), writing the analog signal to the speakers, etc, etc, etc. You can look at the source code for several projects at SourceForge.net: Find and Build Open Source Software for examples of how this works.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  5. #4
    jackolantern's Avatar
    jackolantern is offline Learning Programmer
    Join Date
    Dec 2008
    Posts
    47
    Rep Power
    0

    Re: A very beginner question (How do you do..stuff?)

    I appreciate the feedback! It looks to be that you either begin using an API or other library to do more complex coding projects. Thank you!

  6. #5
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143

    Re: A very beginner question (How do you do..stuff?)

    You may want to look at the Boost library, at Boost C++ Libraries, for an example of a library that can help with threading, networking, and many other tasks.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Beginner Question
    By Nailer91 in forum General Programming
    Replies: 3
    Last Post: 08-15-2011, 11:29 AM
  2. Help needed: beginner question
    By Corum in forum C and C++
    Replies: 2
    Last Post: 03-02-2011, 10:55 AM
  3. Another stupid question from a beginner
    By wangyoung1991 in forum C and C++
    Replies: 14
    Last Post: 01-27-2011, 06:24 PM
  4. Very beginner C# question
    By mbridges in forum C# Programming
    Replies: 13
    Last Post: 01-22-2011, 11:54 AM
  5. beginner question: need help
    By pokjin in forum Python
    Replies: 1
    Last Post: 09-21-2010, 12:30 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts