Search:

Type: Posts; User: dwks

Search: Search took 0.07 seconds.

  1. Replies
    3
    Views
    10,471

    Perhaps that was badly worded. What I meant was,...

    Perhaps that was badly worded. What I meant was, you want the program to realize when it reaches the end of a line so that it can go onto the next row of the matrix. Essentially, reading in all the...
  2. Replies
    3
    Views
    10,471

    It's really quite straightforward. C++ considers...

    It's really quite straightforward. C++ considers all whitespace (spaces, newlines) to be separating characters, so if you say

    int x;
    while(file >> x) {
    std::cout << "I got " << x <<...
Results 1 to 2 of 2