Search:

Type: Posts; User: taugust7

Search: Search took 0.01 seconds.

  1. Replies
    36
    Views
    12,057

    and the book assigned for this class doesnt have...

    and the book assigned for this class doesnt have anything on validation


    for (count = 0; count<=size-1; count++)
    {
    cin>> your_answers[count];
    while (your_answers[count] != 'a' &&...
  2. Replies
    36
    Views
    12,057

    i am studying, i dont learn well by book

    i am studying, i dont learn well by book
  3. Replies
    36
    Views
    12,057

    while ( your_answers != 'a' && 'b' && 'c' && 'd')...

    while ( your_answers != 'a' && 'b' && 'c' && 'd')

    didn't work
    ........
  4. Replies
    36
    Views
    12,057

    also i dont know what the crap isalpha and...

    also i dont know what the crap isalpha and tolower are, this is an intro level class and im tryin to teach myself arrays and loops ya know
  5. Replies
    36
    Views
    12,057

    thank you sir ill see what i come up with

    thank you sir ill see what i come up with
  6. Replies
    36
    Views
    12,057

    while (your_answers != 'a', 'b', 'c', 'd') ...

    while (your_answers != 'a', 'b', 'c', 'd')
    {
    cout<< "Your answer of "<< your_answers[count]<<" is invalid, please select A,B,C or D. \n";
    cin>>...
  7. Replies
    36
    Views
    12,057

    #include #include using...

    #include <iostream>
    #include <string>

    using namespace std;

    int main()
    {


    int count, correct = 0, incorrect = 0;
  8. Replies
    36
    Views
    12,057

    well either way...

    well either way sebastianinininnininininininininininininiininininiininiiinininin
    do you know what i should look into if i want to validate my answers without using (true)

    all i can think of is...
  9. Replies
    36
    Views
    12,057

    its not a homework assignment, my teacher...

    its not a homework assignment,
    my teacher expects us to learn loops in a week and didnt cover do's and fors,
    im goin over a few assignments and tryin to get them but i need alot of help
    he told us...
  10. Replies
    36
    Views
    12,057

    this is good, but i cant use (true) im limited...

    this is good, but i cant use (true)
    im limited in the crap i can use so if there is another simpler way of validation i would appreciate if you could help me
  11. Replies
    36
    Views
    12,057

    #include #include using...

    #include <iostream>
    #include <string>

    using namespace std;

    int main()
    {


    int count, correct = 0, incorrect = 0;
  12. Replies
    36
    Views
    12,057

    okay i feel like such a newb why the -1 in the...

    okay i feel like such a newb why the -1 in the for loops?
    for (count = 0; count<=size-1; count++)
    {
    cin>> your_answers[count];

    }

    and also he told us to use 21 because we have to...
  13. Replies
    36
    Views
    12,057

    also, i cant use strings, we werent taught that

    also, i cant use strings, we werent taught that
  14. Replies
    36
    Views
    12,057

    this is annoyingly complicated i hate nested loops

    this is annoyingly complicated i hate nested loops
  15. Replies
    36
    Views
    12,057

    the updated version works, now i jus need help on...

    the updated version works, now i jus need help on the a, b, c, d validation and displaying all incorrect answers
  16. Replies
    36
    Views
    12,057

    C:\Users\TimmyD\Desktop\programs\stuffski.cpp In...

    C:\Users\TimmyD\Desktop\programs\stuffski.cpp In function `int main()':
    23 C:\Users\TimmyD\Desktop\programs\stuffski.cpp `your' undeclared (first use this function)
    (Each undeclared identifier...
  17. Replies
    36
    Views
    12,057

    also i need some way of showing which ones they...

    also i need some way of showing which ones they got wrong
    and i need to put in answer vallidation
    like so you can only put up an a,b,c, or d answer

    i tried

    while (your_answers != a,b,c,d)
    {...
  18. Replies
    36
    Views
    12,057

    it has a problem at the if (answers[count] =...

    it has a problem at the
    if (answers[count] = your_answers[count])
    {
    correct +=1;
    }
  19. Replies
    36
    Views
    12,057

    write some code for me man you know you want to

    write some code for me man
    you know you want to
  20. Replies
    36
    Views
    12,057

    flaug i have to use only do, for, if, else and...

    flaug i have to use only do, for, if, else and while, cant use dex or index
    and no i have no clue where im goin from here i suck with loops and i keep tryin different things for validation such as ...
  21. Replies
    36
    Views
    12,057

    Comparing Arrays question

    I need help with an assignment, he never went over arrays in our class and we have to do this assignment. We are only allowed to use do, for, while, if, else. Here is the question. I'm using the dev...
Results 1 to 21 of 21