Click here to Skip to main content
15,894,017 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Self assignment Pin
Moak14-May-07 0:28
Moak14-May-07 0:28 
Questionprogram too big to fit in memory - revisited Pin
dharani13-May-07 18:28
dharani13-May-07 18:28 
AnswerRe: program too big to fit in memory - revisited Pin
Christian Graus13-May-07 18:43
protectorChristian Graus13-May-07 18:43 
GeneralRe: program too big to fit in memory - revisited Pin
dharani13-May-07 19:25
dharani13-May-07 19:25 
GeneralRe: program too big to fit in memory - revisited Pin
Christian Graus13-May-07 19:31
protectorChristian Graus13-May-07 19:31 
AnswerRe: program too big to fit in memory - revisited Pin
User 58385213-May-07 20:05
User 58385213-May-07 20:05 
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 
Do what I said to do before - go to File/New/Project. Select Visual C++/Win32.

Now create a Win32 Project. Enter a name and click OK. Now click on 'Application Settings' and choose 'console application' Deselect precompiled header and choose 'empty project'

Now right click on the project name in the solution explorer and choose add/new item. Click on 'code' and C++ file. Type in main.c, and click OK. Put your code in, and VC++ will know it's a C project, and it iwll compile and run just fine.

The one thing is, the app will not pause for you to see the output, you need to add a line to read text, or set a break point, in order for the window to not open and close again right away.


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 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 
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 

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.