Search:

Type: Posts; User: FH|RogueHunter

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,089

    ooh, alright I understand now works perfectly,...

    ooh, alright I understand now

    works perfectly, thanks :D
  2. Replies
    2
    Views
    1,089

    pointer / array question

    I need to make a dynamically-allocated two-dimensional array.

    so what i did was:

    int **arrayPtr;

    then i get my width and my height.
    then:

    arrayPtr = new int[width][height];
  3. Replies
    1
    Views
    21,656

    square root alternative

    I have to use square root in a program, but im not allowed to use the cmath library.

    is there an alternative way to calculate square root?
  4. Replies
    2
    Views
    1,154

    thanks, worked perfectly :)

    thanks, worked perfectly :)
  5. Replies
    2
    Views
    1,154

    convert string to int

    I have this program where the user can enter commands, followed by either a string, or int, depends on which command asks for.

    so i store the input all into one string, then cut it into two...
  6. Replies
    4
    Views
    947

    nevermind i figured it out, im new to programing,...

    nevermind i figured it out, im new to programing, i decided not to use getline() and my while statement now works with detecting a new line
  7. Replies
    4
    Views
    947

    do untill new line entered

    Im writing a program where i want it to keep getting input untill a blank line is entered... im using getline(), im not sure on how to check if a blank line has been entered
    if anyone knows i would...
Results 1 to 7 of 7