Click here to Skip to main content
15,918,808 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Resources for OOP practice for C++ Pin
OriginalGriff16-Nov-14 22:37
mveOriginalGriff16-Nov-14 22:37 
GeneralRe: Resources for OOP practice for C++ Pin
Richard MacCutchan16-Nov-14 22:46
mveRichard MacCutchan16-Nov-14 22:46 
QuestionDump file creation Pin
HungryCPPDev29-Oct-14 20:52
HungryCPPDev29-Oct-14 20:52 
AnswerRe: Dump file creation Pin
den2k8830-Oct-14 0:37
professionalden2k8830-Oct-14 0:37 
GeneralRe: Dump file creation Pin
HungryCPPDev30-Oct-14 20:37
HungryCPPDev30-Oct-14 20:37 
AnswerRe: Dump file creation Pin
bert_r30-Oct-14 5:16
bert_r30-Oct-14 5:16 
GeneralRe: Dump file creation Pin
HungryCPPDev30-Oct-14 20:36
HungryCPPDev30-Oct-14 20:36 
QuestionC code : read infomation of USB Pin
Member 1119126829-Oct-14 15:36
Member 1119126829-Oct-14 15:36 
GeneralRe: C code : read infomation of USB Pin
PIEBALDconsult29-Oct-14 17:30
mvePIEBALDconsult29-Oct-14 17:30 
AnswerRe: C code : read infomation of USB Pin
Vaclav Naydenov29-Oct-14 21:32
Vaclav Naydenov29-Oct-14 21:32 
Questionhangman code in C Pin
Member 1118939529-Oct-14 10:56
Member 1118939529-Oct-14 10:56 
SuggestionRe: hangman code in C Pin
Richard MacCutchan29-Oct-14 22:27
mveRichard MacCutchan29-Oct-14 22:27 
GeneralRe: hangman code in C Pin
Member 1118939529-Oct-14 22:54
Member 1118939529-Oct-14 22:54 
GeneralRe: hangman code in C Pin
Richard MacCutchan30-Oct-14 1:56
mveRichard MacCutchan30-Oct-14 1:56 
GeneralRe: hangman code in C Pin
CPallini30-Oct-14 7:33
mveCPallini30-Oct-14 7:33 
GeneralRe: hangman code in C Pin
Richard MacCutchan30-Oct-14 22:27
mveRichard MacCutchan30-Oct-14 22:27 
QuestionRe: hangman code in C Pin
David Crow31-Oct-14 4:32
David Crow31-Oct-14 4:32 
QuestionConvert unicode string into ascii text with numeric character references Pin
Leif Simon Goodwin29-Oct-14 5:15
Leif Simon Goodwin29-Oct-14 5:15 
QuestionCustomized virtual drive Pin
lrtsenar29-Oct-14 3:47
lrtsenar29-Oct-14 3:47 
AnswerRe: Customized virtual drive Pin
Richard MacCutchan29-Oct-14 3:54
mveRichard MacCutchan29-Oct-14 3:54 
Questionc program Pin
Member 1118930829-Oct-14 0:40
Member 1118930829-Oct-14 0:40 
AnswerRe: c program Pin
Richard MacCutchan29-Oct-14 3:52
mveRichard MacCutchan29-Oct-14 3:52 
QuestionRe: c program Pin
CPallini29-Oct-14 4:36
mveCPallini29-Oct-14 4:36 
GeneralRe: c program Pin
PIEBALDconsult29-Oct-14 4:52
mvePIEBALDconsult29-Oct-14 4:52 
AnswerRe: c program Pin
Stefan_Lang30-Oct-14 0:20
Stefan_Lang30-Oct-14 0:20 
For MS VisualStudio, this should work:

int main()
{
#pragma message ("Hello World!")
}

It will generate the message "Hello World at compile time, even if the ';' key is broken on your keyboard. see http://msdn.microsoft.com/en-us/library/x7dkzch2%28v=vs.100%29.aspx[^]

On a sidenote, you can write C++ programs without the use of many central characters by using digraphs and trigraphs[^]. However, ';' is ot one of the characters you can circumscribe that way, and you can't express any command that will be executed at runtime without it.
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

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.