[panda-users] need help reading stringserach.cpp
Gerald Van Winkle
gerryvanwinkle at gvtc.com
Sun Feb 17 12:43:03 EST 2019
Never mind, it i set to the default value of 0. Which then gets used as an index into a string to pick off a char to compare with val.
At least that is what it looks like to me now.
----- Original Message -----
From: panda-users-request at mit.edu
To: panda-users at mit.edu
Sent: Sunday, February 17, 2019 11:00:17 AM
Subject: panda-users Digest, Vol 49, Issue 1
Send panda-users mailing list submissions to
panda-users at mit.edu
To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.mit.edu/mailman/listinfo/panda-users
or, via email, send a message with subject or body 'help' to
panda-users-request at mit.edu
You can reach the person managing the list at
panda-users-owner at mit.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of panda-users digest..."
Today's Topics:
1. need help reading stringserach.cpp (Gerald Van Winkle)
----------------------------------------------------------------------
Message: 1
Date: Sat, 16 Feb 2019 15:37:10 -0500
From: Gerald Van Winkle <gerryvanwinkle at gvtc.com>
Subject: [panda-users] need help reading stringserach.cpp
To: <panda-users at mit.edu>
Message-ID:
<1261064166.851328782.1550349430131.JavaMail.zimbra at gvtc.com>
Content-Type: text/plain; charset="utf-8"
I'm trying to read and understand stringsearch.cpp. I'm a noob with C++. (This is actually a C++ question, but my searching C++ forums is just getting me confused.)
My question is about how string_pos in std::map<prog_point,string_pos> &text_tracker in the mem_callback function is getting set to a value other than default?
Specifically, where is the value for the key p in text_tracker coming from?
Help, Gerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/panda-users/attachments/20190216/d8d33ff4/attachment-0001.html
------------------------------
_______________________________________________
panda-users mailing list
panda-users at mit.edu
http://mailman.mit.edu/mailman/listinfo/panda-users
End of panda-users Digest, Vol 49, Issue 1
******************************************
More information about the panda-users
mailing list