printf C issues

ukpc5

New Member
hi i've got a program

which is written like this

part1*

printf("0/n")
printf("0/n")
printf("0/n")
printf("0/n")


part2*
printf("1/n")
printf("1/n")
printf("1/n")
printf("1/n")

im trying to get it to print both at the same time and i'm aimming to get it to print like
0 1
0 1
0 1
0 1

howerver its printing like this
0
0
0
0
1
1
1
1

is there a way to get it to print like the 1st way with out having it like printf("0/n") printf("1/n")
i've been trying to find a command to work with print f in that way however no joy yet any suggesstions?
 
thanks ian i realise that the /n means new line so it would shift it down however i'm using the 0's to create a shape specificly the 0's would make the shapes of numbers for a display i was just wondering if there was a command that would make it possply to write a few things but allow the next print f to start back on the same level again
 
I think it would be professional and practical to format the display data first in RAM, then just print each RAM line to a line.

Trying to format XY matrixed text characters at the time it actually prints seems very funky to me.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…