?
=?ISO-8859-1?Q?Martin_J=F8rgensen?=
Hi,
Perhaps a stupid question but I wonder if this isn't possible using C:
printf("\nOr push <enter> for default (which is theta=%ld)%s", theta, ": ");
It would be nicer to have it on one line... (I know this works):
printf("\nOr push <enter> for default (which is theta=%ld)", theta);
printf(": ");*/
Compiler: MS Visual studio 2005. The compiler doesn't complain actually
(well, at least not about the particular line). But when I run the
program VS2005 opens a window named "Visual Studio Just-In-Time
Debugger" and then it wants me to choose between two possible debuggers
(1: New instance of VS 2005, 2: My project). I then tell it that I don't
want to debug the program just stops. If I instead tell it that I want
to debug it, it says: "Unhandled exception at 0x10227.... (msvcr80d.dll)
Access violation reading...
What is wrong?
Med venlig hilsen / Best regards
Martin Jørgensen
Perhaps a stupid question but I wonder if this isn't possible using C:
printf("\nOr push <enter> for default (which is theta=%ld)%s", theta, ": ");
It would be nicer to have it on one line... (I know this works):
printf("\nOr push <enter> for default (which is theta=%ld)", theta);
printf(": ");*/
Compiler: MS Visual studio 2005. The compiler doesn't complain actually
(well, at least not about the particular line). But when I run the
program VS2005 opens a window named "Visual Studio Just-In-Time
Debugger" and then it wants me to choose between two possible debuggers
(1: New instance of VS 2005, 2: My project). I then tell it that I don't
want to debug the program just stops. If I instead tell it that I want
to debug it, it says: "Unhandled exception at 0x10227.... (msvcr80d.dll)
Access violation reading...
What is wrong?
Med venlig hilsen / Best regards
Martin Jørgensen