Click here to Skip to main content
16,005,473 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSTL basic_string 2 MFC Pin
alex.barylski11-May-04 14:26
alex.barylski11-May-04 14:26 
GeneralRe: STL basic_string 2 MFC Pin
Christian Graus11-May-04 14:27
protectorChristian Graus11-May-04 14:27 
GeneralRe: STL basic_string 2 MFC Pin
alex.barylski11-May-04 14:41
alex.barylski11-May-04 14:41 
Generaldelayload Pin
Christopher Lloyd11-May-04 14:14
Christopher Lloyd11-May-04 14:14 
GeneralRe: delayload Pin
igor196012-May-04 9:29
igor196012-May-04 9:29 
Generalregex parsing C++ Pin
alex.barylski11-May-04 13:11
alex.barylski11-May-04 13:11 
GeneralRe: regex parsing C++ Pin
Erik Thompson11-May-04 13:39
sitebuilderErik Thompson11-May-04 13:39 
GeneralRe: regex parsing C++ Pin
alex.barylski11-May-04 14:41
alex.barylski11-May-04 14:41 
Erik Thompson wrote:
But I think VS.NET already does this for you in their tasklist addin

It's actually not for C++ it's for PHP and the editor I use doesn't support VS addins i'm afraid Smile | :)

The TODO I already have figured out Smile | :)


Erik Thompson wrote:
As for parsing C++ templates you'd have to incorporate into your regex parser the grammer for C++ templates which most people would probably just pull out of gcc and use flexx/bison (lex/yacc) to build up what they needed to parse the c++ templates which would do the regular expressions for you. Then you just plug into the grammer where needed to generate what you wanted at the times you wanted it.

I'm looking for simplicity in development and I have a helluva time understanding parsing grammers...i've already looked into Spirit and i'm not exactly blown away by it's ease of use...I need just a simple doc gen so i care not if it's inefficient...

I want to use regex because I figured it would be easier to do something like:

1) Find any TODO: which folows directly after // or /* and continues until end of line or corresponding */ is found (if applicable)
2) Find all characters after TODO: and before EOL or */

Thats my TODO list Smile | :)

As for finding classes (im thinking):

1) find class cls_name{}
2) Extract the class name and store in vector
3) Get any comments preceeding class declaration which have a \brief switch directly after // or /*
4) Extract each of classes member functions and variables
5) Pull comments about each member as well

Once i've complied a couple vectors with this information I figure I could easily generate HTML docs Smile | :)

And i'd be happy Smile | :)

Erik Thompson wrote:
As for printing your voice mail. Hook your VMail system up to a Speech to Text(S2T) system and then connect your S2T sytem to a parrellel port that connects to your printer. Then push your VMail into the S2T the output of the S2T into the printer to get your vmail to paper and thus printed.

That was actually a .... IT pet peeves list??? of the ten most annoying questions asked by complete idiots or something along those lines...when I read it...I laughed, thought it was funny so I use it as my sig Smile | :)

To bad I didn't keep that link I could send them your answer so they can finally answer their clients Smile | :)

Cheers

How do I print my voice mail?
GeneralRe: regex parsing C++ Pin
Andrew Walker11-May-04 16:27
Andrew Walker11-May-04 16:27 
GeneralRe: regex parsing C++ Pin
alex.barylski11-May-04 16:38
alex.barylski11-May-04 16:38 
GeneralRe: regex parsing C++ Pin
Andrew Walker11-May-04 16:42
Andrew Walker11-May-04 16:42 
GeneralRe: regex parsing C++ Pin
Snyp11-May-04 13:40
Snyp11-May-04 13:40 
GeneralGraphics Programming :: Approach and Books Pin
valikac11-May-04 12:53
valikac11-May-04 12:53 
GeneralRe: Graphics Programming :: Approach and Books Pin
Jim Crafton11-May-04 13:10
Jim Crafton11-May-04 13:10 
GeneralRe: Graphics Programming :: Approach and Books Pin
valikac11-May-04 13:22
valikac11-May-04 13:22 
GeneralRe: Graphics Programming :: Approach and Books Pin
parths11-May-04 20:21
parths11-May-04 20:21 
GeneralSuggested Book Pin
ursus zeta11-May-04 13:27
ursus zeta11-May-04 13:27 
GeneralRe: Suggested Book Pin
Jim Crafton11-May-04 14:12
Jim Crafton11-May-04 14:12 
GeneralRe: Suggested Book Pin
Christian Graus11-May-04 14:28
protectorChristian Graus11-May-04 14:28 
GeneralRe: Graphics Programming :: Approach and Books Pin
Christian Graus11-May-04 14:33
protectorChristian Graus11-May-04 14:33 
GeneralRe: Question 1 Pin
Andrew Walker11-May-04 16:38
Andrew Walker11-May-04 16:38 
GeneralRe: Graphics Programming :: Approach and Books Pin
valikac12-May-04 4:43
valikac12-May-04 4:43 
Generalfreshman: The Sturct MSG has six memebers, but WndProc just need the first four, why Pin
bloggs197411-May-04 10:30
bloggs197411-May-04 10:30 
GeneralRe: freshman: The Sturct MSG has six memebers, but WndProc just need the first four, why Pin
Jim Crafton11-May-04 13:12
Jim Crafton11-May-04 13:12 
GeneralThe WndProc is only passed the first four parameter, so how can I deal with the last two parameters in the case-clause? Pin
bloggs197411-May-04 16:20
bloggs197411-May-04 16:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.