Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Storing results right Aligned

Status
Not open for further replies.

Anstar

Programmer
Dec 24, 2004
1
US
Hi,
I am working on a matrix of integer(1 to 6 digit values) values. I have stored the matrix elements in an array. I want to store matrix elements in an another array right aligned. This array is used as an input to a simulation program, so right alignment is necessary. Please tell me how to right align the array values in C language.

Thanks,
Anstar
 
I don't understand what you mean by "right aligned". You'll need to look at how the other program expecting it as input does it. Without knowing in what format that program expects it, how can we help?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top