![]() |
|
#1
|
|||
|
|||
printing formati am trying to print this function 4 right justify ,18 columns formats.
Can anyone help me below is what i did but , it's not working CPP / C++ / C Code:
Last edited by LuciWiz : 29-Mar-2005 at 13:31.
Reason: Please insert your C code between [c] & [/c] tags
|
|
#2
|
||||
|
||||
|
Every time you enter the function, columns is reset to zero. Put static in front of the declaration.
By the way, please tell us what the code is doing so we know what we're looking for. It saves us having to ask for harder problems and you have to post again to explain. __________________
Got a cough? Go home tonight and eat a whole box of Ex-Lax. Tomorrow, you'll be afraid to cough. -- Pearl Williams |
Recent GIDBlog
Python ebook by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New DVD format in the works: Uses paper Disks! | TerryPearson | Computer Hardware Forum | 3 | 14-Dec-2004 12:20 |
| Reading and writing binary files in certain format | Dream86 | C++ Forum | 10 | 06-Aug-2004 11:38 |
| Having trouble trying to format C: | Nickster64 | Computer Software Forum - Windows | 2 | 27-Jul-2004 08:31 |
| time format | gmn | MS Visual C++ / MFC Forum | 1 | 13-Jul-2004 19:55 |
| Rookie problem with date format | cave monkey | MySQL / PHP Forum | 4 | 18-Mar-2004 09:41 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The