ExamNotes.net  -  IT certification portal

ForumsCertResearchTop sitesNewslettersFree email
HomeRegister
Exams Notes
Practice exams
Exam games
Questions by email
Online training
Training videos
College degrees
Boot camps
Book store
Links directory
Tell a friend
For webmasters

CompTIA Exam Vouchers
Save money on CompTIA exams
Question of the day
Sign up to receive
interactive practice questions
for MCSE, CompTIA
Cisco and other exams
TestKing
Get MCSE, MCSD, CCNA, CCNP,A+, N+ and many more

* ExamSheets *
Guide for Success!
Actual Questions & Answers
MCSE, MCSD, A+ ,CCNA, CCNP
Oracle 8i, Oracle 9i

Online practice tests

Certification sites

Online university

Online college

Online education

Distance learning

Software forum

Server administration forum

Programming resources






This is interesting: Free IT Magazines | Databases help forum



General discussions > Programming Forum > C++ help

Show a Printable Version
Email This Page to Someone!
Receive updates to this thread






Author C++ help
beenframed
Senior Member




Registered: Sep 2000
Location: NYC
Country: USA
State:
Certifications: A+
Working on:

Total Posts: 396
C++ help

Hi, I am new to programmign and am trying out some exercises.

Can someone help me with soem source code for creating this:

The code should be:

#include

main()
{
/* Declare variables */

/* Prompt for input values from the screen */

/* calculate gross pay */

/* print out employee information to the screen */
}


What should my source code look like.

Thanks for any help

__________________
BeenFramed

Report this post to a moderator

Old Post 03-09-05 11:51 PM
beenframed is offline Click Here to See the Profile for beenframed Click here to Send beenframed a Private Message Add beenframed to your buddy list Find more posts by beenframed Reply w/Quote Edit/Delete Message IP: Logged
dmaftei
Senior Member
M




Registered: Nov 2000
Location:
Country: USA
State:
Certifications: none
Working on: none

Total Posts: 2156
Re: C++ help

.

Last edited by dmaftei on 03-10-05 at 01:44 PM

Report this post to a moderator

Old Post 03-10-05 01:09 AM
dmaftei is offline Click Here to See the Profile for dmaftei Click here to Send dmaftei a Private Message Add dmaftei to your buddy list Find more posts by dmaftei Reply w/Quote Edit/Delete Message IP: Logged
dmaftei
Senior Member
M




Registered: Nov 2000
Location:
Country: USA
State:
Certifications: none
Working on: none

Total Posts: 2156

Sample code in attachment (change extension to ".cc" or ".cpp", depends on your compiler).

Attachment: sample.txt
This has been downloaded 8 time(s).

Last edited by dmaftei on 03-10-05 at 01:45 PM

Report this post to a moderator

Old Post 03-10-05 04:12 AM
dmaftei is offline Click Here to See the Profile for dmaftei Click here to Send dmaftei a Private Message Add dmaftei to your buddy list Find more posts by dmaftei Reply w/Quote Edit/Delete Message IP: Logged
ChrisDfer
Certified Jackass
M




Registered: Mar 2002
Location:
Country: United States
State:
Certifications: Sold them all on ebay(currently selling I-NET+ & Server+ all bids considered)
Working on: the really really really really really really really really really hard ones

Total Posts: 1417

Hey I tried posting some code and it didn't work... wtf? Hey umm your code doesn't take into account overtime and time and a half. Here is the code I wrote, it probably is not the best way of doing it, but ehnnn oh well.

Attachment: crap.txt
This has been downloaded 8 time(s).

__________________
http://struthers-family.com

Report this post to a moderator

Old Post 03-10-05 04:20 AM
ChrisDfer is offline Click Here to See the Profile for ChrisDfer Click here to Send ChrisDfer a Private Message Add ChrisDfer to your buddy list Find more posts by ChrisDfer Reply w/Quote Edit/Delete Message IP: Logged
ChrisDfer
Certified Jackass
M




Registered: Mar 2002
Location:
Country: United States
State:
Certifications: Sold them all on ebay(currently selling I-NET+ & Server+ all bids considered)
Working on: the really really really really really really really really really hard ones

Total Posts: 1417

quote:
Originally posted by ChrisDfer
Hey I tried posting some code and it didn't work... wtf? Hey umm your code doesn't take into account overtime and time and a half. Here is the code I wrote, it probably is not the best way of doing it, but ehnnn oh well.


heheh and now I been informed that isn't even what gross pay is. Good thing I am not in a programming course. for a few reasons. Oh well, that was fun anyways. I haven't messed with C++ in a couple years.

__________________
http://struthers-family.com

Report this post to a moderator

Old Post 03-10-05 04:31 AM
ChrisDfer is offline Click Here to See the Profile for ChrisDfer Click here to Send ChrisDfer a Private Message Add ChrisDfer to your buddy list Find more posts by ChrisDfer Reply w/Quote Edit/Delete Message IP: Logged
dmaftei
Senior Member
M




Registered: Nov 2000
Location:
Country: USA
State:
Certifications: none
Working on: none

Total Posts: 2156

quote:
Originally posted by ChrisDfer
your code doesn't take into account overtime and time and a half

This is SAMPLE code, not payroll software.

Report this post to a moderator

Old Post 03-10-05 01:47 PM
dmaftei is offline Click Here to See the Profile for dmaftei Click here to Send dmaftei a Private Message Add dmaftei to your buddy list Find more posts by dmaftei Reply w/Quote Edit/Delete Message IP: Logged
ChrisDfer
Certified Jackass
M




Registered: Mar 2002
Location:
Country: United States
State:
Certifications: Sold them all on ebay(currently selling I-NET+ & Server+ all bids considered)
Working on: the really really really really really really really really really hard ones

Total Posts: 1417

quote:
Originally posted by dmaftei
This is SAMPLE code, not payroll software.


__________________
http://struthers-family.com

Report this post to a moderator

Old Post 03-10-05 02:30 PM
ChrisDfer is offline Click Here to See the Profile for ChrisDfer Click here to Send ChrisDfer a Private Message Add ChrisDfer to your buddy list Find more posts by ChrisDfer Reply w/Quote Edit/Delete Message IP: Logged
All times are GMT.
Post new thread   Post reply

Featured site: MCSE, MCSD, CompTIA, CCNA training videos



Forum Jump:
Rate This Thread:
Forum Rules:
Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author.
Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is OFF.
 

ExamNotes forum archive


Powered by: vBulletin 2.2.8
Copyright ©2000, Jelsoft Enterprises Limited.

  Free Braindumps | mcse braindumps