| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
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.. |
|
#3
|
||||
|
||||
|
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... |
|
#4
|
|||
|
|||
|
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? |
|
#5
|
||||
|
||||
|
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... =[ |
|
#6
|
|||
|
|||
|
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 |
|
#7
|
|||
|
|||
|
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). |
|
#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? |
|
#9
|
|||
|
|||
|
the wage calculator
Quote:
//================================================== ========================================= 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* //================================================== ========================================= |
![]() |
| Viewing: Dev Articles Community Forums > Programming > C/C++ Help > bored! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|