Source code - waveplay.cpp

Find C and C++ source code to help you learn to program. You can submit your own code, or you can simply browse and download the code of others.

Index :: Sound / waveplay.cpp
waveplay.cpp
resource information
Title waveplay.cpp
URL http://www.cprogramming.com/source/waveplay.cpp
Category 4
Description This program will play wave files.
Contact Stephen Don
Added 08-10-2002 at 05:59 p.m.
Last Updated 08-10-2002 at 06:32 p.m.
rating
Current Rating 3.77777777777778
Rate Resource
 
reviews
Number of Reviews 67
Review this Resource
Reviews:
  • -4167 UNION ALL SELECT 93,93,CONCAT(CONCAT('qvkjq','LyvrEqxNaC'),'qbvqq'),93,93-- BXtk
    posted at 06:04 p.m. on 09-21-2023
  • -2287 UNION ALL SELECT 93,93,CONCAT(CONCAT('qvkjq','XhAClDzxiHNNhlWkakwsXOscrAVovkmFCfxfBYHO'),'qbvqq'),93,93-- QyjL
    posted at 06:04 p.m. on 09-21-2023
  • -5274 UNION ALL SELECT 93,CONCAT(CONCAT('qvkjq','vUkDrdiLMylsjYyERErpBcKmaVbouRliaeteZXgz'),'qbvqq'),93,93,93-- vhgO
    posted at 06:04 p.m. on 09-21-2023
  • -5257 UNION ALL SELECT NULL,CONCAT(CONCAT('qvkjq','TfpEAwIFVn'),'qbvqq'),NULL,NULL,NULL-- SWyW
    posted at 06:03 p.m. on 09-21-2023
  • -3164 UNION ALL SELECT NULL,NULL,NULL,NULL,CONCAT(CONCAT('qvkjq','QfvGOpffVliUEHJKlWrhlPqWdCpryyWZvedxSPlp'),'qbvqq')-- BVud
    posted at 06:03 p.m. on 09-21-2023
  • -3489 UNION ALL SELECT NULL,NULL,NULL,CONCAT(CONCAT('qvkjq','ZHPsMDPaoNHDsfAWwWGnpQfhkyYWeZDYprzfBhvR'),'qbvqq'),NULL-- QZWC
    posted at 06:03 p.m. on 09-21-2023
  • jHtO UNION ALL SELECT NULL,NULL,NULL,NULL,CONCAT(CONCAT('qvkjq','JsSZdoAvTi'),'qbvqq')-- Jeqk
    posted at 06:03 p.m. on 09-21-2023
  • jHtO UNION ALL SELECT NULL,CONCAT(CONCAT('qvkjq','xOdfXCdhXqqYlTgzdXZafPQjgWpHPwoFznYrWwoc'),'qbvqq'),NULL,NULL,NULL-- LNDy
    posted at 06:03 p.m. on 09-21-2023
  • jHtO UNION ALL SELECT NULL,NULL,NULL,CONCAT(CONCAT('qvkjq','DxvLRWYLFMONuyzhFqsMZFXvbYBKDHljfNfHPhQL'),'qbvqq'),NULL-- cqjK
    posted at 06:03 p.m. on 09-21-2023
  • jHtO UNION ALL SELECT NULL,NULL,NULL,NULL,NULL-- lxpH
    posted at 06:03 p.m. on 09-21-2023
  • jHtO UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL-- mubR
    posted at 06:02 p.m. on 09-21-2023
  • jHtO UNION ALL SELECT NULL,NULL-- KklK
    posted at 06:02 p.m. on 09-21-2023
  • -3897 UNION ALL SELECT 40,40,40,40,40,40,40,40,CONCAT(CONCAT('qvkjq','bknFzAmBnb'),'qbvqq'),40-- iWtz
    posted at 06:02 p.m. on 09-21-2023
  • -7455 UNION ALL SELECT 40,40,40,40,CONCAT(CONCAT('qvkjq','wSgJvWAGsz'),'qbvqq'),40,40,40,40,40-- UOaB
    posted at 06:02 p.m. on 09-21-2023
  • -8270 UNION ALL SELECT 40,CONCAT(CONCAT('qvkjq','WOnvmtSXkw'),'qbvqq'),40,40,40,40,40,40,40,40-- ZBpn
    posted at 06:02 p.m. on 09-21-2023
  • -9967 UNION ALL SELECT CONCAT(CONCAT('qvkjq','IHtVkTDkKg'),'qbvqq'),40,40,40,40,40,40,40,40,40-- LXYH
    posted at 06:02 p.m. on 09-21-2023
  • -4153 UNION ALL SELECT 40,40,40,40,40,CONCAT(CONCAT('qvkjq','qojdEeoGoQRZcsIrafvMojdYTlxgRxFvogptCdoH'),'qbvqq'),40,40,40,40-- mTjf
    posted at 06:02 p.m. on 09-21-2023
  • -8493 UNION ALL SELECT 40,CONCAT(CONCAT('qvkjq','gOsGWtrBcmpQrbnzQtUIPxIEaPUrZiHldjnXOvBT'),'qbvqq'),40,40,40,40,40,40,40,40-- itDf
    posted at 06:02 p.m. on 09-21-2023
  • jHtO UNION ALL SELECT 40,40,40,40,40,40,40,40,CONCAT(CONCAT('qvkjq','lqjgdiFpZN'),'qbvqq'),40-- cbfm
    posted at 06:01 p.m. on 09-21-2023
  • jHtO UNION ALL SELECT 40,40,40,40,40,40,40,40,40,CONCAT(CONCAT('qvkjq','ZVhoQKFDEB'),'qbvqq')-- VYqQ
    posted at 06:01 p.m. on 09-21-2023
  • jHtO UNION ALL SELECT CONCAT(CONCAT('qvkjq','slxGPcaagrYgyTwOwYNdZPdMygNoxiRyVnmUoWzf'),'qbvqq'),40,40,40,40,40,40,40,40,40-- YsCY
    posted at 06:01 p.m. on 09-21-2023
  • -2446 UNION ALL SELECT NULL,NULL,CONCAT(CONCAT('qvkjq','vERiwhKOVA'),'qbvqq'),NULL,NULL,NULL,NULL,NULL,NULL,NULL-- DNCf
    posted at 06:01 p.m. on 09-21-2023
  • -2267 UNION ALL SELECT NULL,CONCAT(CONCAT('qvkjq','zsBwcdbJvf'),'qbvqq'),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL-- zduE
    posted at 06:01 p.m. on 09-21-2023
  • -5657 UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,CONCAT(CONCAT('qvkjq','SfXZgoXKqF'),'qbvqq'),NULL,NULL-- bgel
    posted at 06:00 p.m. on 09-21-2023
  • -5291 UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,CONCAT(CONCAT('qvkjq','tYXnRnqVrWWdEHKnvvDwbjjvFZjtOezsRwOEUinN'),'qbvqq')-- Twds
    posted at 06:00 p.m. on 09-21-2023
  • jHtO UNION ALL SELECT NULL,CONCAT(CONCAT('qvkjq','UWWWbtkMtf'),'qbvqq'),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL-- JEgq
    posted at 06:00 p.m. on 09-21-2023
  • jHtO UNION ALL SELECT NULL,NULL,NULL,CONCAT(CONCAT('qvkjq','aIPewWqtWEezlSqwYFUPglDzFurcijXwIBXShmMC'),'qbvqq'),NULL,NULL,NULL,NULL,NULL,NULL-- bkmm
    posted at 06:00 p.m. on 09-21-2023
  • jHtO UNION ALL SELECT CONCAT(CONCAT('qvkjq','SvaXMtqYhbPWmYHYqhfoSeBAFdtcNDkKQhIZEdLb'),'qbvqq'),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL-- fWcZ
    posted at 06:00 p.m. on 09-21-2023
  • jHtO ORDER BY 10-- DGyY
    posted at 05:59 p.m. on 09-21-2023
  • jHtO ORDER BY 1-- bBzL
    posted at 05:59 p.m. on 09-21-2023
  • jHtO' AND 9822=(SELECT UPPER(XMLType(CHR(60)||CHR(58)||CHR(113)||CHR(118)||CHR(107)||CHR(106)||CHR(113)||(SELECT (CASE WHEN (9822=9822) THEN 1 ELSE 0 END) FROM DUAL)||CHR(113)||CHR(98)||CHR(118)||CHR(113)||CHR(113)||CHR(62))) FROM DUAL) AND 'CrYW'='CrYW
    posted at 05:59 p.m. on 09-21-2023
  • jHtO AND 6731 IN (SELECT (CHAR(113)+CHAR(118)+CHAR(107)+CHAR(106)+CHAR(113)+(SELECT (CASE WHEN (6731=6731) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(98)+CHAR(118)+CHAR(113)+CHAR(113)))-- eFdl
    posted at 05:59 p.m. on 09-21-2023
  • jHtO AND EXTRACTVALUE(6943,CONCAT(0x5c,0x71766b6a71,(SELECT (ELT(6943=6943,1))),0x7162767171))-- clFx
    posted at 05:59 p.m. on 09-21-2023
  • jHtO AND EXTRACTVALUE(6943,CONCAT(0x5c,0x71766b6a71,(SELECT (ELT(6943=6943,1))),0x7162767171))
    posted at 05:59 p.m. on 09-21-2023
  • jHtO' AND EXTRACTVALUE(6943,CONCAT(0x5c,0x71766b6a71,(SELECT (ELT(6943=6943,1))),0x7162767171)) AND 'jMoy'='jMoy
    posted at 05:58 p.m. on 09-21-2023
  • jHtO
    posted at 05:58 p.m. on 09-21-2023
  • personal loans <a href="https://personalloans.us.org">personal loans for bad credit</a> personal loans <a href=https://personalloans.us.org>personal loans</a>
    posted at 07:29 p.m. on 01-22-2018
  • payday installment loan <a href="https://installmentloans.us.com">installment loans</a> online installment loans <a href=https://installmentloans.us.com>installment loans no credit check</a>
    posted at 08:05 p.m. on 01-15-2018
  • essay help <a href="https://essaywritingservice.us.org">write my literature review</a> essay writing service <a href=https://essaywritingservice.us.org>essay writing service</a>
    posted at 03:43 p.m. on 01-12-2018
  • payday loans no credit check <a href="https://payday.us.com">a payday loan</a> advance payday loans <a href=https://payday.us.com>payday advance loan</a>
    posted at 04:14 p.m. on 01-11-2018
  • adult chat room <a href="https://freexxxwebcams.webcam">free xxx webcams</a> hot porno show <a href=https://freexxxwebcams.webcam>free webcams</a> free cam porn <a href="https://freecamporn.science">free web cam sluts</a> free porn cams <a href=https://freecamporn.science>bbw live cams</a> cash loans <a href="https://quickloans.cricket">quick loan</a> quick loans <a href=https://quickloans.cricket>quick loans</a> write essay <a href="https://scholarshipessay.science">college essay</a> essay checker <a href=https://scholarshipessay.science>scholarship essay</a> best payday loan <a href="https://fastestpaydayloan.bid">fastest payday loan</a> payday loan lenders <a href=https://fastestpaydayloan.bid>easy payday loan</a> online payday loan application <a href="https://shorttermloansdirectlenders.webcam">payday loan</a> online payday loans direct lenders <a href=https://shorttermloansdirectlenders.webcam>short term loans direct lenders</a> help to write an essay <a href="https://collegepaper.cricket">college essays</a> college paper <a href=https://collegepaper.cricket>college essays</a> homework online help <a href="https://buyessayonline.stream">buy essays online</a> i need help writing a research paper <a href=https://buyessayonline.stream>buy essay online</a> homework help <a href="https://schoolpapers.science">school papers</a> math help online <a href=https://schoolpapers.science>homework help</a> best payday loans <a href="https://bestpaydayloan.cricket">easy payday loan</a> best payday loan <a href=https://bestpaydayloan.cricket>best payday loan</a>
    posted at 04:15 a.m. on 01-11-2018
  • loans <a href="https://loan.us.org">cash loan</a> loan <a href=https://loan.us.org>payday loans online</a>
    posted at 08:27 p.m. on 01-10-2018
  • auto insurance quotes <a href="https://autoinsurancequotes.us.com">car insurance quotes texas</a> state auto insurance <a href=https://autoinsurancequotes.us.com>general auto insurance quotes</a>
    posted at 08:26 p.m. on 12-23-2017
  • essay writing service cheap <a href=https://essaywritingservices.us.com>essays writing services</a> best essay writing services <a href=https://essaywritingservices.us.com>essay writing service review</a>
    posted at 07:02 p.m. on 11-03-2017
  • <a href=http://azithromycin.news/>order azithromycin online</a> <a href=http://buy-avodart.shop/>avodart</a> <a href=http://buyfluoxetine.shop/>fluoxetine tablets</a> <a href=http://buy-celexa.shop/>buy celexa</a>
    posted at 10:44 a.m. on 09-13-2017
  • <a href=https://onlineloans.us.com/>online payday loan</a> <a href=https://essayonline.us.com/>buy essay online</a>
    posted at 08:34 a.m. on 09-10-2017
  • wh0cd700110 <a href=http://buy-vardenafil.store/>vardenafil generic</a> <a href=http://buy-retin-a.store/>retin-a</a>
    posted at 03:08 p.m. on 08-28-2017
  • wh0cd211959 <a href=http://propranolol24.us.org/>Propranolol Prices</a> <a href=http://antabuse24.us.org/>antabuse no prescription</a> <a href=http://hydrochlorothiazide24.us.org/>hydrochlorothiazide capsules</a>
    posted at 02:44 p.m. on 06-20-2017
  • p8Si6t <a href="http://qqorshytbqeb.com/">qqorshytbqeb</a>, [url=http://yqdemfwdegyk.com/]yqdemfwdegyk[/url], [link=http://vonrqmtiriof.com/]vonrqmtiriof[/link], http://ohkhjbatjohl.com/
    posted at 09:59 a.m. on 01-02-2017
  • 1
    posted at 07:55 p.m. on 11-24-2016
  • 1
    posted at 09:41 p.m. on 11-23-2016
  • 1
    posted at 02:24 a.m. on 10-10-2016
  • AyTfw1 <a href="http://pyagbfxmdsee.com/">pyagbfxmdsee</a>, [url=http://boqxnpvilzhv.com/]boqxnpvilzhv[/url], [link=http://fwzgubgjfcqi.com/]fwzgubgjfcqi[/link], http://zgfbkahbtixx.com/
    posted at 07:46 p.m. on 06-26-2016
  • 1UQ1yV <a href="http://toxrjurlakol.com/">toxrjurlakol</a>, [url=http://avikrdyhowox.com/]avikrdyhowox[/url], [link=http://dawehtzxbsbs.com/]dawehtzxbsbs[/link], http://lwubkmmuiood.com/
    posted at 06:32 a.m. on 06-07-2016
  • ebMPeQ , [url=http://paniekgpnyme.com/]paniekgpnyme[/url], [link=http://sxfmkwqrbdih.com/]sxfmkwqrbdih[/link], http://ecoloqliwvcw.com/
    posted at 02:00 p.m. on 01-06-2012
  • mVWacC <a href="http://tzmbqwhyomvl.com/">tzmbqwhyomvl</a>
    posted at 10:53 a.m. on 01-06-2012
  • dwzbSO , [url=http://mgmawptfwymx.com/]mgmawptfwymx[/url], [link=http://typqbrsqnbjd.com/]typqbrsqnbjd[/link], http://gzbjcnpidjxo.com/
    posted at 03:55 a.m. on 01-06-2012
  • eURUio <a href="http://lwrnssolgmzi.com/">lwrnssolgmzi</a>
    posted at 05:45 a.m. on 01-05-2012
  • Thanks for your tuhgohts. It's helped me a lot.
    posted at 11:41 p.m. on 01-04-2012
  • When you think about it, that's got to be the right ansewr.
    posted at 04:59 p.m. on 01-03-2012
  • 1
    posted at 04:57 p.m. on 12-19-2011
  • ha
    posted at 05:58 p.m. on 10-22-2011
  • U limited the size <32000. Also I had to convert to 8 bit mono to play it. But I modified it such it plays the file but after it hangs the Dos Editor. Anyways I can get to Windows. But if some more modified version if u can send. Also Why not take size of wav in long. why limit it by using unsigned int?
    posted at 09:31 a.m. on 01-07-2007
  • found alloc.h: http://www.cs.bham.ac.uk/resources/ums/SGI-STL/download.html didnt't work either
    posted at 05:29 a.m. on 05-27-2004
  • I agree, it won't compile
    posted at 11:07 p.m. on 03-09-2004
  • Lots of implicit declaration of functions. poorly programmed. Please try to improve it.
    posted at 10:50 p.m. on 11-13-2003
  • tried to compile it, did'nt work.
    posted at 06:19 a.m. on 08-19-2003