Re: Initializing an Array of Pointers to Char



On 2006-07-31, Richard Heathfield <invalid@xxxxxxxxxxxxxxx> wrote:
Andrew Poelstra said:

<snip>

printf ("\n");
fflush (stdout);

Either of those will work.
(Unless you can't see your output because you're in Visual Studio.
The fix in that case is to stop using Visual Studio.)

No, the fix in that case is to run the program in the debugger, putting a
breakpoint on the return statement in main() - another great reason to have
exactly one exit point in your program - or to run it outside the debugger
but still within Visual Studio (which will say "press any key to continue"
at the end of the program), or to run it from a console.

I am far from being the world's greatest Microsoft fan, but there's very
little wrong with their C compiler and IDE.


I have nothing against their compiler; I just don't like IDE's in
general. What I meant by "Stop using VS" was to go into a command line
and invoke the compiler directly. Or, you could keep using the IDE and
use a command line to run the program directly. (Either way, it's a good
experience if only to teach you something about command lines.)

--
Andrew Poelstra <website down>
To reach my email, use <email also down>
New server ETA: 42
.



Relevant Pages

  • Re: Learning with command-line vs IDE
    ... learn the fundamentals using the command-line compiler and a simple ... Visual Studio 6.0 at home and it is Pre dotnet. ... but a true editor is nice) ... Forms from the command line as well. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Command line compiler
    ... so that these two commands run each time I open a new command prompt. ... At work I have Visual Studio 2003 version 7.1.3088. ... I've read that there's a command line VC++ compiler called cl.exe, ...
    (microsoft.public.vc.mfc)
  • Embedded Resources
    ... I'm looking for the correct way to use the command line compiler for VB.NET ... I run ILDASM and peek at the manifest of my visual studio compiled assembly. ... I see some public RPX files listed with the RPX extension. ...
    (microsoft.public.dotnet.framework)
  • Re: Why no patch for the anoying Visual Basic compiler problem
    ... they do have a few hotfixes available. ... FIX: You may receive Visual Basic compiler error messages when you are ... we recommend that you wait for the next Microsoft Visual Studio 2005 service ...
    (microsoft.public.dotnet.languages.vb)
  • Command line compiler
    ... I'm a GNU/Linux developer trying to get comfortable with developing on the ... At work I have Visual Studio 2003 version 7.1.3088. ... I've read that there's a command line VC++ compiler called cl.exe, ...
    (microsoft.public.vc.mfc)