Re: [sqlite] My 1st C++ SQLite3 program

2017-08-28 Thread Keith Medcalf
qlite-users [mailto:sqlite-users- >boun...@mailinglists.sqlite.org] On Behalf Of Papa >Sent: Monday, 28 August, 2017 16:01 >To: sqlite-users@mailinglists.sqlite.org >Subject: Re: [sqlite] My 1st C++ SQLite3 program > >:-) LOL, yes, that is the gift from MS to the world, LOL. >On

Re: [sqlite] My 1st C++ SQLite3 program

2017-08-28 Thread Papa
:-) LOL, yes, that is the gift from MS to the world, LOL. On 2017-08-28 2:20 PM, John McKown wrote: On Mon, Aug 28, 2017 at 1:11 PM, Papa wrote: Thanks everyone. The problem was resolved by rebooting the computer, strange ain't it? ​Ah, yes, the main "solution" to most Windows problems. It'

Re: [sqlite] My 1st C++ SQLite3 program

2017-08-28 Thread Simon Slavin
On 28 Aug 2017, at 7:11pm, Papa wrote: > Thanks everyone. > > The problem was resolved by rebooting the computer, strange ain't it? Congratulations for figuring it out. You will probably never know what was wrong. We’ve all done it. Simon. ___ sql

Re: [sqlite] My 1st C++ SQLite3 program

2017-08-28 Thread John McKown
On Mon, Aug 28, 2017 at 1:11 PM, Papa wrote: > Thanks everyone. > > The problem was resolved by rebooting the computer, strange ain't it? > ​Ah, yes, the main "solution" to most Windows problems. It's what our desktop ask first - have you rebooted? Yes, and it didn't work? Did you power cycle th

Re: [sqlite] My 1st C++ SQLite3 program

2017-08-28 Thread Papa
Thanks everyone. The problem was resolved by rebooting the computer, strange ain't it? On 2017-08-27 10:55 AM, Tim Streater wrote: On 27 Aug 2017, at 15:35, Papa wrote: First and foremost, I'd like to thank everybody for your replies. Although I have sound knowledge and understanding of C++

Re: [sqlite] My 1st C++ SQLite3 program

2017-08-28 Thread Jens Alfke
> On Aug 26, 2017, at 6:34 PM, Papa wrote: > > class SQLite3_RDB { > private: > sqlite3* db; //!< Data Base > std::string database_name; >public: > SQLite3_RDB(); > ~SQLite3_RDB(){sqlite3_close(db); } > }; > SQLite3_RDB::SQLite3_RDB(){ > databese_name

Re: [sqlite] My 1st C++ SQLite3 program

2017-08-28 Thread Igor Korot
Don, On Mon, Aug 28, 2017 at 6:33 AM, Don V Nielsen wrote: > database_name is never assigned a value? In SQLite3_RDB::SQLite3_RDB() it > is spelled databese_name? That is OK. The class member is not used anywhere and the "dxatabese_name" local is used instead. Thank you. > > On Sat, Aug 26, 20

Re: [sqlite] My 1st C++ SQLite3 program

2017-08-28 Thread Don V Nielsen
database_name is never assigned a value? In SQLite3_RDB::SQLite3_RDB() it is spelled databese_name? On Sat, Aug 26, 2017 at 10:28 PM, Simon Slavin wrote: > > > On 27 Aug 2017, at 2:34am, Papa wrote: > > > Why do I get this error message? > > Try having the program using file calls to open a sim

Re: [sqlite] My 1st C++ SQLite3 program

2017-08-27 Thread Igor Korot
Hi, Chris, On Sun, Aug 27, 2017 at 6:53 PM, Chris Waters wrote: > Pardon my abject ignorance of C and C++. But just a quick naive observation. > Does it have anything to do with the fact that the string is declared > "database_name", but the invocation uses "databese_name". ??? It will just cre

Re: [sqlite] My 1st C++ SQLite3 program

2017-08-27 Thread Chris Waters
Pardon my abject ignorance of C and C++. But just a quick naive observation. Does it have anything to do with the fact that the string is declared "database_name", but the invocation uses "databese_name". ??? > > Chris. ___ sqlite-users mailing list sql

Re: [sqlite] My 1st C++ SQLite3 program

2017-08-27 Thread Simon Slavin
On 27 Aug 2017, at 3:35pm, Papa wrote: > First and foremost, I'd like to thank everybody for your replies. > Although I have sound knowledge and understanding of C++ [ that can be > debatable ] and still remember a little how C works, I have no Idea how to > utilize the API of SQLitle3. There

Re: [sqlite] My 1st C++ SQLite3 program

2017-08-27 Thread Igor Korot
On Sun, Aug 27, 2017 at 10:55 AM, Tim Streater wrote: > On 27 Aug 2017, at 15:35, Papa wrote: > >> First and foremost, I'd like to thank everybody for your replies. >> Although I have sound knowledge and understanding of C++ [ that can be >> debatable ] and still remember a little how C works, I

Re: [sqlite] My 1st C++ SQLite3 program

2017-08-27 Thread Igor Korot
Hi, On Sun, Aug 27, 2017 at 10:35 AM, Papa wrote: > First and foremost, I'd like to thank everybody for your replies. > Although I have sound knowledge and understanding of C++ [ that can be > debatable ] and still remember a little how C works, I have no Idea how to > utilize the API of SQLitle3

Re: [sqlite] My 1st C++ SQLite3 program

2017-08-27 Thread Tim Streater
On 27 Aug 2017, at 15:35, Papa wrote: > First and foremost, I'd like to thank everybody for your replies. > Although I have sound knowledge and understanding of C++ [ that can be > debatable ] and still remember a little how C works, I have no Idea how > to utilize the API of SQLitle3. Therefor

Re: [sqlite] My 1st C++ SQLite3 program

2017-08-27 Thread Papa
First and foremost, I'd like to thank everybody for your replies. Although I have sound knowledge and understanding of C++ [ that can be debatable ] and still remember a little how C works, I have no Idea how to utilize the API of SQLitle3. Therefore, it is very difficult for me to apply the ad

Re: [sqlite] My 1st C++ SQLite3 program

2017-08-26 Thread Simon Slavin
On 27 Aug 2017, at 2:34am, Papa wrote: > Why do I get this error message? Try having the program using file calls to open a simple text file in the same directory. Does that succeed ? Simon. ___ sqlite-users mailing list sqlite-users@mailinglists.

Re: [sqlite] My 1st C++ SQLite3 program

2017-08-26 Thread Igor Korot
Hi, On Sat, Aug 26, 2017 at 9:34 PM, Papa wrote: > class SQLite3_RDB { > private: > sqlite3* db; //!< Data Base > std::string database_name; >public: > SQLite3_RDB(); > ~SQLite3_RDB(){sqlite3_close(db); } > }; > SQLite3_RDB::SQLite3_RDB(){ > databese_na

[sqlite] My 1st C++ SQLite3 program

2017-08-26 Thread Papa
class SQLite3_RDB {     private:     sqlite3* db; //!< Data Base     std::string database_name;    public:     SQLite3_RDB();     ~SQLite3_RDB(){sqlite3_close(db); } }; SQLite3_RDB::SQLite3_RDB(){     databese_name.assign("information.sql3db");     rc = sqlite3_open(databese_name.c