Search:

Type: Posts; User: Sparkle1984

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,595

    Thanks. I have tried this, but I get an error...

    Thanks. I have tried this, but I get an error message saying 'get_date': is not a member of Transaction. Any ideas what I'm doing wrong?
  2. Replies
    4
    Views
    1,595

    Searching the contents of a vector

    How do I perform a search operation on the contents of a vector?

    My vector looks like this (the beginning of it):



    int main(void)
    {
    vector<Transaction> trans; //instantiates a vector...
  3. Replies
    2
    Views
    898

    Converting the format of dates

    My program has a vector of 50 objects like this :


    trans.push_back(Transaction(1365,"Norwich","20030901","1200",12,005,"Nobody present"));

    What I need to do is convert all the dates from...
  4. Replies
    5
    Views
    2,947

    Thanks, it's working fine now. :)

    Thanks, it's working fine now. :)
  5. Replies
    5
    Views
    2,947

    Thanks for your help. But when I ran the...

    Thanks for your help.

    But when I ran the program, it printed out the words "TRACKING ID", when I need it to print the actual tracking ID itself, which in this case is the number 1365.
  6. Replies
    5
    Views
    2,947

    Extracting data from an array in C

    I am writing a program in C which will extract data from an array.

    The array contains the data: char test[] = "TRACKING ID: 1365 DATE: 20030901 TIME: 1200 ROUTE: 12 DRIVER: 005 STATUS: Nobody...
Results 1 to 6 of 6