Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Woohoo! (mySQL)
#11
I've done functions.
And C doesn't have classes. Big Grin
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Reply
#12
Awww, don't it? Dang...

nVm
Reply
#13
C++ does.
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Reply
#14
Quote:Just a quickie: can you select a database by:

mysql_query("SELECT $database")

?

You can use mysql_query, but not with 'SELECT' I think

That's the way....(aha aha...I like it :lol: ):
Code:
$query = "USE $database";
mysql_query($query);
B 4 EVER
Reply
#15
Yeah I believe if you tried to do mysql_query("SELECT $database"); then MySQL would probably interpret that as a SELECT statement that gets rows from a table and not selecting a database. Why would you want to do it that way anyhow?
Reply
#16
Heh oracle, like the //, classes came about with C++, as well as all kinds of other fun stuff Wink The old ANSI C is pretty barren, to be honest with ya...C and C++ both change with each "version". I find it somewhat disturbing that people still call C "portable" when it's not and never really was. It's possible to write portable C, but it's also possible to write portable BASIC, PASCAL, or FORTRAN. One author summed it up best: "It's not C that is portable, it's the C programmer that's portable, being able to code C on virtually any platform."

Yeah yeah I know I went off-topic, but eh...oh well Big Grin
I'd knock on wood, but my desk is particle board.
Reply
#17
Quote:That's the way....(aha aha...I like it :lol: )

lol i love that song :lol:
igitalblackie.com - Done! Smile Ask about our hosting Wink

-Goddess of the of the No More Religion Threads movement Smile
Reply
#18
But you should concur with the fact that is easier to write portable C than portable <insert procedural language here>.

[y'know, having ports of GCC in almost every system, if you code in the GCC dialect you know your progs can be compiled... *everywere* Wink]
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#19
I do agree that it IS in fact easy to write portable C code, easier than many other languages. But the fact that it takes an actual effort to write it like that is often overlooked. That's the part that bugs me. I've got little knowledge of GCC so I can't really comment on it, but I do know that writing an app for Linux in GCC and taking that same app and compiling it in GCC for the GBA, well...might not have the desired results Wink which is another aspect of "portability" that is always overlooked. I can compile ANSI C code in HuC all day long that's been written ANSI-compliant but for Linux and it won't do what I want on the PCE hardware.
I'd knock on wood, but my desk is particle board.
Reply
#20
Yeah, I understand your point completely. What happens with console compilers is that most of times they are still on development and thus they are far from complete. I've had nasty problems with ZCC (GCC for Z80 compiler) but well, it's free Tongue I can't complain (that's what sucks about free stuff Big Grin).
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)