Thread: ANSI standard function for audio.

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

    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,793
    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
    531
    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,897
    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
    531
    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, 05: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, 07:42 PM