Hi guys,,, I'm having thics C++ project that ha to be done in two days.
Who is willing to help me out with it???
I'd be thankful for him forever!
I really need someone's help until i'm completely done with it.
Who ever is free and thinks he's good in programming, please add me on msn so that we can start.
I've actually started.. facing couple of problems and at the point where I don't know what to do next anymore.
It's easy, but i'm not really good in programming.
Thanks for reading..
Here is my email if you're interested in helpin a desperate girl:
the_player_girl@hotmail.com
My project is about a Japanese travel agency. The program hnadles 3 claSses. Two are inherited from the main claSs. The main claSs is the Main Menu and the inherited are the PaSsengerMenu, and the SecurityMenu
Last semester I took this course for the first time and made a project for it. I'm working on the same project. Just trying to put it into claSses. and use more of what we took during this semster like clAsses, dynamic arrays, pointers, templates.. recursive functions
I think I'd only do claSses, dynamic arrays which will include pointers and strings.. Maybe templates. But i don't really know how to implement the template on the program
But note that i didnt get a full mark on my previous project. I got 8 out of 10.. There were some errors where the loop would stuck. It was running and all but not the way it's suppossed to behave.
So i'm guessing since I have the old code and most of the functions are already there, it would be easier
besides.. i've started on the new project.. I wrote my first claSs
But suddenly stopped where i don't know what to do next and how to implement the ideas in my mind.
Oh..I'm not sure i can help you there I'm working on 'The Binary Search Algorithm', 'Multidimensional arrays', 'bubble sort method' and 'recursion'. So I don't really know what classes are. Sorry.
What'S up wIth the wEird capiTalization?
Now then, nobody's going to "help" you program it. I get the feeling from your post that you expect collaboration. That's not what you're going to get. But just about any kind of help with a program that you have started, or initial directions on one you have yet to start, will be available to you.
Now that that is cleared up.
Now then, what are your classes supposed to do? What are the details? And what is your old code?
Lol, about the weir capitalization suddenly, it's cause i wrote that on msn. So it would produce an emoticon. That's why i had to write Ss!
Any way my dear friend! I'm not here so that you'd write me a code! I could have easily got a project that is already done. But I want to actually do it myself. I just don't know what step to do next!
Sorry if i didn't clarify that from before.
Here is an organized details about the program:
The MainMenu would provide both the logo of the agency and a background about the travel agency itself. Both the Logo() and the About() are member functions of the class MainMenu.
The first inherited menu is the PassengerMenu where the passenger is able to reserve and choose the number of seats he wants and the level of the class(first, business or economy). Also he can convert the currency from Dollars into Yens. Also this menu would provide:
- Budget travels (a friend function)
- FAQ (a friend function)
- Contact us (a friend function)
The second inherited menu is the SecurityMenu where the security first has to enter a password so that he’d be able to access the security menu for editing the flights (adding, deleting) and view them as well.
By the end of the program, the user is prompted to press 1 if he is done so that the program would output his information or the new information. And would press 0 if he wants to change anything.
Relax. I only pick fights with idiots, and although I've found some, the majority of the people here (the *vast* majority) are not. If you present no reason to be treated as an idiot, you won't be. That's how it is in life. And don't worry, so far you don't come off as an idiot.
The reason I asked you about retarded system calls is because you may have some clear-screens in there if you are working in console. Clear-screens generally aren't necessary and complicate the matter, and if anything should be saved for when all the program is done. system("pause"); is also a bad thing, although you can feel free to use it for code in casual development; there are plenty of replacements that can be found on these forums.
Alright, so what errors are you getting? Is the code compiling (logic error) or is it not compiling (syntax error)?
By the way, some existing errors I can see that you may want to look into:
In the choose-from-main function, you have no return but it's string type. I presume you want to return choice. Also, since you don't pass choice by reference there's really no reason to send any arguments as far as I can tell.
Also, in your string constructor, you refer to the variable string as name, which leads me to believe you intend for the member name to match it... however you set name as "no name assigned".
The variable name not being recognized may be due to the word time. I don't think there is a name collision but try changing that variable's name and then see what happens.
Lastly, you might want to check out a recent article on the initializer lists in constructors (articles forum), which is generally better constructor style, although less immediately apparent.
It is a syntax error.
This is the compilation:
1>------ Build started: Project: cs102 proj, Configuration: Debug Win32 ------
1>Compiling...
1>MainMenu.cpp
1>Generating Code...
1>c:\users\fofa\documents\visual studio 2005\projects\cs102 proj\mainmenu.cpp(42) : warning C4717: 'operator>>' : recursive on all control paths, function will cause runtime stack overflow
1>c:\users\fofa\documents\visual studio 2005\projects\cs102 proj\mainmenu.cpp(63) : error C4716: 'MainMenu::choose_from_main_menu' : must return a value
1>Skipping... (no relevant changes detected)
1>main.cpp
1>Build log was saved at "file://c:\Users\fofa\Documents\Visual Studio 2005\Projects\cs102 proj\Debug\BuildLog.htm"
1>cs102 proj - 1 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Sorry, no. Only add my personal friends (that I know in person).
Anyway, you see what I was talking about with the return right? That appears to be the only syntax error.