$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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?