Search:

Type: Posts; User: 123456tacos

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    5,560

    Overloaded Constructors hw help

    Problem Description

    Create a Date class with the following capabilities:
    a) Output the date in multiple formats such as
    MM/DD/YYYY
    June 14, 1992


    b) Use overloaded constructors to create...
  2. Sorry im kinda a noob at this :/ for the...

    Sorry im kinda a noob at this :/
    for the Student.cpp i get


    and for the mid2.cpp i get
  3. Need Help with Object-Based Programming with array

    I cant figure out this problem i think i have everything right but i cant get it to compile, no idea where i messed up, please help if you can.

    Create a class Student. The class has member data:...
  4. Replies
    14
    Views
    5,913

    ok thanks and i got the code part cout

    ok thanks and i got the code part
    cout << setiosflags( ios::fixed | ios::showpoint ) im just asking where should i place it and do i have to
    setprecision( 2 ) for every result or just one?
  5. Replies
    14
    Views
    5,913

    Oh and where should i put setprecision( 2 )

    Oh and where should i put
    setprecision( 2 )
  6. Replies
    14
    Views
    5,913

    Ok i got it working but its giving me the wrong...

    Ok i got it working but its giving me the wrong answer For example if i enter product 2 and sold 2 i get $2.50
  7. Replies
    14
    Views
    5,913

    Ok this is my revised code i get a error saying...

    Ok this is my revised code i get a error saying that QuantitySold cant be used as a function and sorry about not spacing my code in the OP



    #include<iostream>
    #include <iomanip.h>
    using...
  8. Replies
    14
    Views
    5,913

    C++ Swiches Help

    I need help with with my hw. The code bellow is what i have so far but i still need to this part which i cant figure out .


    >>>>>If the quantity sold for the product is over 10, then 10% off is...
  9. anyways thanks for the help i figured it out :)

    anyways thanks for the help i figured it out :)
  10. kk thanks ill give it a try

    kk thanks ill give it a try
  11. can u give like a example because i have no idea...

    can u give like a example because i have no idea what you mean by that bc i was sick and missed that lesson unfortunately :/
  12. Help ASAP With Multiple Functions with Input/Output Parameters

    Ok so i got this code working but then i realized that my teacher is a lame and wont accept it bc its dooesnt use Multiple Functions with Input/Output Parameters and i have no idea how to do that :/...
  13. Replies
    3
    Views
    3,060

    so like strcpy (temp, lname[y]); strcpy...

    so like


    strcpy (temp, lname[y]);
    strcpy (lname[y], lname[y-1]);
    strcpy (lname[y-1], temp);


    and where would these go if they are right? im new to c :P
  14. Replies
    3
    Views
    3,060

    Help with array Hw

    Hi i cant seem to get this program to work, i think the problem might be with the arrays but i cant seem to figure it out :/
    This is the hw problem

    Write a program that stores lists of names...
  15. Replies
    9
    Views
    3,798

    ohh ok i think i got it thanks :)

    ohh ok i think i got it thanks :)
  16. Replies
    9
    Views
    3,798

    oo got wrong sign :P so is there a way to write...

    oo got wrong sign :P so is there a way to write it in array form? a example would be nice

    here its all updated it works and gives the right answer it just isnt in array form which the damn teacher...
  17. Replies
    9
    Views
    3,798

    this is the code i wrote but i need to write it...

    this is the code i wrote but i need to write it in array form but i dont know how, ohh the system pause cause a syntax error




    #include <stdio.h>


    int main (void)
    {
  18. Replies
    9
    Views
    3,798

    Need Help With Array and Arguements Hw

    hi, well i need help with my hw, it deals with arrays and arguments but i have no idea how to do it, like im taking a online class and the book is basically useless, so i was wondering if u guys...
  19. Replies
    3
    Views
    7,141

    kk so this is what i got it works and all but...

    kk so this is what i got it works and all but when i enter multiple product #1 it just takes the last one i enter and it doesnt add them :(


    #include <stdio.h>

    int main()
    {
    int swt=0,...
  20. Replies
    5
    Views
    5,898

    ahahaha thanks i got it working :DDD

    ahahaha thanks i got it working :DDD
  21. Replies
    5
    Views
    5,898

    soooooo.....yaaa idk lol im just a beginner in...

    soooooo.....yaaa idk lol im just a beginner in all this :P
  22. Replies
    5
    Views
    5,898

    Problem : . Function with Input/Output...

    Problem : . Function with Input/Output Parameters

    Write a void function called Result that has only two type int input/output parameters. The function will return the sum of the two original...
  23. Replies
    3
    Views
    7,141

    Loop and Switch Problem Help

    There is my code. I'm running into problems in which the program will run, but the results are... bad. Not even close. All products except 5 show up as 0, and 5 ends up showing up as 70.xxxxxxxxxxx...
  24. Replies
    7
    Views
    6,073

    yaaaaa we havent learned that yet :'/

    yaaaaa we havent learned that yet :'/
  25. Replies
    7
    Views
    6,073

    ahahaha thanks it works now but if i enter...

    ahahaha thanks it works now but if i enter multiple entries like "1" twice for the product number it stops automaticaly -.-'




    #include <stdio.h>

    int main (void)
    {
    int custnum;
Results 1 to 25 of 40
Page 1 of 2 1 2