Karthik Agarwal

Karthik Agarwal

  • NA
  • 748
  • 266.1k

How to skip reading some part of a file which is between soe identifiers...?????

Dec 8 2010 7:56 AM

sample code looks like this...
class FileReader
{
//from here i need read that file
}
file looks like this:
#AutoSar_Start
Message $591 NM_AUTOSAR NM_AUTOSAR IPC 8 1000

Signal NM_AUTOSAR_signal NM_AUTOSAR_signal 8 0 7 HEX $0 $0 $0 $0

Message $58C ACU_Autosar ACM_AutoSar_Network_Mgmt IAM 8 0

Signal AutoSar ACM_AutoSar_Network_Mgmt 64 0 63 HEX $0 $0 $FFFF $0

#AutoSar_End
when i encounter #AutoSar_Start till #AutoSar_End i should skip while reading..

Answers (1)