User Profile

Collapse

Profile Sidebar

Collapse
sromano
sromano
Last Activity: Sep 20 '07, 02:27 PM
Joined: Sep 19 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • sromano
    replied to any hints would help
    in C
    I really appreciate this after reading some thing about file I/O, I have gotten to this point but I got errors after defining the structure.

    Code:
    #include <iostream>
    #include <string>
    #include <vector>
    #include <fstream>
    #include "log_view.h"
    
    int main();
    
    std::vector<string> split (const string&, char)
    {}
    std::vector<Log_Entry>
    ...
    See more | Go to post

    Leave a comment:


  • sromano
    started a topic any hints would help
    in C

    any hints would help

    Code:
     vector<Log_Entry> parse(string);

    This function should do the following:

    * Open a log file specified by the parameter name (File I/O).
    * Read lines from the opened file.
    * Create a Log_Entry object passing the line just input.
    * Push each List_Entry object onto a vector.
    * Return the vector of Log_Entrys.

    so far I have got

    Code:
    #include
    ...
    See more | Go to post
No activity results to display
Show More
Working...