Thread: Parsing in C/C++

  1. #1
    Registered User
    Join Date
    Aug 2014
    Posts
    7

    Parsing in C/C++

    Hi,

    I am new in development and I need some help and I'll greatly appretiate your help. We have deployed a kit which is scanning wifi and and blutooth devices and storing them into the device's local database (device is linux debian) with smartphone's ID and other stuff. My first task is to write a c or c++ program which can parse those recieved frames and format them according to our own database and then send it in xml format to our own event handler which will evetually send it to our database.

    Thank you very much in advance looking forward for your response.

    Kind regards

  2. #2
    Registered User Alpo's Avatar
    Join Date
    Apr 2014
    Posts
    877
    But you didn't ask a question.

    Edit: If you are asking for recommendations on a parser (?), TinyXml has some mostly good stuff. It also has a few limitations, however if it meets your requirements I would recommend it as you can learn the entire library in a fairly short time.
    Last edited by Alpo; 08-14-2014 at 09:17 PM.

  3. #3
    Registered User
    Join Date
    Aug 2014
    Posts
    7
    Thank you for your reply now I am going to look into TinyXml but my Issue is that I have never write a program to parse a file into xml format and need some direction towards it thank you.

  4. #4
    Registered User
    Join Date
    Aug 2014
    Posts
    7
    I want to write a code which can parse the received frames from the device to an xml file and send it to our database. I broke that task into pieces and first is to write that proram to parse any file into an xml format but it will be my first time so I don't know how to start or can I use an API for that some samples would be great.

    Thank you in advance.

  5. #5
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Parsing Xml
    By deviousdexter in forum C# Programming
    Replies: 7
    Last Post: 04-24-2009, 06:29 AM
  2. need sth about parsing
    By Masterx in forum C++ Programming
    Replies: 6
    Last Post: 11-07-2008, 12:55 AM
  3. C parsing
    By CM_2020 in forum C Programming
    Replies: 5
    Last Post: 07-08-2008, 10:33 AM
  4. String parsing(parsing comments out of HTML file)
    By slcjoey in forum C# Programming
    Replies: 0
    Last Post: 07-29-2006, 08:28 PM
  5. something like parsing...i think
    By hmm... in forum C Programming
    Replies: 3
    Last Post: 01-15-2003, 09:59 AM