Click here to Skip to main content
15,889,281 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
SUMMARY:
This program will be used to generate files with numbers. These files will be sent to printing companies so they will create barcoded stickers/cards for our customers. The program will need to accept the Starting Number, how many numbers to create and how many numbers to write on each file. The file should look something like this

10000
10001
10002
10003
..
15000

The name of the file will be Barcodes-XXXXXX.txt where XXXXX will be the starting number in the file.

Thank you,
Posted
Updated 23-Oct-13 8:12am
v3
Comments
Richard C Bishop 23-Oct-13 13:44pm    
You are joking right?
Member 10355488 23-Oct-13 14:13pm    
nope don't even know how to start this.
Andreas Gieriet 23-Oct-13 14:17pm    
You attend(ed) some course or training, don't you?
If not, depending on your preferred learning method, attend a course or run some getting started programming tutorial your self.
We don't do your work here. Learn it and ask **specific** questions here where you have a **specific** problem.
Cheers
Andi
Member 10355488 23-Oct-13 14:25pm    
I understand that i just need to get some sort of direction on how to start on this.
Andreas Gieriet 23-Oct-13 15:32pm    
1) Do you understand the task as stated above? State it again in your own words, ask your mates, ask your teacher for help.
2) Write down the task in some pseudo code, e.g.

get start-number, total-numbers numbers-per-file
while there are numbers left do
{
create new file with current number
while there are numbers left and numbers-per-file not exceeded for this file
{
write number to file
next number
}
close file
}
3) take your development environment and transform the pseudo code into real code of the given/selected programming language.
4) test - fix - test - ... - document - ship

1 solution

OK, but, you know, I need money, a lot of.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900