Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
P

Pathetic

@Pathetic
About
Posts
15
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Program to Code
    P Pathetic

    Yea, but i am supposed to be 100% finished tommorrow

    "The beauty of Grace is that it makes life not fair" Relient K, Be my Escape

    C / C++ / MFC c++ help question learning

  • Program to Code
    P Pathetic

    It means that my c++ program has a major error, and it randomly refuses to compile anything at all. And No, I am not a major illegal cheater. I am trying to recover the SPLATT!!! programs code throught the program

    "The beauty of Grace is that it makes life not fair" Relient K, Be my Escape

    C / C++ / MFC c++ help question learning

  • Program to Code
    P Pathetic

    Is it possible to convert a full c++ program into code?? And no, i am not rtrying to steal a program, its for my computer science course. I have a program, but i want to covert it to code, so i can 'fix' their code without rewriting the whole thing, cause my comp randomly sucks

    "The beauty of Grace is that it makes life not fair" Relient K, Be my Escape

    C / C++ / MFC c++ help question learning

  • employee pay calculator
    P Pathetic

    too late, but still useful, thanks!

    "The beauty of Grace is that it makes life not fair" Relient K, Be my Escape

    C / C++ / MFC tutorial learning c++ help

  • Visual C++ #include error
    P Pathetic

    :sigh: Ok, everytime I enter aa code with anny of the #include starters, i get 103 errors and 2 warnings, and then I look for them, and it opens a new window "tab" thingy, and otsream, or istream or math or w/e i am using comes up. It makes testing fully written programs impossible to test. Does anyone know how to fix it??

    "The beauty of Grace is that it makes life not fair" Relient K, Be my Escape

    C / C++ / MFC c++ help testing beta-testing tutorial

  • employee pay calculator
    P Pathetic

    But it still doesnt work, unfortunetly...

    "The beauty of Grace is that it makes life not fair" Relient K, Be my Escape

    C / C++ / MFC tutorial learning c++ help

  • there is something seriously wrong with this...
    P Pathetic

    uh... can you please rephrase that question, i dont get it...

    "The beauty of Grace is that it makes life not fair" Relient K, Be my Escape

    C / C++ / MFC help question learning

  • there is something seriously wrong with this...
    P Pathetic

    thanks i guess

    "The beauty of Grace is that it makes life not fair" Relient K, Be my Escape

    C / C++ / MFC help question learning

  • there is something seriously wrong with this...
    P Pathetic

    ok, i tried to make this code awhile ago, and it doesnt work at all, and i was wondering if someone could help me figure it out?? But please, not to sound rude, but for the sake of learning something, try to explain it in the simplest terms you can what was wrong, so I can avoid doing that mistake again

    #include <iostream>
    #include <iomanip>
    using namespace std;
    
    void main()
    {//start
    
    	int i,
    		j,
    		number;
    	
    		cout<<setw(40)<<"Multiplication Chart"<<endl<<endl;
    		cout>>"This is a multiplication Chart"<<endl<<endl
    			cout<<"please enter a number between 1 and 17 for the table to reach up to. Numbers larger then 17 will NOT work"<<endl;
    		cin>>number;
    
    		for (i=0; i<number; i++)
    			(
    			cout<<i<<"I";
    
    		for (j=0; j<number; j<+)
    			cout<<setw(3) i*j;
    		}
    		cout<<endl;
    	}
    	system ("PAUSE");
    }
    

    :I

    C / C++ / MFC help question learning

  • employee pay calculator
    P Pathetic

    "Include the headers you need" - Nelek headers as in these three??

    #include math
    #include iostream
    #include iomanip 
    

    also, what do you mean by this??

    Nelek wrote:

    save the total amount in a "total_pay" give the results on the screen /* depending on how you mix the three temp variables you have one amount or the other */

    how do you do that?? "The beauty of grace is that it makes life not fair" Relient K, Be my escape

    modified on Wednesday, May 28, 2008 7:35 PM

    C / C++ / MFC tutorial learning c++ help

  • employee pay calculator
    P Pathetic

    thanks! I am pretty sure this will help alot

    :I

    C / C++ / MFC tutorial learning c++ help

  • employee pay calculator
    P Pathetic

    thanks!

    :I

    C / C++ / MFC tutorial learning c++ help

  • employee pay calculator
    P Pathetic

    thanks for your help! how is this so far. #include <iostream> #include <iomanip> using namespace std; void main() {//start int hours_worked, total_pay, neto_pat, taxes, cpp, ei, ud cout<<"Please enter hours worked"<<endl; cin>>hours_worked; if (hours_worked is =< 40) (hours_worked*hour_price) else if (hours_worked is >40 <= 45) (45-hours_worked) * (1.5*hour_price) else if(hours_worked >45) (hours_worked - 45) * (2*hour_price) save the total amount in a "total_pay" give the results on the screen /* depending on how you mix the three temp variables you have one amount or the other */ cout<<"Deductions Are"<<endl; cout<<"Taxes ="<< (total_pay * 31) / 100.0 >>endl; /* this .0 at the end is to force to have decimals in the result */ cout<<"CPP ="<< (total_pay * 2.4) / 100.0 >>endl; cout<<"EI ="<< (total_pay * 1.9) / 100.0 >>endl; cout<<"Union ="<< (total_pay * 0.4) / 100 >>endl; cout<<"The Net pay for the week is"<< neto_pay = total_pay - taxes - cpp - ei - ud <<endl; cout<<"The Gross income is"<< total_pay <<endl; system ("PAUSE"); } I have a few questions, but they are in latter posts. oh, and yes, i did paste what you gave me, then worked overtop of it, it takes less time that way, and Icopy and paste stuff. the stuff that is identicle to yours dont just look identicle they are identicle. those are the bits i didnt get.

    "The beauty of grace is that it makes life unfair" Relient K, Be my escape

    modified on Wednesday, May 28, 2008 8:22 PM

    C / C++ / MFC tutorial learning c++ help

  • employee pay calculator
    P Pathetic

    i talked to my instructor on the phone today(because he lives somewhere downtown) and he said that this course generally takes up to a year, and that doing it in a 5 month period explains why i am so totally lost. He said that I should try to take it slow. He doesnt realize that my school will make me pay for the course if it not done in 2 days. and i am using visual c++. The book i am using is put together by the manitoba indepentdent studdy course in the year 2000. i am using a program that they gave me that was made in the year 2005. That is the main reason it doesnt help much to read the book. Visual c++ has devoloped and changed a bit since then. The course is being discontinued at the end of this year. of course, i am told this AFTER I pick the course. Well, thats just life i suppose. Did i answer all your questions?

    :I

    C / C++ / MFC tutorial learning c++ help

  • employee pay calculator
    P Pathetic

    I am taking an independent study course (ISP) and so far i have no clue what i am doing. i have managed to scrounge up some pathetic codes that havent worked sofar, and i was told that if my last 2 do not work, i fail, and i have an exam, and its all due friday. I Have read the the book at least 6 times, and still i have no idea how to make a program. So i am going to ask for serious help. i have to write a program that will determine an employee's net pay based on the following info. employee is being paid 10.50 dollars an hour for the first 40 hours he recieves time and a half for the first 5 hours over 40 hours he recieves double pay for hours over 45 hours he is taxed at a rate of 31% he pays 1.9% canada pension plan .4% union dues is also payed. apparently the program read as input the number of hours the employee has worked. the output screen should display gross pay, amount going into taxes, and the net income for the week example output supplied: hours worked 42.00 Regular pay 240.00 Overtime pay 31.50 --------------------- Total Gross Pay 451.50 deductions taxes 139.96 cpp 10.84 ei 8.58 Union dues 1.81 --------------------- Net Pay 290.31 Yes it is directly from the book. I am trying to be super specific. I dont want anyone to like, write out the code for me, because its against the rules im pretty sure, and i learn nothing from it. I just would appreciate a guide on how to actually figure this out, so i can do the exam, and lesson 2 from this module. And I know, it sounds very demanding. but this is like, i fail i owe the school 200 dollars for the ISP.

    :I

    C / C++ / MFC tutorial learning c++ help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups