- i offer 40$ for the job in 2 milestone(negotiable).
- (no time pressure).
- compile + link on vc9 is o.k. (but NO microsoft routines inside).
i need a "poco" program that List directories + files (*.cpp) recursively, either in a directory or in all
the disk like E:\ , and then inserts the *.cpp files (all of them) into two stl vectors.
( with 2 structure fields: file name with it's directory
file name with it's directory
"crudf" routine with the return status )
The thing that i search here is (after generating "crudf" routines and "crudf" routines with the return status i need to be sure that after EVERY "crudf" routine there is "crudf" routine with the return status.
IT MUST BE AT THE OPPOSITE PLACE AT THE 2ND VECTOR,IF NOT (AKA MISSING OR NOT SAME TABLE NUMBER --> MISTAKE)
(The 2nd "puts" the opposite routine at the right place but if not in the next cell).
(it looks at the first text to see if it is the same: "table_631_urls_update").
it's like: table_631_urls_update (...); table_631_urls_update_rtStatus (...);
there are 2 separate search / match cycles: one for: "crudf" routines and the second for: "crudf" routines with the return status
a "crudf" routine "looks" like this: table_631_urls_create (...);
a "crudf" routine with the return status "looks" like this:
since i don't know what "crudf" routines appear in a *.cpp file the
'searched crudf' words from the "regex" is like this: "table_*_*_* ("
and the second 'searched crudf' with return status: "table_*_*_*_rtStatus ("
i send it like this: [url removed, login to view] E:\ *.cpp
or like this: [url removed, login to view] E:\kandamunda\freelancer_xxtea3\xxtea_crypt\ *.cpp
i need it to be in 2 .cpp files,
1 with the: "List directories recursively" + the: two "vector" --> "load a # STL vector with values"
after complete load of the vector with ALL *.cpp files and their location, i need to call the 2nd .cpp:
- read the .cpp file into a buffer (the demo is not "poco", but if you can please do it in "poco").
- file that contains the "regex", it recieves the file name as a parameter, searches inside
(with Poco::RegularExpression example (search \ match) )
- i need to know what routines "regex" found, not just that he found them.
(maybe it is "match" and not "search").
*** please send the "regex subprogram twice for every *.cpp, (for "crudf" routines + "crudf" routines with return status) ***
- and returns the list of "crudf" routines found inside *.cpp file or nothing if NOT found.
- and returns the list of "crudf" routines with return status found inside *.cpp file or nothing if NOT found.
EVEN if there is a mistake and the routines with return status name ARE NOT the same name they appear in the
the founded list of "crudf" routines found are inserted into the second field of the 2nd : "STL vector", \
for each routine, for example
(but it must be at the opposite place at the 2nd vector)
a space in the RT cell means that the rtStatus routine for this "crudf" routine does not exist and
a new "crudf" routine found, and this is a mistake with space in cell in vector two.
at finish it traverses the two stl vectors and outputs the list as i show in the lines 84..116 above.
AND EACH TIME THERE IS ANOMALLY (MISTAKE) WRITE "MISTAKE" IN THE 3RD COLUMN.