How to write a query in file using c++ without data base?
-
i have written a query select name, regno from student and parsed it now i want to display the user information in tabular form.what should i do?
-
Answer:
you have to store the data as xml or csv or some format and then parse it based on the delimiter ... matching each data between the delimited eg: if your file is stored based like this name-regno-class anu-504-5th ram-605-6th tom-859-8th the "-" is your delimiter ... you then read the file one line at a time .. and split the string based on the "-" then you extract the required substring from the splitted string ...
kiran at Yahoo! Answers Visit the source
Related Q & A:
- How to write a parser in C?Best solution by Stack Overflow
- How to write Join Query for two tables without foreign key in Yii2?Best solution by Stack Overflow
- How to write a query for PHP and MySQL?Best solution by Stack Overflow
- How to write delete query with inner join?Best solution by codeproject.com
- How to programatically select a item in list using c#?Best solution by Software Quality Assurance & Testing
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.