Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 18 of 18
Search took 0.01 seconds; generated 2 minute(s) ago.
Search: Posts Made By: BruceLeroy
Forum: C++ Nov 12th, 2004, 3:04 PM
Replies: 14
Views: 301
Posted By BruceLeroy
yeh the above code is basically what my code was...

yeh the above code is basically what my code was doing.
Forum: C++ Nov 11th, 2004, 12:11 PM
Replies: 0
Views: 302
Posted By BruceLeroy
i had a simple windowed app going. it was working...

i had a simple windowed app going. it was working fine until i made a menu resource and tried to add it to the window -- the program ended early with some dialog to do with debug assertion failure or...
Forum: C++ Nov 11th, 2004, 8:17 AM
Replies: 8
Views: 273
Posted By BruceLeroy
thanks guys. i put the definition of the class...

thanks guys. i put the definition of the class into a .h file and just included that into soundblade.cpp.

is it a good idea to have the .h files include both the class declaration and the...
Forum: C++ Nov 10th, 2004, 3:01 AM
Replies: 14
Views: 301
Posted By BruceLeroy
hold on i'm sure this a much more direct way....

hold on i'm sure this a much more direct way.

if you have the number 49, it is the same as writing

(4 * 10^1) + (9 * 10^0). Therefore extracting the number in the 10s column can be done by taking...
Forum: C++ Nov 9th, 2004, 5:41 PM
Replies: 8
Views: 273
Posted By BruceLeroy
if i remove the #include "waveFile.cpp" I...

if i remove the #include "waveFile.cpp" I get


--------------------Configuration: SoundBlade - Win32 Debug--------------------
Compiling...
SoundBlade.cpp
C:\3rd Year...
Forum: C++ Nov 9th, 2004, 4:55 PM
Replies: 8
Views: 273
Posted By BruceLeroy
I've got a workspace called Soundblade and 3...

I've got a workspace called Soundblade and 3 files in the project:

Constants.h
Soundblade.cpp
WaveFile.cpp

with the entry point in Soundblade.cpp. The contents of Constants.h is


const char RIFF[]...
Forum: C++ Nov 9th, 2004, 4:36 PM
Replies: 5
Views: 255
Posted By BruceLeroy
outputting to a file works great. thanks guys.

outputting to a file works great. thanks guys.
Forum: C++ Nov 8th, 2004, 12:59 PM
Replies: 2
Views: 251
Posted By BruceLeroy
hi, i find it difficult to read your code because...

hi, i find it difficult to read your code because you haven't used indentation or the code tags. i think you will find more people are inclined to reply if you format your code. it makes it easier on...
Forum: C++ Nov 8th, 2004, 12:57 PM
Replies: 2
Views: 191
Posted By BruceLeroy
thanks it works now. stupid fence post errors ...

thanks it works now. stupid fence post errors :angry:
Forum: C++ Nov 7th, 2004, 6:17 AM
Replies: 2
Views: 191
Posted By BruceLeroy
Suppose I have an array X of short ints with...

Suppose I have an array X of short ints with around a several thousand values.

What I want to do is generate another array Y of exactly 1000 elements whose content is representative of X. Y should...
Forum: C++ Nov 7th, 2004, 6:03 AM
Replies: 11
Views: 283
Posted By BruceLeroy
exactly what should this code be doing? i'm...

exactly what should this code be doing?

i'm guessing you want to print a triangle of asterisks right?
Forum: C++ Nov 7th, 2004, 6:02 AM
Replies: 5
Views: 255
Posted By BruceLeroy
thanks guys, I will try your suggestions. btw,...

thanks guys, I will try your suggestions.

btw, i don't think cout or printf work for win32 apps or it didn't since last time I tried. I launched the app from the command line but no joy. :(
Forum: C++ Nov 7th, 2004, 5:59 AM
Replies: 7
Views: 288
Posted By BruceLeroy
hmm...isn't this all just a matter of picking the...

hmm...isn't this all just a matter of picking the one with the best average case running time :huh: ? Or are you people starting to "bond" with certain sorting algorithms? :)
Forum: C++ Nov 5th, 2004, 5:40 AM
Replies: 3
Views: 234
Posted By BruceLeroy
OK here's the thing.... in my message loop, if...

OK here's the thing....

in my message loop, if the WM_PAINT message is recieved I call the draw function.

The draw function refers to a global array called LEFT_SPEAKER_GRAPH_POINTS (which has...
Forum: C++ Nov 5th, 2004, 5:07 AM
Replies: 5
Views: 255
Posted By BruceLeroy
Is there any way I can have a windowed app that...

Is there any way I can have a windowed app that also prints statements to the console? I'm having a hard time debugging my app, I'd just like to see some values printed to the screen in order to get...
Forum: C++ Nov 5th, 2004, 4:19 AM
Replies: 3
Views: 234
Posted By BruceLeroy
thanks, yeah I think you are right. It must have...

thanks, yeah I think you are right. It must have something to do with old data being thrown back onto the screen.

So if I manually make sure I muck around with the contents of the array, I...
Forum: C++ Nov 5th, 2004, 4:15 AM
Replies: 33
Views: 661
Posted By BruceLeroy
this is an interesting discussion but I must...

this is an interesting discussion but I must admit to being a tad confused.

i'm quite good with Java and don't have much problem punching out simple GUI's in Java. But I'm currently working on a...
Forum: C++ Nov 4th, 2004, 1:45 PM
Replies: 3
Views: 234
Posted By BruceLeroy
I wanted to make a simple app that draws that...

I wanted to make a simple app that draws that waveform of a wavefile. I actually made a lot of progress in one day and got it to work. But then I thought about restructuring my code a little bit and...
Showing results 1 to 18 of 18

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:43 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC