Search:

Type: Posts; User: DoItAllMom115

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    2,025

    running

    you got it to run ok? (other than what you stated)
  2. Replies
    7
    Views
    2,025

    compiler

    visual C++
  3. Replies
    7
    Views
    2,025

    reallY?

    doesn't compile for me

    ERRORS:

    LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
    Debug/project 6.exe : fatal error LNK1120: 1 unresolved externals
    Error executing...
  4. Replies
    7
    Views
    2,025

    updated code--if anyone can help

    I've worked alot of this out now.

    Any more help from anyone?
  5. Replies
    7
    Views
    2,025

    help with project using classes

    Here are my errors:

    --------------------Configuration: project 6 - Win32 Debug--------------------
    Compiling...
    project 6.cpp
    C:\Program Files\Microsoft Visual Studio\MyProjects\project...
  6. Replies
    6
    Views
    1,288

    I'm still trying

    I've got the program to compile.
    The print function works ok, but none of the others do.

    Mostly they just loop through the choices a few times.

    HELP!!
  7. Replies
    6
    Views
    1,288

    dirX

    Thanks,
    I had just figured out the first one before I checked your reply.
    I fixed the second one--DUH!

    but now I'm getting 2 more errors...

    I think it may be a linking problem with my...
  8. Replies
    6
    Views
    1,288

    more help needed please

    I've taken care of the previous errors, but now I'm getting this:

    "conditional expression of type 'class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char> >' is...
  9. Replies
    6
    Views
    1,288

    problem with switch command

    Please see attached file.

    I am getting 5 errors of "function does not take 3 parameters", one error at each case.

    :(
  10. Replies
    1
    Views
    1,353

    external files

    How do you delete data from an external file from within your program? I am using arrays to store names and phone numbers and saving them to an external file. I need to be able to delete data from...
  11. Replies
    5
    Views
    1,309

    I am so lost...

    I have spent 14+ hours, got help from my professor, and STILL don't have a clue what I'm doing!

    HELP!!
  12. Replies
    5
    Views
    1,309

    logic?

    can you help with why the logic isn't correct?
  13. Replies
    5
    Views
    1,309

    help with arrays and functions

    See attached program please ?!?

    I don't know why I am getting these errors:

    error C2601: 'FUNCaveweight' : local function definitions are illegal

    error C2601: 'maxminLengths' : local...
  14. Replies
    6
    Views
    1,646

    Heare's what I'm supposed to do:

    read in a number of values representing length, species and wight of fish
    read in all values then deermine average weights, minimum and maximun number of fish sampled for each species
    end of data...
  15. Replies
    6
    Views
    1,646

    so I changed it to this:

    cout<<"Enter number of fish:"<<endl;
    cin>>numberFish;
    //get input
    for (s=0;s<numberFish;s++)

    {
    cout<<"Enter species:"<<endl;
    cin>>Species[s];
    }
    for (w=0;w<numberFish;w++)
  16. Replies
    6
    Views
    1,646

    huh?

    I have no idea what you mean.

    I am trying to get input from the keyboard and put it into an array Species[s]

    the other strings are working ok, but it does not let me enter info for the Species.
  17. Replies
    6
    Views
    1,646

    string array input problem

    Why won't this let me input data from the keyboard for the species string array?



    int main (void)
    {


    //declare arrays
    int Length[numberFish];
  18. Replies
    6
    Views
    989

    I am still getting the same error in this spot

    //loop to read in species
    for (s=0;s<numberFish;s++)
    {
    cout<<"Enter species of fish:"<<endl;
    cin>>Species[s];
  19. Replies
    3
    Views
    756

    Array question ??

    How do I total all the values in an array?

    and average them?
  20. Replies
    6
    Views
    989

    Why am I getting this error?

    ERROR: error C2679: binary '>>' : no operator defined which takes a right-hand operand of type '' (or there is no acceptable conversion)

    at cin




    #include <iostream>
    #include <cstdlib>...
  21. Replies
    11
    Views
    1,712

    THANK YOU SO MUCH!!

    I really appreciate your help.
    I think I might have it now!! finally...
  22. Replies
    11
    Views
    1,712

    returning values from functions

    for some reason it is not returning the calculated values from my functions to the main program

    Anyone know why?
  23. Replies
    11
    Views
    1,712

    still trying...

    ok, I removed the declaration in front of the function call.
    I changed height to a float instead of an integer, but why won't it print out the calculated values?



    while (height>=0) {
    ...
  24. Replies
    11
    Views
    1,712

    I'm still trying...

    I have changed it to


    while (height>=0) {


    but why won't it print out the values? is it not calculating them?

    so I don't have to declare the function types a second time?
  25. Replies
    11
    Views
    1,712

    New code

    OK, Here is my rewritten code:


    #include <iostream>
    #include <cstdlib>
    #include <cmath>
    #include <iomanip>
    using namespace std;

    //Project 3 - Draining a Tank
Results 1 to 25 of 27
Page 1 of 2 1 2