Hey,
I have assignment to do for class and the beginning part is to design a regular expression as follows:
Over the alphabet Σ of ASCII characters, define a Regular Expression that describes...
Type: Posts; User: BC2210
Hey,
I have assignment to do for class and the beginning part is to design a regular expression as follows:
Over the alphabet Σ of ASCII characters, define a Regular Expression that describes...
Hey,
I'm wrapping up a project for school and for the life of me I cant figure out how to place multiplication signs in the correct places of a math formula.
The basic idea of the project is to...
Thanks a lot for the replies! I was able to get it working...
Hey,
Im trying to see if an integer holds the value 1-9 in my program. I think this is whats stopping me.
My statement looks like:
if(x = 0 || 1 || 2 || 3 || 4 || 5 || 6 || 7 || 8 || 9)...
Hey,
I know this is basic but its the only thing I need to have my program working for school!
I have a char buff[512].
Theres a possibility the first characters might be "exit" ... with a...
Actually now Im getting the letter O...
OK, Im not sure why this is happening, but Ive traced my code all the way back to the top and this is just the beginning of my program...
typedef struct NodeT
{
struct NodeT *L,...
Awesome...I dont really have it inside a loop. Im calling a getChar function inside a while loop that just gets next char until it reaches \0.
Hey,
In my program to turn an infix statement into a postfix or prefix statement, I want to check if a character from my input is equal to a space OR if it is equal to the end of the array.
So...
Awesome i got ya! Thank you so much!
That works! Thats crazy, why do you have to clear the buffer, and why does getchar() do it for you! Ha off to google....
Am i allowed to say scanf("%c", &again) in that spot? Because like I have it commented out, if I have it just like that, the program does not pause to allow me to enter a char and just keeps running...
I have no idea why my program just worked once when I changed the initializations, and now its not working again after no other changes...weird
For some reason when I put %c in there instead, it wont let me enter a character! Its just like the statement is not even there!
Thank you so much! It works! I had no idea!
Hey,
I have to write a program for class that takes in a last name, first name, and exam score and stores them into seperate arrays. No structs in this however. Then I have to print the high...