Hey /prog/, I need some help with some coursework in VB 2008. Basically I need to write a program which enables the user to enter a recipe name, it's ingredients (Also, their weight and units) and the amount of people it serves. It then needs to store this in a text file. The program then allows the user to read the recipe from the file in a list box. They also need to be able to enter a new amount of people to serve, where the program outputs the recipe and it's details manipulated for the new amount of servings.
Any help would would be appreciated, I have no fucking idea what to do.
Name:
Anonymous2012-10-02 22:19
☺☻ ☺☻ ☺☻ ☺☻ ☺☻ ☺☻ ☺☻ ☺☻ ☺☻ ☺☻ ☺☻ ☺☻ ☺☻ ☺☻ ☺☻ ☺☻
just break the problem down and rearrange it so it is a step-by-step procedure.
Here's what you said (part 1 of your problem):
"Basically I need to write a program which enables the user to
enter a recipe name, it's ingredients (Also, their weight and
units) and the amount of people it serves. It then needs to
store this in a text file."
Here's what you do:
write a program where
user inputs a recipe name,
user inputs the recipe's ingredients
user inputs the recipe's weight
user inputs the recipe's units
user inputs the recipe's amount of people it serves.
save user input values in a text file
if you don't know how to do this type of programming, just
google it. "vb 2008 program user input save text file" should
yield some gold, just don't copy paste. You could sell that
program you find to other desperate people, though...
☺☻ ☺☻ ☺☻ ☺☻ ☺☻ ☺☻ ☺☻ ☺☻ ☺☻ ☺☻ ☺☻ ☺☻ ☺☻ ☺☻ ☺☻ ☺☻