943,958 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 6408
  • C++ RSS
Sep 20th, 2009
-1

C++ Mini Project

Expand Post »
I need ideas for a C++ mini project. It should be complex enough to involve 4 students.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rogue005 is offline Offline
12 posts
since Sep 2009
Sep 20th, 2009
0

Re: C++ Mini Project

We help with specific C++ problems here, we aren't going to think up a project for you.
Reputation Points: 1429
Solved Threads: 129
Posting Virtuoso
William Hemsworth is offline Offline
1,542 posts
since Mar 2008
Sep 20th, 2009
0

Re: C++ Mini Project

It is hard to suggest any project when we don't even know what have you learned and what are you capable of.
Reputation Points: 350
Solved Threads: 63
Posting Pro
invisal is offline Offline
562 posts
since Mar 2005
Sep 20th, 2009
0

Re: C++ Mini Project

there r so many projects in c++...
u may choose among mouse programming/compiler construction/hardware interaction/scientific calculator
Reputation Points: 10
Solved Threads: 1
Newbie Poster
oop'stechie is offline Offline
4 posts
since Jul 2009
Sep 20th, 2009
0

Re: C++ Mini Project

I have learnt C,C++, basics of data comm., Algorithms. Right now I am doing my 5th sem in BE info. sci.
Last edited by rogue005; Sep 20th, 2009 at 10:41 am.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rogue005 is offline Offline
12 posts
since Sep 2009
Reputation Points: 10
Solved Threads: 3
Junior Poster
Alex_ is offline Offline
175 posts
since Jun 2008
Sep 20th, 2009
1

Re: C++ Mini Project

I already know this kind of game: we make suggestions and never it's a good suggestion because either it's too difficult, or too easy, or too boring, or whatever else.

You know what you can and can't, you also know what interests you, combine your creativity with these two elements and I'm sure you'll find something.
Reputation Points: 2125
Solved Threads: 243
Postaholic
tux4life is offline Offline
2,105 posts
since Feb 2009
Oct 19th, 2010
-1
Re: C++ Mini Project
Click to Expand / Collapse  Quote originally posted by rogue005 ...
I need ideas for a C++ mini project. It should be complex enough to involve 4 students.
help us to run the code below...please2...

#include<iostream>
#include<cstring>
using namespace std;

void menu (double, double&);


int main()
{
system("TITLE Orville .3");
char username[8];
char password[8];
char doagain;

do//start of first do statment
{
cout << "WELCOME TO SAN EKSPRESS BOOKING TICKET SOUTH COUNTRY ONLY" << endl;
cout << "LOGIN" << endl;
cout << endl;
cout << "Username: " << endl;
cin >> username;
if (strcmp(username, "O")== 0)
{//start of my first if, "if username isnt orville end program"
}
else
{
cout << "Incorrect" << endl;
system("pause");
return 0;
}//end of entire if statement

cout << "Password: " << endl;
cin >> password;
if (strcmp(password, "1234")== 0)
{//start of my first if, "if username isnt orville end program"
}
else
{
cout << "Incorrect" << endl;
system("pause");
return 0;
}//end of entire if statement

}
}
void menu (double, double&)


[
double num;
//double total;
double price1, price2, price3;
char choice;

price1 = 15.00;
price2 = 20.00;
price3 = 10.00;

for (;
{
do
{
cout<<"Welcome to SAN Express.\n"<<endl<<endl;
cout<<"Number 1 to 3 is a state that you desire to go"<<endl<<endl;
cout<<"Please choose an option by entering the number or press q to quit\n"<<endl<<endl;
cout<<"1 - Melaka\n"<<endl;
cout<<"2 - Johor Bahru\n"<<endl;
cout<<"3 - Negeri Sembilan\n"<<endl;
cout<<"4 - Ticket Price\n"<<endl;
cout<<"5 - Help\n"<<endl;
cout<<"6 - About This Program\n"<<endl;
//cout<<"7 - \n"<<endl;

cin>>choice;
}
while ( choice < '1' || choice > '6' && choice != 'q');
if (choice == 'q') break;
switch (choice)
{
case '1':
cout<<"Please enter a number of seats\n"<<endl;
cin>>num;
cout<<"Your Total Is : RM"<<num*price1;
cout<<"\n";
break;
case '2':
cout<<"Please enter a number\n"<<endl;
cin>>num;
cout<<"Your Total Is : RM"<<num*price2;
cout<<"\n";
break;
case '3':
cout<<"Please enter a number\n";
cin>>num;
cout<<"Your Total Is : RM"<<num*price3;
cout<<"\n";
break;
case '4':
cout<<"The Ticket Price From Kuala Lumpur to Melaka is RM 15.00"<<endl<<endl;
cout<<"The Ticket Price From Kuala Lumpur to Johor bahru is RM 20.00"<<endl<<endl;
cout<<"The Ticket Price From Kuala Lumpur to Negeri Sembilan is RM 10.00"<<endl<<endl;
cout<<"\n";
break;
case '5':
cout<<"This is a Bus Express Ticket Reservation for South Malaysia\n"<<endl;
cout<<"To select an option, type the number next to the option and press enter\n"<<endl;
cout<<"Enter the number of seat that you want and the total will be";
cout<<"calculated automatically and will appear on the screen"<<endl;
cout<<"\n";
break;
case '6':
cout<<"SAN Express \n";
cout<<"Any Feedback Would Be Nice - aina89_elves@yahoo.com.\n"<<endl;
cout<<"Thank You For Using This System. Bye!!\n";
cout<<"\n";
break;
//case '7':
//cout<<"Updates include: -double variable instead of int, so that decimals can be used.\n";
//cout<<" -do while loop so that you can exit the program yourself\n";
//cout<<"\n";
// break;
default:
cout<<"That is not an option";
cout << "Again?" << endl;
cin >> doagain;
}
while (doagain=='y' || doagain=='Y'); //end of do..while statemnt
system("pause");
return 0;
}//end of main code
Reputation Points: 9
Solved Threads: 0
Newbie Poster
alibabashaun is offline Offline
1 posts
since Oct 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: DrawText
Next Thread in C++ Forum Timeline: c++An array can be used to store large integers one digit at a time backwards.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC