Search:

Type: Posts; User: vileoxidation

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Okay, its all working now!! Thank you so much for...

    Okay, its all working now!! Thank you so much for your help, tabstop! I am so appreciative to you. :-)
  2. Okay. And I emailed my teacher, and she said...

    Okay. And I emailed my teacher, and she said there was a typo, so that is good. The function should be void, and should print the strings. So I changed that, and it is working fine now.

    I have...
  3. `

    Yeah, that makes sense, but I am unsure how I am supposed to do it. See, my teacher provided both the main function and the header of the MatchChecker function, so I am thinking that one of the...
  4. Oops, I totally forgot those parentheses. Okay,...

    Oops, I totally forgot those parentheses. Okay, they are in there now, even though that line won't be staying long, I don't think.

    Okay, if I don't have a cout in here, how do I print the result?...
  5. Okay...so I have tried to think it through, and I...

    Okay...so I have tried to think it through, and I think that I should put it right after the switch statement, before the last if statement. Is that right? What I mean is shown below in my code.
    ...
  6. Oh, okay. That works...everything compiles and...

    Oh, okay. That works...everything compiles and works fine now. The problem is, now the output is not correct. When I enter a mismatched string, no error message prints out. It just prints the main...
  7. I think you've got me confused with someone else....

    I think you've got me confused with someone else. No biggie, though! I was just confused as to how I could have completely broken the pop function, and I'm glad to know I didn't totally screw...
  8. Okay, that makes sense, but it also confuses me....

    Okay, that makes sense, but it also confuses me. How am I supposed to do this if I can't assign the value of lineToCheck[j] to a string? Is there a way to convert it from a character to a string?...
  9. Alright, I changed my single quote marks to...

    Alright, I changed my single quote marks to doubles, so that the characters were being read as strings, and now I am not getting those errors about the == operator. I am still getting the errors...
  10. Okay...so I created a new variable, a character,...

    Okay...so I created a new variable, a character, which I am initializing to the same thing as ch, which is lineToCheck[j], and running my switch on that. Also, I uncommented the other if statement...
  11. Okay, I have worked on the program some more, but...

    Okay, I have worked on the program some more, but I still can't figure out how to get it to do what I want. Right now, I am using strcmp to compare the strings, but I am getting an error (multiple...
  12. Hmm...every time I try putting string instead of...

    Hmm...every time I try putting string instead of char, I get even more errors, shown below. Do I need to use .compare now because they are strings? I tried that at first, and it didn't work, but...
  13. Oh, okay. No, there isn't a reason, besides the...

    Oh, okay. No, there isn't a reason, besides the fact that I don't know how to alter things so that I am using actual strings rather than char arrays. How would I change things to use strings instead...
  14. Okay, that's what I thought, but I don't know how...

    Okay, that's what I thought, but I don't know how to get it to return the string I want. I need to concatenate stuff to the string, so I tried using the + operator, but I got an error (shown below)....
  15. Okay, I did some work on the errors I had, and I...

    Okay, I did some work on the errors I had, and I have a new version of the code that only has 1 error, and 2 warnings. Here are those:

    MatchChecker.h|20|warning: comparison between signed and...
  16. What do you mean? Are there unmatched parentheses...

    What do you mean? Are there unmatched parentheses in my code? I can't find any, but I don't know exactly what you mean here.




    Okay...I understand what you mean about all this. I am used to...
  17. Problem with Program to Check if Separators Match

    Hello, and thank you for taking the time to help me! I am working on a program that reads a string after the option "E" (enter a string) is chosen, and checks if parentheses (), brackets [], and...
  18. Replies
    11
    Views
    1,317

    Yeah, its really strange. I submitted my files to...

    Yeah, its really strange. I submitted my files to the online compiler we use for submission of assignments, and it worked fine. So its just stuck on my computer and won't run the new version. That is...
  19. Replies
    11
    Views
    1,317

    Yeah, but I don't get that. I get the screen shot...

    Yeah, but I don't get that. I get the screen shot in the attached picture...how strange.

    Maybe I'll try downloading my files from here and see if they run differently.
  20. Replies
    11
    Views
    1,317

    Here are my cases, which are the only part I...

    Here are my cases, which are the only part I changed of the StaffMemberParser.h file:



    case 0: type = field; break;
    case 1: firstName =...
  21. Replies
    11
    Views
    1,317

    Oh...I thought you meant that it needed to be...

    Oh...I thought you meant that it needed to be expanded so that it crossed all of the cases. But what you actually meant was that it doesn't even get to the fourth, because it can't due to what you...
  22. Replies
    11
    Views
    1,317

    Oh, okay, that makes sense. ...but how do I fix...

    Oh, okay, that makes sense. ...but how do I fix it? I tried moving the return statement to the fifth case, and commenting it out of the fourth case, but that didn't work either. How can I make it...
  23. Replies
    11
    Views
    1,317

    Here is the last file.

    Here is the last file.
  24. Replies
    11
    Views
    1,317

    Problem with Output

    Thank you for taking the time to help me! I am working on a program that keeps information about staff members, such as volunteers and employees. The problem I am having is that when I run the...
  25. Replies
    31
    Views
    12,902

    Nevermind. I added private before the header and...

    Nevermind. I added private before the header and of course it worked.

    Thank you for all of the help, tabstop!! I so appreciate it.
Results 1 to 25 of 78
Page 1 of 4 1 2 3 4