I'm a beginner in this world, a 2 month beginner. I've given a project on making a library book record programming, mostly using functions, but I do not which kind of function should I use and in what way should I start?
Create a Hello World program. Then create a Book class. The Book class will have members to hold the information about the book and probably a constructor to initialize said members.
are you familiar with classes? or structs? or file handling? how are you supposed to store this information?
I would think just a general class.. But 2 months in it's hard to say.
The best way, may not be a way that you would feel comfortable in doing, so really we need to find the way which is easiest for you to comprehend and get done.
Then, could you tell me the easiest way to do this project by using arrays? I'm at the level of just entering the topic on ARRAYS right now, so I'm not familiar with that kind of things..
My instructor just told me that we can use arrays but the program that we will build can update but the updated data wont be stored. The next time we open the program the new data that we stored wont get retrieved back.. So, it can be done by doing array right? But how should I start?
Create a Hello World program. Then create a Book class. The Book class will have members to hold the information about the book and probably a constructor to initialize said members.
ok, so basically he wants user input, and the input to be stored in arrays which isn't too hard.
Except there's all that different info, which would be so much better as a struct or class. Anyway I guess we could make it 1 big string in the format of:
Each of these can be variables, and you can ask the user to enter each bit of information. at the end of the user interaction you can concatenate all strings into 1 string and store it in the array....
It's definitely not the best way to go about it, but I'm guessing it is what the instructor wants, so you get used to playing with strings and arrays.
Help me, please!!! I'm almost done with my project, but there's a problem when I want to display the stored event. The display is too fast, how can I slow it down?
Urgent call!!