Thread: sound and graphics in C - recommandation needed

  1. #46
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    You said you knew you had it!? Give up on the idea of using the speaker inside the PC.

    Use the libraries that others have been suggesting.

  2. #47
    Registered User gavra's Avatar
    Join Date
    Jun 2008
    Posts
    265
    I thought we were talking about the outside speakers.
    OK, I'll try.

  3. #48
    Technical Lead QuantumPete's Avatar
    Join Date
    Aug 2007
    Location
    London, UK
    Posts
    894
    Quote Originally Posted by gavra View Post
    I thought we were talking about the outside speakers.
    OK, I'll try.
    Any of the basic inbuilt sound commands like putchar('\a') and beep() will only work with the internal speaker (the thing that beeps when you start your PC).
    For sound over your external speakers, you'll need to use some 3rd party library.

    QuantumPete
    "No-one else has reported this problem, you're either crazy or a liar" - Dogbert Technical Support
    "Have you tried turning it off and on again?" - The IT Crowd

  4. #49
    Registered User gavra's Avatar
    Join Date
    Jun 2008
    Posts
    265
    like...?

  5. #50
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  6. #51
    Registered User gavra's Avatar
    Join Date
    Jun 2008
    Posts
    265
    OK.
    Thank you all.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Making great graphics
    By MadCow257 in forum Game Programming
    Replies: 1
    Last Post: 02-20-2006, 11:59 PM
  2. Project Lost Tomorrow recruiting Programmers and Sound Engineers
    By chewtoy in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 12-07-2005, 05:02 AM
  3. DirectX Question
    By bladerunner627 in forum Game Programming
    Replies: 2
    Last Post: 04-04-2005, 11:55 AM
  4. Game Programming FAQ
    By TechWins in forum Game Programming
    Replies: 5
    Last Post: 09-29-2004, 02:00 AM
  5. graphics and sound
    By gcn_zelda in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2003, 07:23 PM