FOSS tool kit for database programming621 (10/7/2008 9:05:32 PM) comp.programming Hi. Having inherited an old VB6 database application, whose code looks and feels like some sort of anti-pattern paradise, I am seriously considering a full rewrite. My last experience in writing a commercial ... ISO
Even-Odd sorting2117 (5/23/2008 7:41:36 PM) comp.lang.c++ Hello. It seems a year is all it takes for one's proficiency in C++ to become too rusty. Professionally, I've been away from the language (and from programming in general), but I still preserve an appreciati... ISO
Typedef'ing a subtype of a template718 (11/22/2007 1:37:49 AM) comp.lang.c++ Hello. It's been about a year since I last did some C++ programming. I am now paying the price as I try to catch up with it. The following is the initial snippet of a simple program I am working on. I don't... ISO
A smart pointer and type forwarding3337 (11/7/2006 7:47:33 PM) comp.lang.c++ Hello. I have written a simple reference-counting smart pointer class template called RefCountPtr. It works in conjunction with another class, ReferenceCountable, which is responsible for the actual counting... ISO
Is it worth it to return a resource by reference?327 (9/27/2006 3:37:00 AM) comp.lang.php Hi. I would like to know whether returning and passing around a resource (e.g. like those returned by mysql_query) by reference is worth it or nothing more than overkill. The reason I ask is because I don't ... ISO
Storing database resource links322 (9/5/2006 3:05:19 AM) comp.lang.php Hello. Could anyone explain to me why the following code fails? // =====Begin sample code===== global $blog; define("dbHost", "localhost"); define("dbUser", "ney"); define("dbPassword", "xxx"); define("dbDa... ISO
Accents in code listings215 (7/29/2006 11:41:14 PM) comp.text.tex Hello. I am new to the /listings/ package and to TeX in general. I have been having trouble adding code listings to a document, when the code contains comments or other strings with accented letters. Here is... ISO
Standard math functions as operations in std::transform calls421 (7/27/2006 5:10:22 PM) comp.lang.c++ Hello. The following program: #include #include #include #include #include int main() { using namespace std; float elem[] = { 4, 7, 2, 8, 12 }; list val(elem, elem + sizeof elem / sizeof elem[... ISO
Concurrency newbie423 (3/30/2006 2:05:46 PM) comp.lang.java.programmer Hello. I am working on an assignment for the Parallel Programming course I've been taking. Among other things, it involves a server which should accept only 4 client connections. After the fourth connection ... ISO
Error message mounting local file system upon boot (Debian)831 (2/23/2006 5:07:49 PM) comp.os.linux.misc Hello. I have recently installed the testing distribution of Debian and have had very few problems with it, in spite of the fact that my experience with Linux is rather limited. One little issue that has call... ISO
FOSS tool kit for database programming621 (10/7/2008 9:05:32 PM) comp.programming Hi. Having inherited an old VB6 database application, whose code looks and feels like some sort of anti-pattern paradise, I am seriously considering a full rewrite. My last experience in writing a commercial ... zunino2(84)
Even-Odd sorting2117 (5/23/2008 7:41:36 PM) comp.lang.c++ Hello. It seems a year is all it takes for one's proficiency in C++ to become too rusty. Professionally, I've been away from the language (and from programming in general), but I still preserve an appreciati... zunino2(84)
Typedef'ing a subtype of a template718 (11/22/2007 1:37:49 AM) comp.lang.c++ Hello. It's been about a year since I last did some C++ programming. I am now paying the price as I try to catch up with it. The following is the initial snippet of a simple program I am working on. I don't... zunino2(84)
emptying a priority_queue efficiently1817 (2/6/2007 6:32:16 PM) comp.lang.c++ I would like to use a data structure (e.g. from the STL) that always allows me to retrieve the largest element. (I want to push in elements, and remove the largest, push in further elements, etc.) It seems a pr... jm_jm_remove_this
A smart pointer and type forwarding3337 (11/7/2006 7:47:33 PM) comp.lang.c++ Hello. I have written a simple reference-counting smart pointer class template called RefCountPtr. It works in conjunction with another class, ReferenceCountable, which is responsible for the actual counting... zunino2(84)
vector<string> gives error1226 (10/10/2006 6:45:33 AM) comp.lang.c++ in C++ Primer 4/3 Lippman says in chapter 3, section 3.3.1: vector svec(10); // 10 elements, each an empty string here is the the code output & output from my Debian box running "gcc 3.3.5": #include #inclu... arnuld3(358)
Is it worth it to return a resource by reference?327 (9/27/2006 3:37:00 AM) comp.lang.php Hi. I would like to know whether returning and passing around a resource (e.g. like those returned by mysql_query) by reference is worth it or nothing more than overkill. The reason I ask is because I don't ... zunino2(84)
Pointers and functions #2821 (9/14/2006 3:07:45 AM) comp.lang.c++ Hi All, The following code make sense to me: void x() { int *a = NULL; int b; b = 4; a = &b; printf("a: %d",*a); // prints "a: 4" } Can someone please explain why this blows up? void x()... doughaber(4)
Storing database resource links322 (9/5/2006 3:05:19 AM) comp.lang.php Hello. Could anyone explain to me why the following code fails? // =====Begin sample code===== global $blog; define("dbHost", "localhost"); define("dbUser", "ney"); define("dbPassword", "xxx"); define("dbDa... zunino2(84)