User Profile

Collapse

Profile Sidebar

Collapse
kamikaze04
kamikaze04
Last Activity: Mar 12 '08, 11:52 PM
Joined: Mar 11 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thank you about your enhacement in my code, i will test it tomorrow and tell you...but yes, it seems i'm a really newbie yet :(

    Thanks you again :)
    See more | Go to post

    Leave a comment:


  • Absolutely YES! fual,

    I was trying stupidly to define it as std:ostringstre am ss instead of just defining it as stringstream which allows me to insert and take from it.

    Just for future searchers, i just give here the code it is working now: (code can be simplified but i think it is usefull for newbies in this way)

    Code:
    static bool myfunction (istream & in) {
    
    string line;
    uint
    ...
    See more | Go to post

    Leave a comment:


  • Newbie question about streams (istream,ostream,ifstream)

    Hello.

    I have a very newbie question about Streams. The situation is that i have a function (that i cannot modify it's definition/call):

    Code:
    public void F1(istream & in){
       while( ...) {
          in >> value
          do stuff with value;
       }
    }
    Until now this function was called passing a istream that had been previously filled with the content of a file...
    See more | Go to post
No activity results to display
Show More
Working...