Click here to Skip to main content
15,916,601 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHello world... please help Pin
WakenDJ13-May-07 17:25
WakenDJ13-May-07 17:25 
AnswerRe: Hello world... please help Pin
Christian Graus13-May-07 17:59
protectorChristian Graus13-May-07 17:59 
GeneralRe: Hello world... please help Pin
WakenDJ13-May-07 18:15
WakenDJ13-May-07 18:15 
GeneralRe: Hello world... please help Pin
Christian Graus13-May-07 18:42
protectorChristian Graus13-May-07 18:42 
GeneralRe: Hello world... please help Pin
WakenDJ13-May-07 18:55
WakenDJ13-May-07 18:55 
GeneralRe: Hello world... please help Pin
Christian Graus13-May-07 19:12
protectorChristian Graus13-May-07 19:12 
GeneralRe: Hello world... please help Pin
WakenDJ13-May-07 19:28
WakenDJ13-May-07 19:28 
GeneralRe: Hello world... please help Pin
Christian Graus13-May-07 19:30
protectorChristian Graus13-May-07 19:30 
No, the console gets stuck because that is what a breakpoint is for. You need to add a line AFTER the printf, if you want the program to stop and let you see the printf output.

Regarding your assignment, what you need to do is have two loops, that's called a nested loop. One loop controls the number of lines you print, the other loop prints the number of #s in the line. Have you covered for loops in class ?


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

GeneralRe: Hello world... please help Pin
WakenDJ13-May-07 19:40
WakenDJ13-May-07 19:40 
GeneralRe: Hello world... please help Pin
Christian Graus13-May-07 20:39
protectorChristian Graus13-May-07 20:39 
GeneralRe: Hello world... please help Pin
WakenDJ13-May-07 20:44
WakenDJ13-May-07 20:44 
GeneralRe: Hello world... please help [modified] Pin
Nelek13-May-07 20:49
protectorNelek13-May-07 20:49 
GeneralRe: Hello world... please help Pin
Christian Graus13-May-07 20:54
protectorChristian Graus13-May-07 20:54 
GeneralRe: Hello world... please help Pin
WakenDJ13-May-07 20:58
WakenDJ13-May-07 20:58 
GeneralRe: Hello world... please help Pin
Christian Graus13-May-07 21:46
protectorChristian Graus13-May-07 21:46 
GeneralRe: Hello world... please help Pin
WakenDJ13-May-07 22:14
WakenDJ13-May-07 22:14 
GeneralRe: Hello world... please help Pin
Christian Graus13-May-07 22:34
protectorChristian Graus13-May-07 22:34 
GeneralRe: Hello world... please help Pin
Nelek13-May-07 22:53
protectorNelek13-May-07 22:53 
GeneralRe: Hello world... please help Pin
Nelek13-May-07 22:27
protectorNelek13-May-07 22:27 
GeneralRe: Hello world... please help Pin
Nelek13-May-07 20:46
protectorNelek13-May-07 20:46 
GeneralRe: Hello world... please help Pin
David Crow14-May-07 3:27
David Crow14-May-07 3:27 
QuestionHello world... help Pin
WakenDJ13-May-07 17:23
WakenDJ13-May-07 17:23 
AnswerRe: Hello world... help Pin
amets13-May-07 22:53
amets13-May-07 22:53 
QuestionThreadpool Linker Problem Pin
Cyrilix13-May-07 12:35
Cyrilix13-May-07 12:35 
AnswerRe: Threadpool Linker Problem Pin
led mike13-May-07 15:44
led mike13-May-07 15:44 

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.