Search:

Type: Posts; User: inkjoy00

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    974

    Thanks. That does solve the problem. Another...

    Thanks. That does solve the problem.

    Another quick question:

    I have


    cout << "Start End Subject Location";
  2. Replies
    9
    Views
    974

    *** Ignore the top. Below is the correct format. ...

    *** Ignore the top. Below is the correct format.

    This is my output when I convert it to C++:

    Start End Subject Location
    9: 010:30Team CAFE CA
    11:0 12:30Team ...
  3. Replies
    9
    Views
    974

    This is my output when I convert it to C++: ...

    This is my output when I convert it to C++:

    Start End Subject Location
    9: 010:30Team CAFE CA
    11:0 12:30Team CAFE NY
    13:0 18:0 CAFE CAFE TX


    This is...
  4. Replies
    9
    Views
    974

    This is what I did: #include ...

    This is what I did:



    #include <iostream>
    #include <iomanip>

    using namespace std;

    int main()
  5. Replies
    9
    Views
    974

    C++ Outputing Formats:

    I'm having a difficult time changing my codes from C to C++.

    For C:



    printf("%2d/%-2d ", month, day);

    printf("%02d:%02d ", hour, minute);
  6. Reading lines from a file and storing it in an array from typdef struct

    I'm trying to read in lines for a file and storing it in an array. This is what I have so far. Am I allocating the memory correctly?



    typedef struct {

    /* declartion of variables */
    } App
  7. Storing an Array that is Dynamically Allocated of a Struct

    I'm trying to read in a file and store it in an array that is dynamically allocated of a struct (which I'm not sure how to do), then parse each line using strtok() from string.h.
    The idea is to...
  8. Trouble with Reading a File in and Separating the Line with Strtok()

    I'm trying to read a file from the 2nd argument, skipping the first line of the file since it's the name of the columns, and separate each line as a token, by date, subject, startTime, endTime, and...
Results 1 to 8 of 8