Top "Implementation" questions

Deals with various issues of implementation.

Can a child class implement the same interface as its parent?

I've never encountered this issue before today and was wondering what convention/best practice for accomplish this kind of behavior …

c# oop interface implementation
Prolog implement and/2, or/2, nand/2, nor/2, xor/2

I want to implement the following predicates in prolog and use them for truth-tables: and/2, or/2, nand/2, nor/2, xor/2 Maybe …

prolog implementation xor clpb nor
Location Listener in Background Service Android

Which is the better approach, directly implementing LocationListener like this public class BackgroundService extends Service implements LocationListener {} or normally declared …

java android implementation locationlistener
How to implement temporal data in MySQL

I currently have a non-temporal MySQL DB and need to change it to a temporal MySQL DB. In other words, …

mysql database implementation temporal-database
ObjectiveC: where to declare private instance properties?

I have the following class interface: @interface MyClass : NSObject @property int publicProperty; @end then the implementation: @interface MyClass() // class extension …

objective-c implementation private class-extensions
C++ toUpper Implementation

I made an implementation of toUpper(). It doesn't work 100%. Code : char* toUpper(char* string) { char* sv = string; while(*sv++ != '\0…

c++ implementation toupper
Making class conform to protocol with category for existing methods

I have a protocol named MyProtocol. MyProtocol has an required method: - (NSUInteger)length; And some other methods. Now i …

objective-c protocols implementation categories
Implementation of AKS primality test in Scheme or C++

I was reading about the prime test algorithm and found the AKS primality test. Could this algorithm be implemented in …

c++ scheme implementation primality-test
Adding Cocos2D only to already existing project?

I already have a project that is 90% done and I want to add Cocos2D ONLY to it. I do …

ios cocos2d-iphone implementation