Re: [sqlite] Just compiled SQLite in Visual Studio

2010-12-01 Thread Teg
Inc. BK> --- On Tue, 11/30/10, Igor Tandetnik <itandet...@mvps.org> wrote: BK> From: Igor Tandetnik <itandet...@mvps.org> BK> Subject: Re: [sqlite] Just compiled SQLite in Visual Studio BK> To: sqlite-users@sqlite.org BK> Date: Tuesday, November 30, 2010, 8:06 PM BK>

Re: [sqlite] Just compiled SQLite in Visual Studio

2010-12-01 Thread Bob Keeland
?   Bob Keeland Forest Dynamics, Inc. --- On Tue, 11/30/10, Igor Tandetnik <itandet...@mvps.org> wrote: From: Igor Tandetnik <itandet...@mvps.org> Subject: Re: [sqlite] Just compiled SQLite in Visual Studio To: sqlite-users@sqlite.org Date: Tuesday, November 30, 2010, 8:06 PM Bob Ke

Re: [sqlite] Just compiled SQLite in Visual Studio

2010-12-01 Thread Chris Wolf
Igor Tandetnik wrote: > Chris Wolf wrote: > >> It depends on your definition of "object". I hate to nit-pick, but for >> me, "object" may >> contain data or code or both data and code. So with this definition, C >> implements objects >> without code. >> > > Is there

Re: [sqlite] Just compiled SQLite in Visual Studio

2010-12-01 Thread Jay A. Kreibich
On Wed, Dec 01, 2010 at 03:49:40AM -0500, Chris Wolf scratched on the wall: > It depends on your definition of "object". I hate to nit-pick, but for > me, "object" may contain data or code or both data and code. So with > this definition, C implements objects without code. C++ classes don't

Re: [sqlite] Just compiled SQLite in Visual Studio

2010-12-01 Thread Igor Tandetnik
Chris Wolf wrote: > It depends on your definition of "object". I hate to nit-pick, but for > me, "object" may > contain data or code or both data and code. So with this definition, C > implements objects > without code. Is there really a fundamental difference between

Re: [sqlite] Just compiled SQLite in Visual Studio

2010-12-01 Thread Jeff Archer
>From: john darnell >Date: Mon, 29 Nov 2010 17:10:04 -0600 > >I just added it to a Visual Studio 8 project, turned off the use of >precompiled >headers (the project is a C++ project) and compiled the SQLite.c >file without >any errors.  Is it really that easy, or am

Re: [sqlite] Just compiled SQLite in Visual Studio

2010-12-01 Thread Chris Wolf
un...@sqlite.org] On Behalf Of Bob Keeland > Sent: Tuesday, November 30, 2010 5:02 PM > To: General Discussion of SQLite Database > Subject: Re: [sqlite] Just compiled SQLite in Visual Studio > > OK then I have a newbee question that is actually out of the scope of > SQLite. If the o

Re: [sqlite] Just compiled SQLite in Visual Studio

2010-11-30 Thread Igor Tandetnik
Dustin Sallings wrote: > On Nov 30, 2010, at 18:04, Igor Tandetnik wrote: > >> It is true, however, that it's fairly easy to transform any C program into a >> program that's both valid C and C++, by applying >> straightforward modifications - tightening type safety and such. >

Re: [sqlite] Just compiled SQLite in Visual Studio

2010-11-30 Thread Dustin Sallings
On Nov 30, 2010, at 18:04, Igor Tandetnik wrote: > It is true, however, that it's fairly easy to transform any C program into a > program that's both valid C and C++, by applying straightforward > modifications - tightening type safety and such. Except there are a lot of areas where C

Re: [sqlite] Just compiled SQLite in Visual Studio

