Re: Advanced Topic - Doing it differently.
Chad Simmons <[email protected]>
| Newsgroups | gmane.games.devel.mud.rom |
|---|---|
| Message-ID | <[email protected]> |
--- Christopher Bunting <[email protected]> wrote: > One last reply to this thread.. Since part of this thread had to do > with Databases, and then where I mention why I use the d programming > language, I'll show the code that is needed to connect Rom to the > SQLite database using both the C API and my D API. This is why I moved > from C to D Sorry, but I fail to see any appreciable difference between the two examples of code. The only difference I noticed was #include vs import. Other than that they both seemed identical except where they were functionally different. e.g. The C example prints a usage error, as well as executes a query whereas the D example only opens then closes the database. -----BEGIN GEEK CODE BLOCK----- Version 3.1 GCS/L/C/O d-(+) s++: a-- C+++$>++++ UBLS++++$ P+++(--)$ L+++>++++ E--- W+>++$ N !o K? w(--) !O M- !V PS+ PE(++) Y+ PGP->+ t+ 5 X+() R(+) tv+@ b++(+++) !DI+++ D G(-) e>+++$ h---() r+++ y+++ ------END GEEK CODE BLOCK------ __________________________________ Do you Yahoo!? Yahoo! Personals - Better first dates. More second dates. http://personals.yahoo.com -- ROM mailing list [email protected] Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom