Search:

Type: Posts; User: gunghomiller

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    16
    Views
    3,080

    with this info, My program is suppose to read...

    with this info, My program is suppose to read this list of prices and the sales table and calculate the total dollar sales for each salesperson and the total dollar sales for all salespersons
    The...
  2. Replies
    16
    Views
    3,080

    thanks gents i read the loop but i dont...

    thanks gents i read the loop but i dont understand how to make it work! can someone show me?
  3. Replies
    9
    Views
    5,687

    this is the line it is line 181 line: *p =...

    this is the line it is line 181
    line:

    *p = new(nothrow) int[lsStudentCount+1][6];//error C2440: '=' : cannot convert from 'int (*)[6]' to 'int'
  4. Replies
    16
    Views
    3,080

    thanks for that info it displays now the total...

    thanks for that info it displays now the total number of automobiles sold for all employees, i need it to display prices and the sales table and calculate the total dollar sales for each salesperson...
  5. Replies
    16
    Views
    3,080

    here is the code #include using...

    here is the code

    #include <iostream>
    using namespace std;



    int main()
    {
    int i,j;
  6. Replies
    16
    Views
    3,080

    cool it let me add all the cars however it says...

    cool it let me add all the cars however it says the use of
    TotSales is used without being defined after i enter all the cars any ideas?
  7. Replies
    16
    Views
    3,080

    automobile program

    This is a program i am trying to get working. It is supposed to read in values of cars and then input howmany sold for each model for each sales person. it works fine until it gets to ten then it...
  8. Replies
    9
    Views
    5,687

    ok ... not to sound like a smart butt but can...

    ok ... not to sound like a smart butt but can someone help me that is why i came here i exhausted searching what the compiler outputed on the internet and i dont know what else to do to make it work
  9. Replies
    9
    Views
    5,687

    thanks now I have these errors: can anyone...

    thanks now I have these errors: can anyone provide insight?


    Error 1 error C2440: '=' : cannot convert from 'int (*)[6]' to 'int'
    Error 2 error C2109: subscript requires array or pointer type ...
  10. Replies
    9
    Views
    5,687

    errors Error 1 error C2248:...

    errors


    Error 1 error C2248: 'FirstRow::StudentCount' : cannot access private member declared inclass 'FirstRow'Error
    2 error C2248: 'FirstRow::ScoreCount' : cannot access private member...
  11. Replies
    9
    Views
    5,687

    file reading

    Hey all,
    I devised a program to read a file called student.txt that has in the firs line # of students and number of socres then has the scores
    student.txt:


    3 3
    95 100 95
    90 85 95
    100...
  12. Replies
    13
    Views
    1,595

    thanks gents for all the help it worked!

    thanks gents for all the help it worked!
  13. Replies
    13
    Views
    1,595

    Thanks but i cant get the error message to...

    Thanks but i cant get the error message to display only when the wrong number is entered
  14. Replies
    13
    Views
    1,595

    ok i changed it to #include ...

    ok i changed it to


    #include <iostream>
    #include <vector>
    #include <fstream>
    #include <iomanip>
    using namespace std;

    int main()
  15. Replies
    13
    Views
    1,595

    Ok I changed it a bit now it displays all the...

    Ok I changed it a bit now it displays all the prices with the numbers inbetween i dont know why it is not doing what I want


    else
    {
    while(!inData.eof())
    {
    inData >> num >> pri;...
  16. Replies
    13
    Views
    1,595

    This my revised code #include ...

    This my revised code


    #include <iostream>
    #include <vector>
    #include <fstream>
    #include <iomanip>
    using namespace std;

    int main()
  17. Replies
    13
    Views
    1,595

    I tried that the first time before I displayed my...

    I tried that the first time before I displayed my code and it still didnt work
  18. Replies
    13
    Views
    1,595

    linear sort must

    I have put together a program that will display the contents of file if selected or search that file for a product by product number and display the number and price of that product only. I have to...
  19. Replies
    17
    Views
    2,301

    unfortunately everything that i try doesnt work I...

    unfortunately everything that i try doesnt work I dont want the code just tell me the line it is in I have been working on this thing for like 5 days now. just a little help would be great
  20. Replies
    17
    Views
    2,301

    yes, unfortunately i dont know exactly what to do...

    yes, unfortunately i dont know exactly what to do with this program to make it perform like it is supposed to.
  21. Replies
    17
    Views
    2,301

    i thought that while the file i.e ch is not i.e...

    i thought that while the file i.e ch is not i.e != the end of file it will continue with the body of the program is that the wrong statement?
  22. Replies
    17
    Views
    2,301

    a file called test1.txt that has like four lines...

    a file called test1.txt that has like four lines with various amounts of characters basically garbage sentences.
  23. Replies
    17
    Views
    2,301

    I had put the curly braces in the wrong place i...

    I had put the curly braces in the wrong place i fixed it now it asks for the file and after three enters it will display the cout statement however my values are all wrong. Can someone please help...
  24. Replies
    17
    Views
    2,301

    files & streams

    Hey ladies and gents I am having a little problem with my code
    here it is


    #include <iostream> // cin, cout
    #include <fstream> // ifstream,...
  25. Replies
    1
    Views
    914

    Quick question

    My text book i am studying has this sample program but it doesnt tell me what this line is and I would like to know what it means before I move on can someone explain?


    cout <<...
Results 1 to 25 of 35
Page 1 of 2 1 2