I would like to print an equation to the screen of a simple console Win32 app, but when I use it in the printf the modulus operator is invoked and the function tries to link it with a variable, however I just want to use the "%" as plain text to display the equation on the screen. How do I tell the compiler to ignore the "%" operator as its normal function within printf? Thanks
I don't use normal C, but with Perl's and Java's printf and String.format functions, which are moddled after C's printf function, you use "%%" just like how "%n" is a line break.