|
but when i am connected at the internet through dialup, i can not bind to its com port, and open the port to send and recieve.
|
|
|
|
|
driving license (class)
+number: string (constructor)
+renewelperiod: int (constructor)
+ GetLicenseInfo():void (mrthod)
+ CalculateLicensePrice(): double (method)
+ DisplayLicenseInfo() : void (method)
Based on the above, create a program with the following requirement
• GetLicenseInfo() method that input license number and renewal period from user. Display an information to the user either to renew the license for 1,2,3 or 5 years.
• CalculateLicensePrice() method that will calculate price for driving license depends on the renewal period of 1,2,3 or 5 years. The renewal fee is RM30 per year
• A method DisplayLicenseInfo() that will display each details including license number,renewal period and license price.
Create an object and invoke necessary method
|
|
|
|
|
why?
Did you tried it?
|
|
|
|
|
yes 
|
|
|
|
|
So, tell us what problems you are facing?
You are asking to write whole application which nobody is going to do here.
If you really don't want to do it then pay someone to do this job.
|
|
|
|
|
5d to counter his one.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Thanks, do CP has any facility to remove these kind of users.
He is spamming all over the places.
|
|
|
|
|
CodeProject is a convenient place to get programs for homework assignments. The IT industory is in trouble. I personally knew somebody with no knowledge in software development who was hired by Lexmark in 1998. Another one was hired by UPS without being carefully interviewed. They both had degrees in computer science. Trouble!
|
|
|
|
|
Message Closed
modified 23-Nov-14 7:31am.
|
|
|
|
|
|
Here's the problem. The reason you got given homework, was so you could learn. You can do one of two things
1 - try to do it yourself and ask SPECIFIC questions where you're stuck, showing what you've tried, telling us what you read online, telling us exactly where the code doesn't do what you expect, and why
2 - go to your teacher and tell them you're just not smart enough for this course.
BTW, your teachers are almost certainly smart enough to google their own question, so the worst thing I could do, is give you a full solution, which they would then find, and use to work out who you are. At that point, they would fail you anyhow.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I'd like to see how someone here would do this just to compare it to the system we currently have. I bet the code done in an hour here would be better than some of the code currently used by us that was done by a contractor. :/
|
|
|
|
|
I'm not sure... I think I know the poster for this message personally. If he is the one, I think he cannot implement any thing....
|
|
|
|
|
|
I assume, from the fact that you don't seem to know your arse from your elbow, that going to the toilet proves particularly troublesome for you.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Coders don't work for free. If you want an app try hiring a programmer.
www.belfox.net
...Simplicity at its best
|
|
|
|
|
You must try first!
♫ 99 little bugs in the code,
99 bugs in the code
We fix a bug, compile it again
101 little bugs in the code ♫
|
|
|
|
|
HELLO ALL !
I have One WorkSheet in an Excel File .I want to Import An Excel File without consideration of the name of WorkSheet ( because Dinamically , probably the name of this worksheet change ...) . how should do it ?
Select Fromm ...?
thank u
s_mostafa_h
|
|
|
|
|
Hi
I want to open a specific folder (e.g. "D:\test\") with windows explorer using C#.Net. What should I do?
Thanks in advance
|
|
|
|
|
If you pass a path to Process.Start, I believe it will open it.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
If you use folder browser just type the default folder you want this dialog to ope in the "SelectedPath" property
|
|
|
|
|
Basically what I want to do is store a memory address in hex format instead of decimal in an XmlAttribute value. Can I do that? This is how I want the xml to look:
<address name="type" value="0x16694E64" />
instead of:
<address name="type" value="376000100" />
Then in C# I have this:
int myAddress = Convert.ToInt32 (address.Attributes["value"].Value);
|
|
|
|
|
That's an int. An int has no format at all, decimal is just assumed. Use the overloaded ToString method to specify a hex format, or whatever else you like
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I don't want to save the address to XML via C#, I want to read the address from the XML. Sorry I wasn't specific enough.
|
|
|
|
|