ANSI standard function for audio.

This is a discussion on ANSI standard function for audio. within the C Programming forums, part of the General Programming Boards category; Have any idea to make sound with C....

  1. #1
    Registered User zahid's Avatar
    Join Date
    Aug 2001
    Posts
    532

    ANSI standard function for audio.

    Have any idea to make sound with C.
    [ Never code before desk work ]
    -------------------------------------:-->
    A man who fears Nothing is the man who Loves Nothing
    If you Love Nothing, what joy is there in your life.
    =------------------------------------------------------= - I may be wrong.

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Code:
    #include <stdio.h>
    
    int main (void){
    
    	printf("\a\a\a\a\a");
    	printf("Still sounds great after all these years!!\n");
    
    	return 0;
    }

  3. #3
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    Unfortunaly it doesn't work on some new computers.
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  4. #4
    Registered User zahid's Avatar
    Join Date
    Aug 2001
    Posts
    532
    What about GNU C, in Linux.

    ohh.. any function for delay() in TC in DOS..
    [ Never code before desk work ]
    -------------------------------------:-->
    A man who fears Nothing is the man who Loves Nothing
    If you Love Nothing, what joy is there in your life.
    =------------------------------------------------------= - I may be wrong.

  5. #5
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    What about GNU C, in Linux.

    ohh.. any function for delay() in TC in DOS..
    This seems like the perfect question to ask google.

    -Prelude
    My best code is written with the delete key.

  6. #6
    Registered User zahid's Avatar
    Join Date
    Aug 2001
    Posts
    532
    So, I made a mistake for asking an easy solution.
    [ Never code before desk work ]
    -------------------------------------:-->
    A man who fears Nothing is the man who Loves Nothing
    If you Love Nothing, what joy is there in your life.
    =------------------------------------------------------= - I may be wrong.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. dllimport function not allowed
    By steve1_rm in forum C++ Programming
    Replies: 5
    Last Post: 03-11-2008, 03:33 AM
  2. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 04:45 PM
  3. const at the end of a sub routine?
    By Kleid-0 in forum C++ Programming
    Replies: 14
    Last Post: 10-23-2005, 06:44 PM
  4. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  5. Replies: 5
    Last Post: 02-08-2003, 06:42 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21