Welcome to Dream.In.Code
Become a C++ Expert!

Join 137,203 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 2,329 people online right now. Registration is fast and FREE... Join Now!




C++ help neede

 
Reply to this topicStart new topic

C++ help neede, help plz i want to teach my son a program but i am not able to do so p

abbasi89
1 Jun, 2008 - 05:01 AM
Post #1

New D.I.C Head
*

Joined: 1 Jun, 2008
Posts: 4

can any one provide its code so then i can understand it and teach my son....!!!


Parking software is to be installed on parking areas P1 and P2 at Centurion Plaza.

Parking P1: Only for VIPs.
Free of Charge
Available Area for: 10 cars

Parking P2: For Public use
VIPs can Park if P1 is FULL
Charging Rs. 05 / hour
VIPs will park Free of Charge
Minimum Charges: Rs. 05
Available Area for: 30 cars

Software should be able to store the following data of each car of P1 and P2.

i. Registration No.
ii. Vehicle Type (i.e. VIP or Public)
iii. Entrance Time
iv. Exit Time
v. Charges
vi. Revenue

User is offlineProfile CardPM
+Quote Post

KYA
RE: C++ Help Neede
1 Jun, 2008 - 05:07 AM
Post #2

#include <nerd.h>
Group Icon

Joined: 14 Sep, 2007
Posts: 5,049



Thanked: 124 times
Dream Kudos: 1200
My Contributions
clever twist on an age old question

"hai! can i haves code plx?"
User is online!Profile CardPM
+Quote Post

abbasi89
RE: C++ Help Neede
1 Jun, 2008 - 05:16 AM
Post #3

New D.I.C Head
*

Joined: 1 Jun, 2008
Posts: 4

Hello sir sorry to say that i only have the question ... i am trying to solve it but can not solve it i am using arrays and inheritance its a quite some time i took c++ classes so it is difficult for me can you help
User is offlineProfile CardPM
+Quote Post

KYA
RE: C++ Help Neede
1 Jun, 2008 - 05:24 AM
Post #4

#include <nerd.h>
Group Icon

Joined: 14 Sep, 2007
Posts: 5,049



Thanked: 124 times
Dream Kudos: 1200
My Contributions
sure, but

Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Please post like this:

Thank you for helping us helping you.
User is online!Profile CardPM
+Quote Post

abbasi89
RE: C++ Help Neede
1 Jun, 2008 - 05:36 AM
Post #5

New D.I.C Head
*

Joined: 1 Jun, 2008
Posts: 4

[code]
#include <iostream.h>
#include<conio.h>
int a[10]
cout<<"enter ur ccar type";
cin>>a;
for(a=0;a<=10;a++)
{
}
class vip
{
if (a=='vip')
{
cout<<"vip car parking";
a=a++;
}
else{
cout<<"private car parking";
}
}

CODE

#include <iostream.h>
#include<conio.h>
int a[10]
cout<<"enter ur ccar type";
cin>>a;
for(a=0;a<=10;a++)
{
}
class vip
{
if (a=='vip')
{
cout<<"vip car parking";
a=a++;
}
else{
cout<<"private car parking";
}
}


it is not making logic

Sir if you are restricted bythe web site you can personally mail me on my mailling address my e-mail address is "bilal@coolvirgo.com"
Plz help urgentlly
User is offlineProfile CardPM
+Quote Post

abbasi89
RE: C++ Help Neede
1 Jun, 2008 - 05:56 AM
Post #6

New D.I.C Head
*

Joined: 1 Jun, 2008
Posts: 4

helllllllloooooooo plz helppppppppp
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/4/08 12:28PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month