Have you tried debugging at all? From here it looks like when you run your program and ask for a Report, you attempt to access an index of RedwoodBayDataSpots before ever filling it.
Type: Posts; User: System_159
Have you tried debugging at all? From here it looks like when you run your program and ask for a Report, you attempt to access an index of RedwoodBayDataSpots before ever filling it.
Hi all!
Been a while since I've posted, but this little problem has got me stumped. I've got a .lib that is supplied to me by a third party, and I'm having trouble statically linking to it. I'm...
Hey all. Been a while since I've posted here, but I'm a bit stumped and I couldn't find any real good QT forums that are actually active.
I've inherited some QT code which creates widgets for...
You want a good reliable way to beat the machines? Take a simple one word/character string input, print it to the screen using your noise-a-fier twice along with a third word/character string of...
It's because pointers themselves don't have a type, just a location. You must tell the pointer what type the value you're assigning it is(be it an int, a char, a bool, etc...).
Send the message that the shift key has been pressed down, but never send a message that the shift key has been released.
(or continually send the shift key is down message if that doesn't work)
You'll probably want to use the keybd_event function.
I learned on a manual and have a hard time driving an automatic now.
So big deal, you're more at ease with what you learn first(first), and then with what you use most often(later in life/career)....
For personal use I use TextWrangler and gcc(OS X 10.4).
Most of the coding I do is at work, where we use cutting edge technologies like Visual Studio 6.0...
I don't think there's a way to do it in the C code.
Perhaps you can make a .dll and reference it?
Just to kind of answer the original question, here's what I've done for this in C++ before. I'm not sure if it can be easily switch to C, though:
FILE* stream = _popen( "dir", "r" );
...
Well, how did you get it to succeed?
I played with xCode briefly, and everything I did was in GUI's with Cocoa(or whatever it is now). Is there something you have to set to do terminal programs in...
Try using modulous division. This should allow you to seperate out the 3 from the 40. It might get a little convoluted over 99, though.
Any other ideas?
I had this project in school as well.
Think of it as having a place in an integer array for each of letter of the alphabet(A = 0, B = 1, C = 2, etc...).
Iterate through the word once adding 1...
Very descriptive title.
Search?
edit: Okay, silly typo type error. A mod can lock/delete.
Thanks :)
Excellent. Thanks a bunch.
This will at least give me another launching pad. I may not be able to use it in the end, but I need to know about it in order to make that decision... if that makes...
I didn't think so.
Basically I have several programs that all need to be synchronized together. So for that I've got a waitable timer as a seperate program.
Hard to get in to specifics...
It's a waitable timer object. :)
Hello all. Been a while since I've been on here.
I have a program that uses a handle, and another program that needs access to that handle after it's created. All I know is the handle name.
...
The only extensions I'll be using are 3 characters long, which is why I've done it this way.
tabstop, thanks for pointing that out(again). Hopefully from now on I'll remember the damn '/0' ! :D
Very simple problem here, I just don't understand why this isn't working.
if(current_dir[(strlen(current_dir) - 3)] == '.')
given that current_dir is:
/cygdrive/c/dirent_tests/fssw.exe
I would probably read the entire line in, and just increment through it until you find a +,-,/,* sign then take everything before that as number1. Store the sign. Read to the next sign(to get...
Hey, that fixed it. Completely forgot about the null thing.
I knew it would be something odd like that. Now to tackle memory!
Thanks a bunch!
So I have a piece of a program that creates 2D array of of characters of numbers 1 through a previously found number. Earlier in the code the total amount of numbers that needs to be cataloged is set...