Hi,
Thanks for the infomation. I think I have enough to solve the problem. I'll report back.
Matt
Type: Posts; User: blanny
Hi,
Thanks for the infomation. I think I have enough to solve the problem. I'll report back.
Matt
Hi,
Can anyone tell me if they see any glaring mistakes in this piece of code?
void vGetString(char szString[], int iMax)
{
char szTmpBuf[STRING_BUF]; // set temp buffer...
Here's how I'm trying to implement it:
while (valid != 1)
{
printf("\tcategory\t: ");
while (getchar() != '\n');
...
Hammer, can you briefly explain what your code is doing here?
int main(void)
{
validate('F', 'Z');
validate('N', 'M');
validate('Z', 'Z');
return(0);
Thanks man. Can you take a look at this beast?
char ch1 = toupper(cat1);
char ch2 = toupper(cat2);
while (toupper(char1, != 'F') && (ch1 != 'N') &&...
Hi, can someone tell me what's wrong with this code?
while ((num <= 1) && (num >= 9999)) {
printf("\n");
printf("\tinventory number: ");
scanf("%d", &num);...