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...
Type: Posts; User: daki76
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...
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?
...
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;...
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 ...
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...
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...
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...
Thanks, this helped.
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.
...