Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Elite19

colours and beeps in c :)

This topic is 5474 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I have been programming with c for about 3 days now, i have did all the tutorials i have found on the net, basicaly starting with hello world, data types,arrays pointers and the rest. It all makes sense to me, although i''m still a little shaky with pointers, but from what i''ve seen its all just about text and numbers. Does c have colours like changing the background colour or text, and make beeps with different pitches like in turbo pascal? I cant seem to find anything on graphics with c, or is that all for directx to deal with?

Share this post


Link to post
Share on other sites
Advertisement
So c doesnt even have the basics like coloured text? What about c++? Its not like i''m trying to make a 3d game atm, i''m just curious to see how it all fits together

Share this post


Link to post
Share on other sites
Im not sure if this is a C++ function only, but you can always give it a shot:

BOOL Beep(
DWORD dwFreq, // sound frequency, in hertz
DWORD dwDuration // sound duration, in milliseconds
);

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!