Question: Hey i need help so i'm getting this error messages in my code and i don't know what to do....if you can help me recode
Hey i need help so i'm getting this error messages in my code and i don't know what to do....if you can help me recode it that will be graet. Below is an image of the error messages and the text code and the header file which will guide on what i was implementing on the code.....Thanks




bool isSupportedFormat (std: : string format) std: :vectorstd: :string isSupportedFormats={"GLL", "WPL", "RMC", "GGA"}; Ono member named 'vectorstd' in namespace 'std' return std: : find (isSupportedFormats. begin(), isSupportedFormats. end(), format) !=isSupportedFormats. end() ; 7 bool isValidSentenceFormat (std: : string sentence) if ( sentence. length() splitSentenceIntoFields (std: :string sentence) ; // Check if the sentence has the correct number of fields if ( !hasCorrectNumberOfFields (Fields) ) Ouse of undeclared identifier 'Fields' f // Return an empty SentenceData object if the sentence does not have the correct number of fields return SentenceData () ; // Extract the data from the fields and create a SentenceData object std: :string sentenceType = getSentenceType (fields[0]) ; Ouse of undeclared identifier 'fields' std: : vector
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
