User Profile

Collapse

Profile Sidebar

Collapse
Kalyan Ram
Kalyan Ram
Last Activity: Mar 1 '12, 05:12 AM
Joined: Feb 20 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Kalyan Ram
    replied to Split Vector
    in C
    It is not regarding split vector.
    Can anyone please help me in getting a variable from one class to another class.
    To make it brief... I have a class x and in that i have a method xy which has a string variable p which is declared as a local variable. I have another class y in which i want to get the string variable p.
    The below is my code :-
    I have Hit.cpp file which has the code as below :-

    string Hit::convertDat e(const...
    See more | Go to post

    Leave a comment:


  • Kalyan Ram
    replied to Split Vector
    in C
    Thanks for the solution weaknessforcats but i'm not looking for struct. I dont want to use struct in my coding.so, could u please provide me a solution as i asked for splitting a vector or conversion of vector to string so that i can go in the further procedure
    See more | Go to post

    Leave a comment:


  • Kalyan Ram
    replied to Split Vector
    in C
    To make my requirement more clear...
    First thing is i have a log file which i do consider and in that i have web hits which contains ip address , userid , date & time , link to which the Customer logs in.Now my requirement is i need to get the web hits for a particular Customer for a configurable time period. So, for this I have split the web hit by spaces and used a switch case through which i have stored each variable(ip address,userid...
    See more | Go to post

    Leave a comment:


  • Kalyan Ram
    replied to Split Vector
    in C
    Hi,
    the datatype is string.
    the access log file contains data in daily basis and am storing the web hits in each vector but i got date and time in same vector which i want to split and i have huge number of web hits
    See more | Go to post

    Leave a comment:


  • Kalyan Ram
    replied to Split Vector
    in C
    yes the time is for the same day...
    If i can split it then i can count how many times per day i got web hits
    See more | Go to post

    Leave a comment:


  • Kalyan Ram
    replied to Split Vector
    in C
    Hi,
    Thanks for the reply :)
    I can do that in comparision function but even for that i need to split the vector datetime. My requirement is i need to see the time for a particular day... to make it brief date is constant but i need to see the time which changes so for this i want to split them.
    See more | Go to post

    Leave a comment:


  • Kalyan Ram
    started a topic Split Vector
    in C

    Split Vector

    I have date and time combined in a vector and i want to split the date and time and store them in a vector again for comparision.
    The below is the format of datetime vector
    For example :-
    25/Jul/2011:00:00:32
    See more | Go to post
No activity results to display
Show More
Working...