2010-11-30 Thread Reid Thompson
On 11/30/2010 9:04 PM, Simon Slavin wrote: > Oh. No matter. It's the one Apple's Xcode calls and it's being very clever > about what language it's compiling. It defeated my test. > > Simon. a quick google query seems to imply that Xcode uses the Gnu Compiler Collection (gcc, g++, gcj,

Re: [sqlite] Just compiled SQLite in Visual Studio

2010-11-30 Thread Igor Tandetnik
Bob Keeland wrote: > Oh, from the various replies I see that C++ is a more capable extension of C. > Igor was only using a figure of speech, kind of. Everything I said in this thread so far, I meant quite literally. Which expression of mine do you take as a figure of

Re: [sqlite] Just compiled SQLite in Visual Studio

2010-11-30 Thread Simon Slavin
On 1 Dec 2010, at 1:46am, Reid Thompson wrote: > On 11/30/2010 8:42 PM, Simon Slavin wrote: >> On 1 Dec 2010, at 1:33am, Jay A. Kreibich wrote: >> >>> On Wed, Dec 01, 2010 at 01:10:51AM +, Simon Slavin scratched on the >>> wall: >>> So every C program is a C++ program, >>> Not true.

Re: [sqlite] Just compiled SQLite in Visual Studio

2010-11-30 Thread Igor Tandetnik
Simon Slavin wrote: > So every C program is a C++ program Not quite true. Here are a few examples that are valid C but invalid C++: /* implicit 'int' return type */ f(); /* implicit conversion from void* to any pointer type */ char* p = malloc(100); // calling a

Re: [sqlite] Just compiled SQLite in Visual Studio

2010-11-30 Thread Igor Tandetnik
Bob Keeland wrote: > OK then I have a newbee question that is actually out of the scope of SQLite. > If the only difference between C and C++ is the > file extension, then what is the difference between C and C++? Since the premise of the question is false, any conclusion

Re: [sqlite] Just compiled SQLite in Visual Studio

2010-11-30 Thread Reid Thompson
On 11/30/2010 8:42 PM, Simon Slavin wrote: > On 1 Dec 2010, at 1:33am, Jay A. Kreibich wrote: > >> On Wed, Dec 01, 2010 at 01:10:51AM +, Simon Slavin scratched on the wall: >> >>> So every C program is a C++ program, >> Not true. >> >> Try to compile sqlite3.c with a C++ compiler and see

Re: [sqlite] Just compiled SQLite in Visual Studio

2010-11-30 Thread Simon Slavin
On 1 Dec 2010, at 1:33am, Jay A. Kreibich wrote: > On Wed, Dec 01, 2010 at 01:10:51AM +, Simon Slavin scratched on the wall: > >> So every C program is a C++ program, > > Not true. > > Try to compile sqlite3.c with a C++ compiler and see how far you get. Can you explain the problem to

Re: [sqlite] Just compiled SQLite in Visual Studio

2010-11-30 Thread Reid Thompson
On 11/30/2010 10:18 PM, Doug wrote: > Objects exist in > C++, and they don't in C actually objects can and do exist in C, it's just a matter of writing them. C++ added the extensions to make writing/managing them easier.

Re: [sqlite] Just compiled SQLite in Visual Studio

2010-11-30 Thread Bob Keeland
<slav...@bigfraud.org> Subject: Re: [sqlite] Just compiled SQLite in Visual Studio To: "General Discussion of SQLite Database" <sqlite-users@sqlite.org> Date: Tuesday, November 30, 2010, 7:10 PM On 1 Dec 2010, at 1:01am, Bob Keeland wrote: > OK then I have a newbe

Re: [sqlite] Just compiled SQLite in Visual Studio

2010-11-30 Thread Jay A. Kreibich
On Wed, Dec 01, 2010 at 01:10:51AM +, Simon Slavin scratched on the wall: > So every C program is a C++ program, Not true. Try to compile sqlite3.c with a C++ compiler and see how far you get. -j -- Jay A. Kreibich < J A Y @ K R E I B I.C H > "Intelligence is like underwear:

Re: [sqlite] Just compiled SQLite in Visual Studio

2010-11-30 Thread Doug
...@sqlite.org] On Behalf Of Bob Keeland Sent: Tuesday, November 30, 2010 5:02 PM To: General Discussion of SQLite Database Subject: Re: [sqlite] Just compiled SQLite in Visual Studio OK then I have a newbee question that is actually out of the scope of SQLite. If the only difference between C and C

Re: [sqlite] Just compiled SQLite in Visual Studio

2010-11-30 Thread Simon Slavin
On 1 Dec 2010, at 1:01am, Bob Keeland wrote: > OK then I have a newbee question that is actually out of the scope of SQLite. > If the only difference between C and C++ is the file extension, No. > then what is the difference between C and C++? I'm thinking of adding a > language other than

Re: [sqlite] Just compiled SQLite in Visual Studio

2010-11-30 Thread Bob Keeland
the difference. I've been thinking about Java, but am not sure yet. Bob Keeland --- On Tue, 11/30/10, john darnell <john.darn...@walsworth.com> wrote: From: john darnell <john.darn...@walsworth.com> Subject: Re: [sqlite] Just compiled SQLite in Visual Studio To: "General Dis

Re: [sqlite] Just compiled SQLite in Visual Studio

2010-11-30 Thread john darnell
Thanks Igor. -Original Message- From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Igor Tandetnik Sent: Monday, November 29, 2010 7:11 PM To: sqlite-users@sqlite.org Subject: Re: [sqlite] Just compiled SQLite in Visual Studio john darnell

Re: [sqlite] Just compiled SQLite in Visual Studio

2010-11-29 Thread Igor Tandetnik
john darnell wrote: > I just added it to a Visual Studio 8 project, turned off the use of > precompiled headers (the project is a C++ project) and > compiled the SQLite.c file without any errors. There is no such thing as a C++ project. A project in Visual Studio can

Re: [sqlite] Just compiled SQLite in Visual Studio

2010-11-29 Thread Puneet Kishor
;> From: sqlite-users-boun...@sqlite.org >> [mailto:sqlite-users-boun...@sqlite.org] >> On Behalf Of Simon Slavin >> Sent: Monday, November 29, 2010 5:39 PM >> To: General Discussion of SQLite Database >> Subject: Re: [sqlite] Just compiled SQLite in Visual Studio >>

Re: [sqlite] Just compiled SQLite in Visual Studio

2010-11-29 Thread john darnell
On Behalf Of Simon Slavin > Sent: Monday, November 29, 2010 5:39 PM > To: General Discussion of SQLite Database > Subject: Re: [sqlite] Just compiled SQLite in Visual Studio > > > On 29 Nov 2010, at 11:10pm, john darnell wrote: > > > here's that first dumb-soundi

Re: [sqlite] Just compiled SQLite in Visual Studio

2010-11-29 Thread Simon Slavin
On 29 Nov 2010, at 11:10pm, john darnell wrote: > here's that first dumb-sounding question. > > I got my boss to purchase an O'Reilly book called Using SQLite, and the > author makes a rather ominous statement: "All of the SQLite source is > written in C...Make sure you use a vanilla C

[sqlite] Just compiled SQLite in Visual Studio

2010-11-29 Thread john darnell
Hello Folks: I just started a big project that needed an internal database manager and SQLite looks like it will fit the bill. I am old hat with SQL but have absolutely no experience with SQLite, so here's hoping that you folks are a real friendly bunch and will help me get up to speed.