a query question1031 (1/30/2012 6:53:50 AM) comp.databases.ms-access Hello I have a table with some 20 columns one of which can have the text "yes" in it or is left blank. I would like to have a query which only shows those columns with "yes" in them. At the moment I see all... geoff
a strange error message?2664 (12/30/2011 8:38:31 AM) comp.databases.mysql Hello I asked this question a few days ago but am not getting any further suggestions so am trying again! I have just exported a table as .sql from one server and imported it into mysql on another server. Th... Geoff
what does this error message mean?267 (12/25/2011 8:12:55 AM) comp.databases.mysql Hello I have just exported a table as .sql from one server and imported it into mysql on another server. The table seems to have loaded OK but I see the following -------------------- Error SQL query: /*!40... Geoff
odd display of mysql table contents?2342 (5/31/2011 4:55:42 PM) comp.databases.mysql Hello I have come across an new oddity, to me - perhaps someone can see why? I am displaying the contents from 2 different tables in a browser using php files which are identical except for the names of the ... geoff
a more elegant way?431 (5/30/2011 2:52:17 PM) comp.lang.php Hello No doubt there is a better way of expressing this?! Pointers please ... if ($value > 0 && $value 10 && $value 20 && $value 30 && $value 40 && $value 50 && $value 60 && $value 70 && $value 80 &&... geoff
further table design questions3445 (5/29/2011 7:31:52 AM) comp.databases.mysql Hello I had some very helpful comments in my earlier post but am still struggling to get a better table design. I have made a small step (?) by using an auto increment id in the p2_users table and by using my... geoff
how JavaScript treats zeros?5719 (5/27/2011 6:29:18 PM) comp.lang.javascript Hello 'just a little confused re how JavaScript treats 0 and 00, i.e. 1 zero and 2 zeros. Using var nums = new Array(); nums[0] = 2; nums[1] = 1; nums[2] = 0; nums[3] = 00; var newcount = 0; for (count=0;cou... geoff
mysql table order and php sort() ?335 (5/23/2011 7:19:07 AM) comp.databases.mysql Hello Using the code, echo "Order: $key, Number: $value "; I see $value as 11 to 20 followed by 51 to 60 but when the data goes into the mysql table I see 59 down to 51 followed by 20 down to 11 followed by ... geoff
silly mistake in the mysql part?627 (5/22/2011 11:32:17 PM) comp.databases.mysql Hello I have this php for adding data to mysql table, for ($num = $first_num; $num "; echo "(" . "'" . $_SERVER['REMOTE_USER'] . "','" . mysql_real_escape_string($_POST['usercode']) . "','" . mysql_real_escap... geoff
too many columns/rows?2646 (5/21/2011 8:43:46 PM) comp.databases.mysql Hello I know that I could organise the data better but does phpmyadmin or mysql have a problem with a table which has 600 columns and 100 rows? Each column holds approx. 10 chrs. Cheers Geoff ... geoff
Why is my code showing this error?2318 (3/5/2013 5:03:06 AM) comp.lang.c++ My compiler is showing this error:
Run-Time Check Failure #3 - The variable 'math' is being used without being initialized.
Here is my code:
// CMD Application
// Created by Eli. M
#include
using... techgeek201(57)
OO vs functional programming: what's a suitable newsgroup?7118 (3/14/2013 11:19:25 AM) comp.lang.c++ I came across this in a job advert: "Experience of both functional and
Object Oriented design and engineering is essential as the product is
evolving from following a functional to an OO design discipline".... no.way3(203)
c pointers notation basic question4216 (3/16/2013 2:24:12 PM) comp.lang.c Hi
Can someone help me out remember basic pointer notation?
p points to a type int data
int *pi;
char *pc;
pc points to a type char data
Is there any difference with this notation?
char* pc;
... bpascal1232945(16)
according to MS, stricmp is deprecated2010 (4/25/2013 8:32:53 PM) comp.lang.c++ According to Microsoft Visual C++ 2005, stricmp
is deprecated and they want us to use _stricmp.
Does anyone know why?
Does anyone recommend a good replacement?
Thanks,
Lynn McGuire
... lmc(186)
When did the bool type make it into the language?2510 (4/29/2013 9:31:54 PM) comp.lang.c++ Trivial argument at work. My cooworker claims that Windows invented the
BOOL type before C++ had a bool type. We're bored.
When did bool make it's way into C or into C++ if not from the beginning?
... someone3(1540)
struct padding is slower than struct packing195 (5/2/2013 11:17:02 PM) comp.lang.c Hi all,
As far as I understand, struct padding is implemented in order to speed up =
the execution of a program. I did this small example below in order to veri=
fy this issue. However, surprisingly, my pr... diegotorquemada1(83)
C++14 draft?73 (5/11/2013 6:13:56 PM) comp.lang.c++ Does anyone know if there are any draft versions of C++14 floating around?
Thanks in advance,
Rui Maciel
... rui.maciel(1746)
enums and signed/unsigned43 (5/12/2013 2:50:47 PM) comp.lang.c++ The following code generates a warning about an singned/unsigned integer
comparison. I don't understand why.
typedef enum
{ TATTR_NONE = 0x00U
, TATTR_SONG = 0x01U
, TATTR_PLAYLIST = 0x02U
, ... news.5.maazl(164)
How to pass user input from gtk to a function ?41 (5/20/2013 10:55:00 PM) comp.lang.c++ i want to pass a user input from gtk input box to a function ... i made code below but i had segmentation errors ...so after looking it up i discovred that the line -> "g_signal_connect(but,"clicked",G_CALLBACK... karimbomber(2)