Question: Test.db is a test database that I created with touch test.db This is all the information that I got in the question C/C++ programming with
Test.db is a test database that I created with "touch test.db"
This is all the information that I got in the question
C/C++ programming with sqlite3 (with Week05 Activity - sqlite3 example) Project Description Design and implement C/C++ program (test6.c) to do the following tasks with test db (which you have worked for Week05 Activity), to compile with a Makefile, and to run the program to show each task done. Your program does: (1) add a record (shown below) to test.db, (2) get all the records using select, (3) print the records from (2) to the console, with a heading (e.g., "-----Task1-----") ID = 20 NAME = Luke AGE = 20 ADDRESS = Dallas SALARY = 100000.0 ID = 21 NAME = Matthew AGE = 21 ADDRESS = Piano SALARY = 80000.0 Your C/C++ program (interfacing with sqlite3 in Part1 test.db) will do: update the record (of ID = 20 inserted in Task2) so that the name updated will be "John", get all the records using select and print all the records from select, to the console with a heading for Task2. Provide a Makefile file to compile your program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
