Search:

Type: Posts; User: Unknowntoyou000

Search: Search took 0.01 seconds.

  1. Replies
    15
    Views
    1,789

    no I'm not referring to the above code.. in...

    no I'm not referring to the above code..

    in any case I don't have time to fix all the errors I have in this program lol.. its due in 35 minutes..... but thanks for the help anyways
  2. Replies
    15
    Views
    1,789

    I'm a noob lol... how do I pass the pointer...

    I'm a noob lol...
    how do I pass the pointer through the function?
    I already declared my struct outside any function..
  3. Replies
    15
    Views
    1,789

    Ok.. this is what I have so far and I'm wondering...

    Ok.. this is what I have so far and I'm wondering if everything is right so far?
    and I don't know what to pass through the functions.. I'm thinking a pointer pointing at where my array of structures...
  4. Replies
    15
    Views
    1,789

    bleh.. ok I know a little about sorting now.... ...

    bleh.. ok I know a little about sorting now....

    I know how to sort by numbers of a normal int array..

    but I need to sort by the char's of the last name that is included in a structure.. the...
  5. Replies
    15
    Views
    1,789

    oh yea -_-'' ok I'll do that (:

    oh yea -_-''

    ok I'll do that (:
  6. Replies
    15
    Views
    1,789

    oh yea I'll fix that real fast -_-'' almost...

    oh yea I'll fix that real fast -_-''

    almost nothing lol..
  7. Replies
    15
    Views
    1,789

    Sorting/Displaying

    I'm a huge noob at programming.. but I'm suppose to be making a program that creates an array of structures... each structure contains the id, first name, last name, major, and gpa of a student......
  8. Replies
    16
    Views
    4,020

    so I'm trying to dynamically create this array of...

    so I'm trying to dynamically create this array of structures...

    should it look something like:



    struct* my_array = new my_struct[x];


    where x is the number of students
  9. Replies
    16
    Views
    4,020

    ok thanks (: the new[] and delete[] I believe is...

    ok thanks (:
    the new[] and delete[] I believe is what my professor was referring to
  10. Replies
    16
    Views
    4,020

    Dynamically create an array?

    I was given a programming assignment.. and part of it states:
    "
    1. Read how many students are in the file and dynamically create an array of structure to store the student information.
    "

    I'm...
  11. Replies
    24
    Views
    3,038

    I did thanks :) :)

    I did
    thanks :) :)
  12. Replies
    24
    Views
    3,038

    Oh I think I had an extra } I deleted it :)

    Oh I think I had an extra }
    I deleted it :)
  13. Replies
    24
    Views
    3,038

    only one error left: 220 expected declaration...

    only one error left:
    220 expected declaration before '}' token
    which is the last line btw
  14. Replies
    24
    Views
    3,038

    oh yea thanks.. ok I'll see what I can do......

    oh yea thanks.. ok I'll see what I can do... *goes to fix errors!*
  15. Replies
    24
    Views
    3,038

    Errors: In function `int main()': 177 ...

    Errors:
    In function `int main()':
    177 [Warning] division by zero in `(n / 2) % 0'
    177 At global scope:
    220 expected declaration before '}' token

    With code:


    #include <iostream>
  16. Replies
    24
    Views
    3,038

    Ok I just did a sweep and fixed a lot of...

    Ok I just did a sweep and fixed a lot of errors... I still have a few though :(
    I have 5 errors left to go lol
    thanks for helping me so far.. I would've probably just given up without help :/
  17. Replies
    24
    Views
    3,038

    do I use ';' then? lol

    do I use ';' then? lol
  18. Replies
    24
    Views
    3,038

    oh ok thanks Oh lol -_-''

    oh ok thanks

    Oh lol -_-''
  19. Replies
    24
    Views
    3,038

    Oh and btw Thanks for helping this confused soul...

    Oh and btw
    Thanks for helping this confused soul lol
  20. Replies
    24
    Views
    3,038

    lol yea I know I still have a lot of errors to...

    lol yea I know
    I still have a lot of errors to deal with.. and I really don't see what's wrong with most of the stuff....

    my code now looks like


    #include <iostream>
    using namespace std;
  21. Replies
    24
    Views
    3,038

    Ok thanks I fixed that problem.. lol Wanna...

    Ok thanks I fixed that problem.. lol


    Wanna help with another one? -_-'



    int gameStatus(char gameboard)
    {
    // To check if player one has won
  22. Replies
    24
    Views
    3,038

    One big question.. the error.. too many...

    One big question..
    the error.. too many initializers for `char[3][3]'
    for the code that looks like:
    char gameboard[3][3] = { " ", " ", " ", " ", " ", " ", " ", " ", " "};
    I don't get this one......
  23. Replies
    24
    Views
    3,038

    Lol thanks I'm trying right now.. I kinda suck...

    Lol thanks
    I'm trying right now.. I kinda suck at this stuff though :/
  24. Replies
    24
    Views
    3,038

    Yea I have a compiler I just don't know how to...

    Yea I have a compiler
    I just don't know how to go about fixing the errors :(
    Right now I'm trying to go through it and fix what I can...
  25. Replies
    24
    Views
    3,038

    Tic Tac Toe Program Question

    I'll start by saying that I don't know much about programming... but I was trying to make a program that would let two users play a game of tic tac toe... I apparently have a lot of debugging to do...
Results 1 to 25 of 25