Gauttam Jangir

Subtitle

Blog

Program in C for Guitar

Posted by Gauttam on November 24, 2011 at 11:25 PM

#include<stdio.h>

#include<dos.h>

#include<conio.h>

void main()

    {

    char x;

    x=getch();

    while(x!='X')

        {

        sound(x);

        delay(10);

        x=getch();

        }

    }

Categories: Program for Programmer

Post a Comment

Oops!

Oops, you forgot something.

Oops!

The words you entered did not match the given text. Please try again.

Already a member? Sign In

1 Comment

Reply Tech G
2:35 AM on February 1, 2012 
This program is so simple to understand the logic of getch() function and while loop.