Search:

Type: Posts; User: HBlakeH

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    6,321

    I have changed my code with the help from a...

    I have changed my code with the help from a classmate but the output is a zero with 31 ones with the input: 1001 101

    It is supposed to take in arguments from the command line.
    ex:
    g++ main.cpp...
  2. Replies
    6
    Views
    6,321

    The thing is I can't even get it to start because...

    The thing is I can't even get it to start because of getch()
  3. Replies
    6
    Views
    6,321

    C++ Binary Addition

    I am trying to write a program that adds any pair of binary numbers up to 31 digits correctly.

    I am having a very difficult time with this. I can't figure out how to let it accept 31 digits, how...
  4. Replies
    1
    Views
    7,122

    Help with a Battleship Program

    Im trying to write a function for a battleship program that will guess spots on a 10x10 array grid and return whether the shot was a miss, hit, or sunk a ship. A couple of friends and I are planning...
  5. Replies
    15
    Views
    14,792

    Grading Program using multidimensional arrays

    Hi,

    I am working on a program to read in a multidimensional array of the number of students in a class and the number of exams which I have written as:
    int scores [NUMBERofSTUDENTS][EXAMSCORES];...
Results 1 to 5 of 5