# Steps to include FMOD in C Gaming project using TURBO C++

**URL:** https://qa.fmod.com/t/steps-to-include-fmod-in-c-gaming-project-using-turbo-c/15573
**Category:** FMOD Studio
**Created:** [March 25, 2020, 4:02pm UTC](https://qa.fmod.com/t/steps-to-include-fmod-in-c-gaming-project-using-turbo-c/15573 "2020-03-25T16:02:13Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ShraddhaB](https://avatars.discourse-cdn.com/v4/letter/s/a587f6/32.png) [@ShraddhaB](https://qa.fmod.com/u/ShraddhaB)
#### Post date: [March 25, 2020, 4:02pm UTC](https://qa.fmod.com/t/steps-to-include-fmod-in-c-gaming-project-using-turbo-c/15573/1 "2020-03-25T16:02:14Z")

</div>

I am developing a Game in C using Turbo C++ and I need mp3 song to play in same. I am making the game application first time so I don’t have any idea of the initial and first important step to include essential FMOD header and library files (or can say essential required FMOD files) in my project.

I have read on google the sample program which is good enough to understand but i am stuck at including FMOD required files(header and library files) from the FMOD downloaded folder to my project.

My system I am using Windows 7 64 bits

Program I am refering

#include  
#include “inc/fmod.h”

FSOUND\_STREAM\* handle;

void main ()  
{  
//init FMOD sound system  
FSOUND\_Init (44100, 32, 0);

//load and play sample  
handle=FSOUND\_Stream\_Open(“sample.mp3”,0, 0, 0);  
FSOUND\_Stream\_Play (0,handle);

//wait until the users hits a key to end the app  
while (!\_kbhit())  
{  
}

//clean up  
FSOUND\_Stream\_Close(handle);  
FSOUND\_Close();  
}

Here alos is mentioned WHICH I DON’T KNOW WHAT EXACTLY TO COPY AND WHERE

# Getting Started

After unpacking the archive, you should copy the FMOD.DLL into your working directory or better still, into the directory where your executable file will be.

Before we can really start we have to do one last thing.

## For C users

Now you only have to include the header “fmod.h” and depending on your compiler, the right import library:

- fmodvc.lib for Microsoft Visual C++ and Codewarrior

- fmodbc.lib for Borland

- fmodwc.lib for Watcom

- fmodcc.lib for LCC-Win32

- libfmod.a for MingW and CygWin

- fmod-3-7.lib for GCC

I DON’T KNOW WHAT EXACTLY STEPS ARE TO BE FOLLOWED FOR ABOVE MENTIONED

---

<div class="post-metadata">

### Author: ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)
#### Post date: [April 8, 2020, 6:13am UTC](https://qa.fmod.com/t/steps-to-include-fmod-in-c-gaming-project-using-turbo-c/15573/2 "2020-04-08T06:13:26Z")

</div>

Legacy versions of FMOD are unsupported, maybe someone from the community will have some insight.
