C/C++ Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingC/C++ Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 19th, 2005, 11:03 PM
BloodlustShaman BloodlustShaman is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Location: in earth
Posts: 176 BloodlustShaman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 Days 12 h 9 m 3 sec
Reputation Power: 4
Send a message via Yahoo to BloodlustShaman
bored!

i am bored in the C++ cause now i have done everything right this C++ is interesting and someone plz post like a assignment or something for me so i can do it cause now that i did like over 30 tutroials i am bored and need an assignment just post a assignment or put sites of tutorialsor of assignments
well also dont u guys this looks too strange

he looks like he is doin something else -like with a girl
dont u guys see it?
plz reply atleast with sites

Reply With Quote
  #2  
Old July 20th, 2005, 01:07 AM
Geo.Garnett's Avatar
Geo.Garnett Geo.Garnett is offline
Registered Loser
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Location: Retardation Nation...
Posts: 347 Geo.Garnett User rank is Private First Class (20 - 50 Reputation Level)Geo.Garnett User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 Days 3 h 13 m 45 sec
Reputation Power: 4
Send a message via AIM to Geo.Garnett
Try this....
(If your more advanced than this let me know and ill give you some more)(I got plenty more!!!)
A wage calculator...
Ask the user his/her name.//so you can identify with the user
ask the user if he gets paid hourly or salary.
if ...
hourly ask the rate of pay, hours, and what ever else.
if ...
salary ask the amount

return to the user...//remember to identify with the user..
the gross monthly income
the gross yearly income
and if you can the net income of each

and then if you wanted to get crazy(lol) ask the user if they
wanted to make a budget and if yes then lead them through
step by step some sort of budget list. mortgage, rent, car payment, so on...

Now if this is to boring for your tastes let me know Ill give you some more like I said I got plenty of Idea's..

and by the way thats just gross.. =Þ
Theres just to much stuff to learn about C++ to get bored..

Show me some results too..

Reply With Quote
  #3  
Old July 20th, 2005, 08:50 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 14 m 9 sec
Reputation Power: 8
I'll state it now, as I can already read future posts in this thread...

Let's avoid people posting homework... post fun brain-teasing exercises...
(Geo.Garnett, this isn't targeted at your post... I'm predicting how a thread like this can be abused)

And no posting a question and offering money for the results...
Comments on this post
B-Con agrees!

Reply With Quote
  #4  
Old July 20th, 2005, 04:36 PM
BloodlustShaman BloodlustShaman is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Location: in earth
Posts: 176 BloodlustShaman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 Days 12 h 9 m 3 sec
Reputation Power: 4
Send a message via Yahoo to BloodlustShaman
k
ill try that assignment but plz tell me thats not ur homework or work from school cause thats the last thing i want to do - doing homework for someone else
and keep in mind i am bored cause i didnt found ant more tutorials not because i MASTERED C++ cause i only started this C++ stuff for now a week or 2

also lets get this right
so ask for username
ask if salary or hours
then how much they get paid
then tell the user how much they get in a moth/year
is that what u want the to do?

Reply With Quote
  #5  
Old July 20th, 2005, 07:11 PM
Geo.Garnett's Avatar
Geo.Garnett Geo.Garnett is offline
Registered Loser
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Location: Retardation Nation...
Posts: 347 Geo.Garnett User rank is Private First Class (20 - 50 Reputation Level)Geo.Garnett User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 Days 3 h 13 m 45 sec
Reputation Power: 4
Send a message via AIM to Geo.Garnett
Well, Hmm first off MadCowDzz no offense taken, and I understand totally.

BloodShaman:
But lets get something straight first, this is not my homework assignment, by no means. It is a program I wrote when I was practicing if, else if , and else statements, also if you could implement them do, and while statements.

and second I know you havent mastered C++ thats why I wrote if you are not this far along then let me know and I would give you more Idea's.

The only reason I was trying to help you is because I too was in a similar cituation when I first started a few months ago, and I was giving suggestions on what I did to practice cause thats all it is, is practice....

So I think saying this I will just leave this question alone... =[

Reply With Quote
  #6  
Old July 20th, 2005, 07:15 PM
BloodlustShaman BloodlustShaman is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Location: in earth
Posts: 176 BloodlustShaman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 Days 12 h 9 m 3 sec
Reputation Power: 4
Send a message via Yahoo to BloodlustShaman
well anyways i know i am doin it wrong but here is what i got for now

[code]

#include <iostream>
using namespace std;
int mult ( int h, int d, int w, int y);
int main()
{
int h;
int d;
int w;
int y;

char fullname[75];

cout<<"Please enter your full name: ";
cin.getline ( fullname, 75, '\n' );
cout<< fullname <<", how much do you get paid a hour? ";
cin>> h;
cin.ignore();

cout<< fullname <<", how many hours you work a day? ";
cin>> d;
cin.ignore();

cout<< fullname <<", how many days do you work a week?";
cin>>w;
cin.ignore();

cout<< fullname <<", this is the amount of money you make a year:

"<< mult ( h, d, w, y) <<" $\n";

cin.get();
}
int mult ( int h, int d, int w, int y )
{
return h * d * w * y + d;
}

it works with no errors but i need to improve it so ill be workin on it and if u got something to tell about the code being stupid or wrong and if u want to help ill be happy but plz dont give me the correct code

Reply With Quote
  #7  
Old July 21st, 2005, 03:29 AM
os008 os008 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 6 os008 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 54 sec
Reputation Power: 0
i discovered that working on the open source program "eMule" is great for practice, u can mod this program as u want and people will use it and tell u the problems with it, i did, and without even reading 1 line of tutorials i learned a LOT, but i had a background in BASIC, so i think that helped (i mastered BASIC since 1989 i think), anyway, try it and u won't regret, especially if people r happy with your work, it feels great , but remember, modding is mainly modifying, so it won't make u master in making programs from scratch (or at least that's what happened to me).

Reply With Quote
  #8  
Old July 21st, 2005, 08:33 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 14 m 9 sec
Reputation Power: 8
I did a Google search for programming exercises... many look like university level exercises, not sure where your knowledge level is, but I'm sure it would be good practice.


os008, what did you do with eMule?
I assume you made a plugin, but out of curiousity, what did it do?

Reply With Quote
  #9  
Old July 22nd, 2005, 03:20 PM
jayv jayv is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 4 jayv User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 37 m 51 sec
Reputation Power: 0
the wage calculator

Quote:
Originally Posted by BloodlustShaman
well anyways i know i am doin it wrong but here is what i got for now

[code]

#include <iostream>
using namespace std;
int mult ( int h, int d, int w, int y);
int main()
{
int h;
int d;
int w;
int y;

char fullname[75];

cout<<"Please enter your full name: ";
cin.getline ( fullname, 75, '\n' );
cout<< fullname <<", how much do you get paid a hour? ";
cin>> h;
cin.ignore();

cout<< fullname <<", how many hours you work a day? ";
cin>> d;
cin.ignore();

cout<< fullname <<", how many days do you work a week?";
cin>>w;
cin.ignore();

cout<< fullname <<", this is the amount of money you make a year:

"<< mult ( h, d, w, y) <<" $\n";

cin.get();
}
int mult ( int h, int d, int w, int y )
{
return h * d * w * y + d;
}

it works with no errors but i need to improve it so ill be workin on it and if u got something to tell about the code being stupid or wrong and if u want to help ill be happy but plz dont give me the correct code

//================================================== =========================================

Now do this. Make it into a class and make it inheritance and polymorphic. Add this attributes to the base class: int id and int rank. *Don't forget to put comments*

//================================================== =========================================

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingC/C++ Help > bored!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT