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

C / C++ / MFC

 
GeneralRe: how we get the path of a file Pin
happy_ram30-Jun-06 2:37
happy_ram30-Jun-06 2:37 
GeneralRe: how we get the path of a file Pin
Maximilien30-Jun-06 2:47
Maximilien30-Jun-06 2:47 
Questionsnapshot from webcam [modified] Pin
V_shr30-Jun-06 0:25
V_shr30-Jun-06 0:25 
QuestionWAB HomeNumber Pin
Tili30-Jun-06 0:25
Tili30-Jun-06 0:25 
AnswerRe: WAB HomeNumber Pin
Tili30-Jun-06 1:03
Tili30-Jun-06 1:03 
QuestionBasic question in C/ C++ Pin
Javagal Srinath30-Jun-06 0:11
Javagal Srinath30-Jun-06 0:11 
AnswerRe: Basic question in C/ C++ Pin
Kevin McFarlane30-Jun-06 0:32
Kevin McFarlane30-Jun-06 0:32 
AnswerRe: Basic question in C/ C++ [modified] Pin
Viorel.30-Jun-06 0:32
Viorel.30-Jun-06 0:32 
This means that the function does not modify data members of the class and does not call other functions which are not marked as const.

Functions that just read and return information must be made const. Otherwise the following sample will not work:

const CMyString s = "Test";
int length = s.GetLength(); // Does not work if GetLength function is not marked as const

This is because the s variable was declared as constant, se we cannot modify it.

-- modified at 6:33 Friday 30th June, 2006
AnswerRe: Basic question in C/ C++ Pin
Sarath C30-Jun-06 0:36
Sarath C30-Jun-06 0:36 
QuestionHow to intercept screen arbitrarily? Pin
huaiguczx29-Jun-06 23:30
huaiguczx29-Jun-06 23:30 
AnswerRe: How to intercept screen arbitrarily? Pin
Ivy_Venkat29-Jun-06 23:34
Ivy_Venkat29-Jun-06 23:34 
AnswerRe: How to intercept screen arbitrarily? Pin
David Crow30-Jun-06 2:37
David Crow30-Jun-06 2:37 
QuestionHow to Replace a line in a .TXT file Pin
zxc8929-Jun-06 23:17
zxc8929-Jun-06 23:17 
AnswerRe: How to Replace a line in a .TXT file Pin
Ivy_Venkat29-Jun-06 23:27
Ivy_Venkat29-Jun-06 23:27 
QuestionRe: How to Replace a line in a .TXT file Pin
David Crow30-Jun-06 2:40
David Crow30-Jun-06 2:40 
AnswerRe: How to Replace a line in a .TXT file Pin
Stephen Hewitt30-Jun-06 4:03
Stephen Hewitt30-Jun-06 4:03 
QuestionGetPixel intercept [modified] Pin
Venkat_Ivy29-Jun-06 23:16
Venkat_Ivy29-Jun-06 23:16 
Questionhow to fix the minimum size of the window? Pin
mimimimilaw29-Jun-06 23:10
mimimimilaw29-Jun-06 23:10 
AnswerRe: how to fix the minimum size of the window? Pin
ovidiucucu29-Jun-06 23:50
ovidiucucu29-Jun-06 23:50 
GeneralRe: how to fix the minimum size of the window? Pin
mimimimilaw30-Jun-06 0:03
mimimimilaw30-Jun-06 0:03 
AnswerRe: how to fix the minimum size of the window? Pin
Viorel.29-Jun-06 23:51
Viorel.29-Jun-06 23:51 
GeneralRe: how to fix the minimum size of the window? Pin
mimimimilaw30-Jun-06 0:03
mimimimilaw30-Jun-06 0:03 
QuestionError in controlling play volume Pin
programmer8129-Jun-06 22:46
programmer8129-Jun-06 22:46 
QuestionMultiple CHtmlView problem [modified] Pin
hyzerfool29-Jun-06 22:40
hyzerfool29-Jun-06 22:40 
QuestionRe: Multiple CHtmlView problem Pin
Viorel.29-Jun-06 23:37
Viorel.29-Jun-06 23:37 

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.