c - precision specifiers as a preprocessor variable -


How do I set an "exact specifier" in a function such as printf global as a launcher variable? I tried the following code:

  #include & lt; Stdio.h & gt; # Include & lt; Stdlib.h & gt; #define tostring (x) #x #define prc tostring (20)  

And so want in printf:

  FILE * cout; Cout = fopen ("c_out", "w"); For {{APN = 1; APN & LT; 11; APN ++} {For FPrint (COAT, "% D% D% D") (SN = 1; SNTEE; 12; SN ++) (In = 1; in & lt; 519;% D% d:%. Process \ n ", TN, DN, SN, IN, APN, CoEfapatiaISPINTP [TN] [DN] [SN] [IN] [APN])  

try it

  " % D% d% d% d% d:% "Prisi" e \ n " 

Comments