Click here to Skip to main content
15,913,467 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Capture the screen (GDI) Pin
Ravi Bhavnani4-May-02 4:35
professionalRavi Bhavnani4-May-02 4:35 
GeneralRe: Capture the screen (GDI) Pin
Tom Archer4-May-02 4:42
Tom Archer4-May-02 4:42 
GeneralRe: Capture the screen (GDI) Pin
Tom Archer4-May-02 4:22
Tom Archer4-May-02 4:22 
GeneralRe: Capture the screen (GDI) Pin
Ravi Bhavnani4-May-02 4:35
professionalRavi Bhavnani4-May-02 4:35 
GeneralRe: Capture the screen (GDI) Pin
20-Jun-02 13:35
suss20-Jun-02 13:35 
GeneralRe: Capture the screen (GDI) Pin
20-Jun-02 13:47
suss20-Jun-02 13:47 
Generalstrlen()... quick question, quick answer :) Pin
SilverShalkin3-May-02 13:40
SilverShalkin3-May-02 13:40 
GeneralRe: strlen()... quick question, quick answer :) Pin
Christian Graus3-May-02 13:49
protectorChristian Graus3-May-02 13:49 
The problem is you should be using C++ instead of C. Make menu a std::string and use menu.length() to find out how big it is.

Otherwise, if menu is a char array, try strlen(&menu[0]); It's probably something like that, but I'm not sure - I don't program much C.


Christian

The tragedy of cyberspace - that so much can travel so far, and yet mean so little.

And you don't spend much time with the opposite sex working day and night, unless the pizza delivery person happens to be young, cute, single and female. I can assure you, I've consumed more than a programmer's allotment of pizza, and these conditions have never aligned. - Christopher Duncan - 18/04/2002
GeneralRe: strlen()... quick question, quick answer :) Pin
Anders Molin4-May-02 1:47
professionalAnders Molin4-May-02 1:47 
GeneralRe: strlen()... quick question, quick answer :) Pin
Christian Graus4-May-02 2:00
protectorChristian Graus4-May-02 2:00 
GeneralRe: strlen()... quick question, quick answer :) Pin
Anders Molin4-May-02 6:11
professionalAnders Molin4-May-02 6:11 
GeneralRe: strlen()... quick question, quick answer :) Pin
Christian Graus4-May-02 11:32
protectorChristian Graus4-May-02 11:32 
GeneralRe: strlen()... quick question, quick answer :) Pin
Anders Molin4-May-02 11:45
professionalAnders Molin4-May-02 11:45 
GeneralRe: strlen()... quick question, quick answer :) Pin
Christian Graus4-May-02 11:50
protectorChristian Graus4-May-02 11:50 
GeneralRe: strlen()... quick question, quick answer :) Pin
Anders Molin4-May-02 11:56
professionalAnders Molin4-May-02 11:56 
GeneralRe: strlen()... quick question, quick answer :) Pin
Nish Nishant3-May-02 13:57
sitebuilderNish Nishant3-May-02 13:57 
GeneralRe: strlen()... quick question, quick answer :) Pin
Gabriel.P.G3-May-02 18:14
Gabriel.P.G3-May-02 18:14 
Generalusing the std::string Pin
SilverShalkin4-May-02 6:50
SilverShalkin4-May-02 6:50 
GeneralCoInitialize/Ex in a DLL... not DLLMain.. Pin
jmsantos3-May-02 12:40
jmsantos3-May-02 12:40 
GeneralRe: CoInitialize/Ex in a DLL... not DLLMain.. Pin
Tim Smith3-May-02 13:19
Tim Smith3-May-02 13:19 
GeneralModeless (again) Pin
john john mackey3-May-02 11:12
john john mackey3-May-02 11:12 
GeneralRe: Modeless (again) Pin
Nish Nishant3-May-02 13:56
sitebuilderNish Nishant3-May-02 13:56 
GeneralRe: Modeless (again) Pin
Gary R. Wheeler4-May-02 3:54
Gary R. Wheeler4-May-02 3:54 
GeneralHelp with UI Pin
Steve L.3-May-02 10:39
Steve L.3-May-02 10:39 
GeneralRe: Help with UI Pin
PJ Arends3-May-02 10:45
professionalPJ Arends3-May-02 10:45 

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.