Search:

Type: Posts; User: dantestwin

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    1,990

    Thanks for your help Joe. Appreciate it.

    Thanks for your help Joe. Appreciate it.
  2. Replies
    6
    Views
    1,955

    Don't have a cow. My intention was not to spam....

    Don't have a cow. My intention was not to spam. I've posted several times on here in the past. Tonight I made a mistake and created a couple of threads when I shouldn't have but it will not happen...
  3. Replies
    10
    Views
    1,990

    I'm defining them using these 2 files: ...

    I'm defining them using these 2 files:

    sale.cpp


    //definitions for Sales.h

    #include <iostream>
    #include "sale.h"
    #include <iomanip>
  4. Replies
    10
    Views
    1,990

    Yes. I apologize for that. I'm desperate for help.

    Yes. I apologize for that. I'm desperate for help.
  5. Replies
    10
    Views
    1,990

    Ok, I added the statements you gave me to my...

    Ok, I added the statements you gave me to my sale.h file and now I get 2 Linker errors and 1 warning. What you said helped immensely and I'm sorry to be a pain. I'm a novice at programming and am...
  6. Replies
    14
    Views
    2,853

    well now I only get 2 and i have no idea why. I'm...

    well now I only get 2 and i have no idea why. I'm stuck.
  7. Replies
    10
    Views
    1,990

    Help me please!!!

    I am now dissecting each file piece by piece. The project consists of 2 header files and 2 definition files plus a main program utilizing both classes. One of the definition files (sales.cpp)...
  8. Replies
    6
    Views
    1,955

    I wasn't trying to ignore you, please read the...

    I wasn't trying to ignore you, please read the response i posted on the other thread.
  9. Replies
    14
    Views
    2,853

    ...I wasn't determined to ignore you. I just...

    ...I wasn't determined to ignore you. I just started dissecting the files piece by piece. I thought I had it perfect and was getting bogus errors and then I discovered that there were some slips ups...
  10. Replies
    6
    Views
    1,955

    Need Help Please!

    I am now dissecting each file piece by piece. The project consists of 2 header files and 2 definition files plus a main program utilizing both classes. One of the definition files (sales.cpp)...
  11. Replies
    14
    Views
    2,853

    Well i get all these errors: ...

    Well i get all these errors:



    main.cpp(26) : error C2065: 'ItemType' : undeclared identifier
    main.cpp(26) : error C2146: syntax error : missing ';' before identifier 'saletype'...
  12. Replies
    14
    Views
    2,853

    yes i have. I'm a bit slow because i'm a newbie...

    yes i have. I'm a bit slow because i'm a newbie at c++. But i did what you suggested and i get over a hundred errors....multi file projects are a challenge for me.
  13. Replies
    14
    Views
    2,853

    that could work but for this task, i'm supposed...

    that could work but for this task, i'm supposed to leave the names as they are. sale.cpp, register.h, register.cpp
  14. Replies
    14
    Views
    2,853

    So i have to include that in all my files?

    So i have to include that in all my files?
  15. Replies
    14
    Views
    2,853

    multi file project error

    Ugg, I do not know why I keep getting errors when I run this project. It ran perfectly before. If anyone can take a look and tell me why I get these errors, I would really appreciate it. Thanks.
    ...
  16. Replies
    9
    Views
    1,012

    thanks sean, i fixed the bug now. It compiles...

    thanks sean, i fixed the bug now. It compiles fine and everything but there is one logical error. The biggest element in the array is 10 and it the program prints out the current frequency for every...
  17. Replies
    9
    Views
    1,012

    Ok im almost done just keep getting this one...

    Ok im almost done just keep getting this one error. grrrrr.



    #include <iostream>
    using namespace std;
    int mode(int freq[],int a[],int size );//prototype
    int main()
    {
  18. Replies
    9
    Views
    1,012

    Couldn't another way also involve using a switch...

    Couldn't another way also involve using a switch statement?
  19. Replies
    9
    Views
    1,012

    I just mean I want the function to count how many...

    I just mean I want the function to count how many times each element is present in the array. The element that has the highest count would be the mode which is what I want the function to return.
  20. Replies
    9
    Views
    1,012

    returning mode value from array

    I have an idea of how I want to tackle this but its hard for me to implement in code. I want the function to check each element and if it spots another one just like it, to do an incrementation. I...
  21. Replies
    6
    Views
    11,737

    I got it to work. Thanks Nick.

    I got it to work. Thanks Nick.
  22. Replies
    6
    Views
    11,737

    Ok, what you said made a lot of sense and I...

    Ok, what you said made a lot of sense and I altered the code but now I get this inifinite loop!




    void reverse(int a[], int size) //reverse order of elements in array
    {

    ...
  23. Replies
    6
    Views
    11,737

    reversing elements in array

    I've been trying to figure out how to reverse the elements in my array. But im drawing a blank. Any help would be greatly appreciated.





    #include <iostream>
    using namespace std;
    void...
  24. Replies
    3
    Views
    1,365

    Hmmmm ok.....6 hours of working on code is really...

    Hmmmm ok.....6 hours of working on code is really taking a toll on me....LOL. Thanks sean.
  25. Replies
    13
    Views
    3,693

    I usually do but I'm using visual c++ which has a...

    I usually do but I'm using visual c++ which has a funky autoformat thing happening.
Results 1 to 25 of 61
Page 1 of 3 1 2 3