I am trying to print leading zeros.My number is a numeric clock card number that is usually 4 digits.If ,however,the number should be less than 1000 I want to print leading zeros so that my columns on my print out remain level.
Anyone help???
I have a function to delete a record from a file.The method I am using takes an input code number and finds the record.I substitute the first letter of the surname found with an asterisk and rewrite to the file.I then read the file and write all records without an asterisk to a temporary file.I...
In my program I set up a flashing colour in order to give error message
i.e. #define lightredflash textcolor(140);
This works fine on my computer,however, on the computers at work it is displayed
on screen as a red character with a fixed white bow around it.
Any clues as to why this is????
I used to print my C programs on a Dot Matrix printer at work no problem using
if(!biosprint(2,0,0) && 0X90)
printf;("Printer Not Ready");
Otherwise do the business.
This worked fine.However in my new job I now am trying to use a Hewlett Packard
Laserjet 6L.I use the same...
Thank you MBARANSKI. The final advice with the WHILE LOOP
sorted me out.
And PALBANO the stars were dedicated to people who were taking time out to help not criticise.It's nice to learn.
The harder the battle the sweeter the victory.
I start my database of 16 options with main() and then
rmenu(). In this menu i have 16 options which are 16 functions like "View Stock Records" etc....
Each function runs its course and comes to the final bracket } . How do I then get the menu back up on screen in order for the user...
I am still pondering my problem with Stack Overflow understanding recursion.
I have a Database which I call Rstock with a menu with 16 options. I run the program
rstock.exe and the very first thing it does is run a function rmenu(). This puts up the menu of 16 different options. At the end of...
I am sorting a maximum of 650 items in a table and then reading a sequential file to pull out the relevant data
that goes with the sorted item.Every now and then my system crashes with STACK OVERFLOW!!!
I could not master Q-Sort so I am using the good old BUBBLE SORT which I am very familiar...
In my Turbo C Compiler I have under options: Available Memory 308K.
I run TC from my floppy disk and it is fine BUT SLOW.
I copied my entire floppy to my hard drive to speed it up but the new copy
of Turbo C now reads Available Memory 48K, so my program will not compile,
Out Of Memory.How can I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.