Click here to Skip to main content
15,891,629 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: assign infinity ?! Pin
J. Eric Vaughan19-Mar-04 3:31
J. Eric Vaughan19-Mar-04 3:31 
QuestionAlternative to LZxxx functions? Pin
Navin18-Mar-04 9:27
Navin18-Mar-04 9:27 
AnswerRe: Alternative to LZxxx functions? Pin
Alexander M.,18-Mar-04 9:34
Alexander M.,18-Mar-04 9:34 
GeneralRe: Alternative to LZxxx functions? Pin
Navin18-Mar-04 9:41
Navin18-Mar-04 9:41 
GeneralRe: Alternative to LZxxx functions? Pin
Ryan Binns18-Mar-04 17:10
Ryan Binns18-Mar-04 17:10 
GeneralQuestions about defining a funciton Pin
nachilau18-Mar-04 8:48
nachilau18-Mar-04 8:48 
GeneralRe: Questions about defining a funciton Pin
toxcct18-Mar-04 9:01
toxcct18-Mar-04 9:01 
GeneralRe: Questions about defining a funciton Pin
nachilau18-Mar-04 9:18
nachilau18-Mar-04 9:18 
Ummm,

You said the second one

char* const f();

does not exist, but if I write this in Visual C++, the compiler does not complain. Also, for the first one, I can actualy return something which is not a const, eg,

const int f()
{
int i = 10;
return i;
}

and it also works in Visual C++ too. And would you mind to tell me why's that?

Thank you very much! Wink | ;)

Nachi




GeneralRe: Questions about defining a funciton Pin
Alexander M.,18-Mar-04 9:24
Alexander M.,18-Mar-04 9:24 
GeneralRe: Questions about defining a funciton Pin
nachilau18-Mar-04 10:26
nachilau18-Mar-04 10:26 
GeneralRe: Questions about defining a funciton Pin
David Crow18-Mar-04 9:11
David Crow18-Mar-04 9:11 
GeneralRe: Questions about defining a funciton Pin
nachilau18-Mar-04 9:23
nachilau18-Mar-04 9:23 
GeneralRe: Questions about defining a funciton Pin
David Crow18-Mar-04 9:31
David Crow18-Mar-04 9:31 
GeneralRe: Questions about defining a funciton Pin
Michael Dunn18-Mar-04 15:01
sitebuilderMichael Dunn18-Mar-04 15:01 
GeneralHELP! .dbf header problem Pin
BlackDice18-Mar-04 7:15
BlackDice18-Mar-04 7:15 
GeneralEditbox unicode solved Pin
Demian Panello18-Mar-04 7:06
Demian Panello18-Mar-04 7:06 
GeneralCircular dependency Pin
bisquic18-Mar-04 6:58
bisquic18-Mar-04 6:58 
GeneralRe: Circular dependency Pin
Maximilien18-Mar-04 7:08
Maximilien18-Mar-04 7:08 
GeneralRe: Circular dependency Pin
bisquic18-Mar-04 7:18
bisquic18-Mar-04 7:18 
GeneralRe: Circular dependency Pin
jmkhael18-Mar-04 7:23
jmkhael18-Mar-04 7:23 
GeneralRe: Circular dependency Pin
Maximilien18-Mar-04 7:28
Maximilien18-Mar-04 7:28 
GeneralRe: Circular dependency Pin
bisquic18-Mar-04 7:37
bisquic18-Mar-04 7:37 
GeneralRe: Circular dependency Pin
Ian Darling18-Mar-04 23:06
Ian Darling18-Mar-04 23:06 
GeneralEditBox Unicode Pin
Demian Panello18-Mar-04 6:40
Demian Panello18-Mar-04 6:40 
GeneralRe: EditBox Unicode Pin
Alexander M.,18-Mar-04 9:16
Alexander M.,18-Mar-04 9:16 

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.