RSS Forums RSS
Please support our C advertiser: Programming Forums
Views: 1229 | Replies: 3
Reply
Join Date: Jul 2005
Posts: 2
Reputation: zerenoa is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
zerenoa zerenoa is offline Offline
Newbie Poster

News easy question in C...

  #1  
Jul 20th, 2005
Hi,

In my assignment , I need to print out the ID,Name and more in a line..with no space bar allowed..besides using the \t ,is there any method to print out...

Student Student Course bla bla
ID Name Info

xxx xxxxxxxxxxxx xxxxxxxxx

when i use the \t, my output aint arranged properly...plz help...
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jun 2005
Location: Cambridge, MA
Posts: 1,330
Reputation: Rashakil Fol has a spectacular aura about Rashakil Fol has a spectacular aura about 
Rep Power: 7
Solved Threads: 44
Colleague
Rashakil Fol's Avatar
Rashakil Fol Rashakil Fol is offline Offline
Salamander Man

Re: easy question in C...

  #2  
Jul 20th, 2005
Telling you the answer would basically be doing the whole assignment for you. You need to think harder. You're using printf?...
Reply With Quote  
Join Date: Jul 2005
Posts: 2
Reputation: zerenoa is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
zerenoa zerenoa is offline Offline
Newbie Poster

Re: easy question in C...

  #3  
Jul 20th, 2005
thats only a part of the assignment..i have got my input output codes done...but i have problem with formatting the output - to arrange the output neatly...yes im using printf and spacing using \t..but sometimes my output became messy if i have a longer input for name etc.
Reply With Quote  
Join Date: Apr 2004
Posts: 3,765
Reputation: Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light 
Rep Power: 17
Solved Threads: 147
Colleague
Dave Sinkula's Avatar
Dave Sinkula Dave Sinkula is offline Offline
long time no c

Re: easy question in C...

  #4  
Jul 20th, 2005
Post your code if you want help with your code.
High Plains Blogger #plains #lounge ## I, for one, welcome our new socialist overlords.
"Capitalism is the unequal distribution of wealth. Socialism is the equal distribution of poverty."
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 11:20 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC