Search:

Type: Posts; User: daki76

Search: Search took 0.00 seconds.

  1. This is the error I receive when I use the tv_in...

    This is the error I receive when I use the tv_in as my pointer.


    error C2143: syntax error : missing ';' before '.'
    error C2143: syntax error : missing ';' before '.'

    The new_tv is the...
  2. I am trying to erase the elements from the...

    I am trying to erase the elements from the vector; however, I am receiving the following error:
    error C2228: left of '.erase' must have class/struct/union

    Am I referencing the wrong pointer?
    ...
  3. Is there a way to convert my array of data...

    Is there a way to convert my array of data structures to an vector? I have to use data structures because there are multiple data types.

    My code looks like:



    struct tv_in{
    int serialNum;...
  4. Newbie needs help removing elements from an array

    I was wondering if anyone could tell me how to remove elements from an array after a specific search criteria is met. For example, if the following data is contained in an array

    Serial Number ...
  5. Newbie - Problem printing multiple lines from data structure in an array

    I am having problems getting multiple lines to print out from a data structure that is within an array. Right now I am only getting the output for the last record entered into the array. I'm not...
  6. Replies
    9
    Views
    5,288

    This is supposed to be checking to see if...

    This is supposed to be checking to see if something has been entered into inVin to see if there is something to print out; however, this statement is similar to an example I had in a book so I'm not...
  7. Replies
    9
    Views
    5,288

    Newbie - Could not convert to bool error

    I keep receiving the following compiling error when trying to print a data structure from within an array:

    could not convert 'new_vehicle[t].vehicles_in::inVin' to 'bool'

    If anyone can offer...
  8. Thanks, this helped.

    Thanks, this helped.
  9. Newbie needs help with no match for `* std::string&' operator error

    I am receiving the following error when trying to use a pointer to an array that is defined using a structure. If anyone can explain why I'm receiving this error I would really appreciate it.
    ...
Results 1 to 9 of 9