End Google Ads 201810 - BS.net 01 --> Hi friends,

I need to count total pages into a PDF file using c++/VC++.
Can you please provide a c++/VC++ *****alent code for the below C# code.

I tried all ways but not able to read each line from the file.
If i got single line from file, I can make comparison using second sample.

So please tell how to read single line from PDF file opened in binary mode.


Thanks,
Subhash


C# sample

Counting PDF Pages using Regular Expressions[^]

C++ Sample

Using Regular Expressions in MFC[^]