» Home » implemented » Page 1
Is there any way to make a static method mandatory to be implemented in the implemented/derived class?
by John Tate in Programming Languages

Since, an interface doesn't encompass a static method, is there any way to make a static method mandatory to be implemented in the implemented/derived class?


If not, is there any other way to achieve this objective?


I am actually making all my database classes look like this:


class MyClass : IMyClass, IPersistant
{
public int ID {get;set}
..

Is ApplicationCache for FF/IE 10 fully implemented (or implemented correctly)?
by Bobblegate in Development Tools & Services

Issue:


Unable to get Fallback resources to get served from applicationCache (Offline cache) when the browser is set to “Work Offline”.


Environment details:


Windows 7 64-bit SP 1
IE 10 ver. 10.0.9200.16438
Firefox ver. 18.0.1
IIS ver 7.5.7600.16385
.manifest MIME Type is text/cache-manifest

Manifest details:


FALLBACK:


Is IoC typically implemented as a singleton? How is IoC implemented?
by Keeper in Programming Languages

I plan on digging into one of the open source IoC containers to really figure this out 100%, but I figured I would ask the general community also (after not being able to find a direct answer in any of the closely related questions).


As far as I understand the typical IoC implementation, it seems that it is a global class that acts as a singleton with a knowledge of all dependencie


Rspec says implemented method is not implemented
by Poland in Programming Languages

Below is an rspec test I'm running to test another class I've made. Unfortunately the method I'm trying to test (delete) does not seem to be working. What's throwing me is that the error message I'm getting from the Termianl is:


/Users/user/Ruby/localWikiClient/localwiki_client/spec/delete_spec:11:in 'block (2 levels) in <top (required)>': undefined method


How is ACL implemented
by tanknique in Programming Languages

i am using Zend_Acl, PHP and is wondering how shld ACLs be implemented.


shld every page be a resource and i always query the acl to see if a user is authorized? i guess i must use this if i want to use a controller plugin (can be setup to run on every request) to check if a user is allowed?


or do i just put the query code where i need it? eg. at the top of

TAGS : implemented

Is c# ref int foo implemented as C++ int **foo?
by stlcardinals in C & C++ & C#

I was talking with a coworker about this yesterday and it got me thinking about .Net's pass by reference.


// C#
class Foo {}
static void Test(ref Foo foo) { ... };
static void Main()
{
Foo f;
Test(ref foo);
}

Has to be implemented with a double indirection because we're changing the value of the pointer. Because all

TAGS : implemented

A* implemented in C
by SpunkyJones in Development Tools & Services

Where can I find an A* implementation in C?


I was looking around but it seems my google-fu is not strong enough. I've started writing my own implementation, but then I remembered Stack Overflow and I thought I should ask here first. It seems a bit complicated to write a real A* implementation - I was tempted to just write an implementation of Dijkstra's algorithm for a binary grid,

TAGS : implemented

how is the sarcmark implemented?
by mrmt in Development Tools & Services

These people are selling a proprietary exclamation mark for sarcasm, and without going through the Unicode standardisation process, are proposing that it's possible to download this mark (in what format it's not completely clear), and use it in your written communications (to what extent it's not clear). My question is what exactly is being downloaded and how exactly are they transmitting it ac


Can set-car! and set-cdr! be implemented as macros?
by dantino in Programming Languages

Is it possible to implement set-car! and set-cdr! portably as macros using set! in Scheme? Or would this require special access to the underlying storage system?


I'm asking because I'm implementing my own Scheme interpreter, and I'd like to have as much as possible out in scheme code.


My first attempt on set-cdr! was


How is vector implemented in C++
by Miklebud in C & C++ & C#

I am thinking of how I can implement std::vector from the ground up.


How does it resize the vector?


realloc only seems to work for plain old stucts, or am I wrong?


Next
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2014 © bighow.org All Rights Reserved .