Notices
The Basement Non-Honda/Acura discussion. Content should be tasteful and "primetime" safe.

c++ is boring

Thread Tools
 
Old Sep 30, 2003 | 07:01 PM
  #1  
brtecson's Avatar
brtecson
Thread Starter
pukimonster
 
Joined: Jun 2002
Posts: 9,967
Likes: 2
From: Milwaukee, WI
Default c++ is boring

.. cause the class i'm taking is so damn easy. i thought it would be more challenging:dunno: i'm working on this:

http://www.cs.uwm.edu/~cs153/homewor...signment_2.htm

i thought we were going to be makin video games or something in this class
[/rant]
Reply
Old Sep 30, 2003 | 07:03 PM
  #2  
redgoober4life's Avatar
redgoober4life
I eat plastic.
 
Joined: Dec 2002
Posts: 15,177
Likes: 0
From: Detroit, MI
Default

That IS really easy, although I can't remember specifically how to do it. I took C++ my freshman year in HS and I've forget it all. It looks more fun now that I know what half the stuff means, I'm going to take a few courses in college on it.
Reply
Old Sep 30, 2003 | 07:11 PM
  #3  
stephan's Avatar
stephan
:exnbp:
 
Joined: Jul 2001
Posts: 8,728
Likes: 0
From: Henderson, NV
Default

E++ :fawk:
Reply
Old Sep 30, 2003 | 07:19 PM
  #4  
xX94aCcOrDXx's Avatar
xX94aCcOrDXx
leet member
 
Joined: Nov 2002
Posts: 787
Likes: 0
From: Nor*CAL
Default

c++ is boring, but it really lets u use ur logic. i took it for a year, and it was boring. we made simple computer games and graphic programs. analyzing millions of lines of code isnt my thing. even thought it pays good money, i dunno how people take this booring job.
Reply
Old Sep 30, 2003 | 07:25 PM
  #5  
e3NiNe's Avatar
e3NiNe
#CustomUserTitle
 
Joined: Mar 2002
Posts: 63,855
Likes: 1
From: glass case of emotion
Default

that is REALLY easy ... wait till you get to pointers. that's when it gets really great :down:
Reply
Old Sep 30, 2003 | 08:06 PM
  #6  
Andy's Avatar
Andy
Hybrid Forum Moderator
 
Joined: Mar 2000
Posts: 2,363
Likes: 0
From: Southwestern PA
Default

You think C++ is boring, try VAX Assembly sometime. It's an old programing language that does nothing for you. Want a structure, create the damn thing from scratch, memory block by memory block. I had to write a virtual network program with 7 nodes and my program was 57 printed pages in code.
__________________
Andy - Reinstated Hybrid Forum Moderator

'06 Subaru Legacy Spec B - Stock, for now
'98 Civic EX - CTR headlights and grill, Kosei K1's, for sale
'90 240SX - SR20DET that will never get installed, project car.
Reply
Old Sep 30, 2003 | 08:16 PM
  #7  
brtecson's Avatar
brtecson
Thread Starter
pukimonster
 
Joined: Jun 2002
Posts: 9,967
Likes: 2
From: Milwaukee, WI
Default

well, this was actually interesting it actually took me an hour to doh:. i kept getting compiler errors. it turned out that i needed to include the <manip> thing at the top.

# include <iomanip>
# include <iostream>
using namespace std;
int main () {

float counter;
float workers;
float wage;
float hours;

counter = 0;
cout << "How many workers?" << endl ;
cin >> workers ;

while ( counter < workers ) {

cout << "Hours worked by worker #" << setprecision (0) << fixed << counter + 1 << "?" << endl;
cin >> hours;
cout << "What is the wage of worker #" << counter + 1 << "?" << endl;
cin >> wage;

if ( hours <= 40)
cout << "The salary is $" << setprecision (2) << fixed << wage * hours << endl;

else
cout << "The salary is $" << setprecision (2) << fixed << (wage*40) + (hours - 40)*(wage*1.5) << endl;

counter += 1; }


return 0;

}

Reply
Old Sep 30, 2003 | 08:20 PM
  #8  
axemansean's Avatar
axemansean
Senior Member
 
Joined: Jun 2002
Posts: 13,634
Likes: 0
Default

using namespace std is kinda redundant.

I like C a whole lot better than C++ because it is a lot closer to the processor and you can execute assembly language code.
Reply
Old Sep 30, 2003 | 08:26 PM
  #9  
sman789's Avatar
sman789
Don't touch me I'm tender
 
Joined: Aug 2002
Posts: 4,015
Likes: 0
From: Va beach/Blacksburg, VA
Default

easy = good

i loved c++ in high school

java's eh right now
Reply
Old Sep 30, 2003 | 08:31 PM
  #10  
antarius's Avatar
antarius
Large Member
 
Joined: Oct 2000
Posts: 4,735
Likes: 0
From: Bay Area, CA
Default

Java is lame.
Reply



All times are GMT -8. The time now is 01:59 AM.