Search:

Type: Posts; User: kisiellll

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,727

    ok so now i think in accordance to the second...

    ok so now i think in accordance to the second post the two assign member functions would be declared like this:


    void assign(string obString);
    void assign(const char *);
  2. Replies
    3
    Views
    1,727

    o and to add to this. the next step calls for...

    o and to add to this. the next step calls for another assign member function this time that accepts a character pointer. this one checks for assignment to self, and assigns a new value to this string...
  3. Replies
    3
    Views
    1,727

    Custom String Class member functions

    Ok I posted something earlier about this but was asking for too much at once so I am going to try to break this up now as I find myself needing help.

    Being a beginner to C++, I am right now stuck...
  4. Replies
    5
    Views
    1,483

    yeah i kind of knew it was alot at once. well its...

    yeah i kind of knew it was alot at once. well its a new morning here so im back at it again. ill wait till i reach some problems before requesting help.

    thanks for the tips so far though. being a...
  5. Replies
    5
    Views
    1,483

    Creating a Custom String Class

    DELETED!!! Too much code.
  6. Replies
    3
    Views
    1,461

    this is the first program for an intro to c++...

    this is the first program for an intro to c++ class im taking. what i have coded is what the professor has asked for so im only following by the rules i was given.

    anyways, thank you for the help....
  7. Replies
    3
    Views
    1,461

    Help with Date Class

    I'm trying to create a Date Class to run with some predetermined input and I am having a tought time with a few areas.

    I haven't coded in C or C++ for awhile so I have a feeling this code is going...
  8. Replies
    15
    Views
    16,756

    ok well i actually never fixed it. i modified...

    ok well i actually never fixed it. i modified some code somewhat like Adak just posted and it looked workable somewhat, but i was still getting junk.

    i just used Adaks example and it seems to be...
  9. Replies
    15
    Views
    16,756

    ahhhhhh got it fixed now! thanks for all the...

    ahhhhhh got it fixed now!

    thanks for all the help!
  10. Replies
    15
    Views
    16,756

    yep just ran 2 accounts, and its not sorting for...

    yep just ran 2 accounts, and its not sorting for me. hmmm
  11. Replies
    15
    Views
    16,756

    its acting kind of strange now for me. it just...

    its acting kind of strange now for me. it just worked with 5 accounts, but wont work for 2, 3, or 4 accounts.
  12. Replies
    15
    Views
    16,756

    basically its not sorting anything and my third...

    basically its not sorting anything and my third line is coming up with garbage information.
  13. Replies
    15
    Views
    16,756

    hmm ok now it compiles, but its not sorting. ...

    hmm ok now it compiles, but its not sorting.

    any ideas?
  14. Replies
    15
    Views
    16,756

    sorting an array of structures

    ***THE TITLE SHOULD SAY SORTING A STRUCTURE NOT AN ARRAY!!!***


    ok this is the last part i need finished for this program and its causing quite a headache.

    basically im storing data in a...
  15. Replies
    2
    Views
    2,159

    in case you cant understand, this is how i want...

    in case you cant understand, this is how i want the output to look:



    ACCOUNT LAST NAME BALANCE
    100 washington 100.00
    200 smith 200.00


    i can...
  16. Replies
    2
    Views
    2,159

    formatting output

    ugh, more problems here.

    now i am trying to format the output and am having trouble getting things to look the way i would like them too.

    here is my code:



    #include <stdio.h>
  17. Replies
    6
    Views
    2,479

    thanks for pointing out my dumb mistake!

    thanks for pointing out my dumb mistake!
  18. Replies
    6
    Views
    2,479

    yep, just noticed it. wow, thanks semi-colons. ...

    yep, just noticed it. wow, thanks semi-colons.

    i must have been on auto-pilot when i put that one in there.
  19. Replies
    6
    Views
    2,479

    even when i take out the fflush(stdin) statements...

    even when i take out the fflush(stdin) statements the program outputs the same rubbish
  20. Replies
    6
    Views
    2,479

    help displaying info from structure

    ok so the idea behind this is i have a program where info is entered for an account number, a last name, and a balance and it is stored in a structure.

    afterwards the info from the structure is...
  21. Replies
    4
    Views
    1,446

    Yeah I know about using gets and my style of...

    Yeah I know about using gets and my style of using main, but its what my professor wants us to use for some reason. Its an introductory course so I think hes just trying to keep it simple for now,...
  22. Replies
    4
    Views
    1,446

    Am I using pointers correctly here?

    I have a simple program I am coding for my class and so far I have got the program to do what I want it to do, however I am not sure if I am using pointers as my professor had asked us to use in this...
  23. alright fixed everything. 1. switched emp_name...

    alright fixed everything.

    1. switched emp_name to [10][30]
    2. added a 10 to specify the width of the float numbers being displayed "%10.2f"
    3. set sum_gross, sum_net, and sum_tax to 0 so they...
  24. Ok I got number 1 and 2 of my problems all set. I...

    Ok I got number 1 and 2 of my problems all set. I saw in my last thread you guys mentioning that, just forgot to switch the numbers around in the array. I also knew my answer to number 2, this being...
  25. Have a few minor problems trying to finish this program

    I'll list my problems first:
    1. How can I have the decimal points aligned in my output?
    2. One of the names being displayed in my output shows the first and second names of the array connected as...
Results 1 to 25 of 37
Page 1 of 2 1 2