C
C#17mo ago
Pulx/Mars

❔ XML/CSV data reader and Local database

Hello! I have some trouble making this problem: Create a database /structure equivalent to (an example can be a XML model or a CSV ,object oriented or hierarchical) with the name EducationalGame who must contain 3 tabels (check the photo!) When the app will open, in the database/data structure will load the data from the .txt files which contains on each line , a register, the values of each field being separated by";" . Rules: No internet connection No Mysql or any sql db Using vs2022 (in my case for this exercise i have to use vscode on Linux) The code will be moved on a different computer for testing so an auto setup database will be needed. My questions: 1. How to get data from xml/csv 2. How to manipulate data? Add, check etc 3. How to handle the revived data from xml/csv to make a tabel or something like that 4. In what format will data apear in the code? Line, Vector (array)?? 5. How the program would look like? An example would totally help! Please don't judge and call me lazy or something...I can't find anywhere something to help me finish this exercise! Please help!
3 Replies
mtreit
mtreit17mo ago
I didn't quite understand the ask. You're going to implement a database and XML or CSV are possible options for your implementation, but you could use something else as well?
Pulx/Mars
Pulx/MarsOP17mo ago
I could not use something else as well... I can easily make this thing with MySql or any SQL database,but the exercise says that I must use this method.... Also when the app is opened, the data from the .txt files will be extracted and used with the schema created after the example above.
Accord
Accord17mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server