|
Boost Users : |
Subject: [Boost-users] BOOST PASSING PARAMETER PROBLEM
From: M (meirab100_at_[hidden])
Date: 2012-05-30 00:39:19
hello
I have a program like the last regex program in this link:
http://www.boost.org/doc/libs/1_49_0/libs/regex/doc/html/boost_regex/ref/regex_token_iterator.html
inside the while loop *i++ returns the url's found with regex:
while(i != j)
{
std::cout << *i++ << std::endl;
}
i need to pass *i++ to a function that "accepts" the url string/address/pointer
(the function is in different c++ file) as a string
(before it the function header was char** argv)
how do i pass *i++ to the function in order to make it accept the *i++ parameter?
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net