Click here to Skip to main content
15,921,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to determine if an .EXE is running? Pin
TWilliams10-Apr-03 8:28
TWilliams10-Apr-03 8:28 
GeneralRe: How to determine if an .EXE is running? Pin
Joe Woodbury10-Apr-03 8:59
professionalJoe Woodbury10-Apr-03 8:59 
GeneralRe: How to determine if an .EXE is running? Pin
IceMatrix11-Apr-03 6:53
IceMatrix11-Apr-03 6:53 
GeneralSTL deque question Pin
pankajdaga10-Apr-03 5:04
pankajdaga10-Apr-03 5:04 
GeneralRe: STL deque question Pin
Erik Juhl10-Apr-03 5:15
Erik Juhl10-Apr-03 5:15 
GeneralRe: STL deque question Pin
John M. Drescher10-Apr-03 5:29
John M. Drescher10-Apr-03 5:29 
GeneralRe: STL deque question Pin
Zdeslav Vojkovic10-Apr-03 5:27
Zdeslav Vojkovic10-Apr-03 5:27 
GeneralRe: STL deque question Pin
Alvaro Mendez10-Apr-03 5:53
Alvaro Mendez10-Apr-03 5:53 
Use auto_ptr instead of the pointers directly:

std::deque< auto_ptr<Wave> > _wavePool;
std::deque< auto_ptr<Wave> >::iterator it;
 
auto_ptr<Wave> wav1(new Wave("D:\\waves\\v1.wav", true));
_wavePool.push_back(wav1);
wav1->Splash();
 
_wavePool.erase(it); // will destroy the auto_ptr object, thus deleting the Wave pointer.

Regards,
Alvaro


When birds fly in the right formation, they need only exert half the effort. Even in nature, teamwork results in collective laziness. -- despair.com
GeneralSetWindowLong() Pin
ZarrinPour10-Apr-03 5:01
ZarrinPour10-Apr-03 5:01 
GeneralRe: SetWindowLong() Pin
Alvaro Mendez10-Apr-03 6:03
Alvaro Mendez10-Apr-03 6:03 
GeneralSpinCtrl Pin
act_x10-Apr-03 4:51
act_x10-Apr-03 4:51 
GeneralRe: SpinCtrl Pin
PJ Arends10-Apr-03 9:27
professionalPJ Arends10-Apr-03 9:27 
GeneralRe: SpinCtrl Pin
Heiko200310-Apr-03 10:42
sussHeiko200310-Apr-03 10:42 
GeneralProblem with WorkQueue Pin
Martin_Viet10-Apr-03 4:46
Martin_Viet10-Apr-03 4:46 
GeneralGetting Systeminformations Pin
Sendel10-Apr-03 4:46
Sendel10-Apr-03 4:46 
GeneralRe: Getting Systeminformations Pin
MarkyMark10-Apr-03 5:24
MarkyMark10-Apr-03 5:24 
GeneralRe: Getting Systeminformations Pin
Sendel10-Apr-03 7:08
Sendel10-Apr-03 7:08 
GeneralRe: Getting Systeminformations Pin
Dominik Reichl10-Apr-03 9:16
Dominik Reichl10-Apr-03 9:16 
GeneralRe: Getting Systeminformations Pin
Sendel10-Apr-03 10:19
Sendel10-Apr-03 10:19 
GeneralCDao problem with 'create' Pin
naradaji10-Apr-03 4:00
naradaji10-Apr-03 4:00 
GeneralRe: CDao problem with 'create' Pin
Carlos Antollini10-Apr-03 4:05
Carlos Antollini10-Apr-03 4:05 
GeneralRe: CDao problem with 'create' Pin
naradaji10-Apr-03 4:08
naradaji10-Apr-03 4:08 
GeneralRe: CDao problem with 'create' Pin
Carlos Antollini10-Apr-03 4:26
Carlos Antollini10-Apr-03 4:26 
GeneralRe: CDao problem with 'create' Pin
naradaji10-Apr-03 4:42
naradaji10-Apr-03 4:42 
Generalexceptions Pin
Jonathan [Darka]10-Apr-03 3:56
professionalJonathan [Darka]10-Apr-03 3:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.