Setup:
Apache 2 with mod_php
php 5.2.5 custom compiled with --enable-memcache='share d' and '--enable-session=shared' plus other common ones
pecl memcache 2.2.2
memcached server from djanga.
listed below is the warning echoed when starting the http server and also every time I run php:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20060613/memcache.so' - /usr/lib/php/20060613/memcache.so:...
User Profile
Collapse
-
using memcache for php session handling
-
compiling with g++ -o file file.c works just fine. strange!
thanks... -
C compile time error
I'm using gcc to compile the code listed below when I get the following error
error: expected '=', ',', ';', 'asm' or '__attribute__' before ' is_prime_number
Code:/* * What is the largest prime factor of the number 317584931803? */ #include <stdio.h> #include <stdlib.h> bool is_prime_number(unsigned long number){ if(number < 2){
-
Apologies for not doing enough research up front. Turns out that the HashValue is defined as an unsigned int.
Thanks once again for the help....Leave a comment:
-
thanks for the response. i'll just be more specific.
error: 'HashValue' does not name a type
when compiling the following code:
Code:#include<iostream> using namespace std; #include <typeinfo> class Object { protected: virtual int CompareTo (Object const&) const = 0; public: virtual ~Object (); virtual
Leave a comment:
-
Bruno Preiss Book base Object implementation problem
Hello all,
Data Structures and Algorithms with Object-Oriented Design Patterns in C++ - author Bruno Preiss
Does anyone know of/have a solutions manual to the book above ?
The particular problem I'm having is in Data Types and Abstraction chapter implementing the Object class.
Thanks in advance.
No activity results to display
Show More
Leave a comment: