Questions tagged [implementation]

Deals with various issues of implementation.

Deals with various issues of implementation of functions, features, languages, etc.

2196 questions
0
votes
1 answer

Error: could not find method implementation()

Heres our code: dependencies { implementation project(path: ':openCVLibrary3') implementation project(path: ':DogeCV') } apply from: '../build.common.gradle' It results in error: ERROR: Could not find method implementation() for arguments…
0
votes
1 answer

Errors declaring static const vector in .h file and errors in definitions in .cpp file

I am simply trying to add some static constant vectors to my date class. Compiler errors given below. Here is my Date.h file. #include #include class Date { private: int month; int day; int year; static…
William S
  • 167
  • 2
  • 10
0
votes
1 answer

C++ Class Specification, Implementation problem

I'm having problem getting some separate compilation done. It's simple, but I can't figure out this error. I'm getting these exceptions: > 36 C:\Cpp\P6\employee.cpp expected `)' before ',' token 36 > C:\Cpp\P6\employee.cpp expectedinit-declarator…
William
  • 1,517
  • 1
  • 12
  • 26
0
votes
0 answers

Implementation of an abstract class with a function that returns a shared pointer

I need the implementation of the following abstract class. So that it can successfully compile with another code that uses functions from the abstract class. I mostly need the part on the shared pointer. Here is the code #ifndef CRYPTO_HPP …
0
votes
1 answer

Parallel Algorithm implementation advice

For a graduate assignment I need to implement 4 parallel algorithms. I am complete beginner to parallel algorithms so I do not know what to study, which technology should I use(Threads, MPI, OpenMP, ...) etc. For clarity below is a Pascal-like…
0
votes
0 answers

Visual Studio 2015: C++ separate class declaration and implementation

The last version of C++ IDE I was using is VC98, so a lot of things have changed and I'm confused. I'm trying to create a class MyParser. I have its header file MyParser.h in Header Files in the solution explorer, and the source file MyParser.cpp in…
ChangeMyName
  • 7,018
  • 14
  • 56
  • 93
0
votes
1 answer

C++14 - error: invalid types 'int[int]' for array subscript v[x].push_back(y) in vector while implementing graph

I face this problem many times when i implement the Graph data-structure in c++14 via vector, I search a lot but it could not help me because it gives me search results about array though i want vector's solution. Please help me to solve this…
0
votes
1 answer

How to generate Crc-64 table having all negative integer Constants and checksum?

I have some example code for Crc-64 Table generator. I tried to check the unsigned integer's sign and discovered that it generates mixed table Constants both negative & positive integers. Same for the Crc-64 Checksum, it may be negative or positive.…
Jain
  • 1
  • 2
0
votes
1 answer

Creating a member function /method/, which makes array of primitive data types - int, double, String simultaneously

I have a homework task where I am required to write only 1 method (a member of class MainClass) which creates simultaneously more than one type of array -with only using this method. I tried to create a method that returns the corresponing type but…
user10602498
0
votes
2 answers

How to implement implementations in android without error?

I want to add AdView to my activity and I click on download and then it automatically implements the necessary library. But then I get the following error: Error 1 I get the same error when I try to add GridLayout to my library. Here is my gradle…
0
votes
2 answers

Java: Implementation of interfaces and functions that returns interfaces

I'm having a problem with implement interface that have a function which returns a value of a class that implement itself an interface. I have an assignment which said I need to implement those specific interfaces in this way. These are my…
Ofir Sasson
  • 673
  • 4
  • 16
  • 39
0
votes
1 answer

Writing methods in interface with specific or variadic arguments?

I'm writing an integration with a 3rd party API Gateway, and in an effort to make it as decoupled as possible (and to be able to change the provider in the future), I created 3 interfaces that will contain methods for reading, writing and deleting…
dingo_d
  • 11,160
  • 11
  • 73
  • 132
0
votes
0 answers

Is the value returned by the Collections.empty() methods always constant?

This returns true in my trite little example: List a = Collections.emptyList(); System.out.println(a == Collections.emptyList()); Is there an instance where a previous call to Collections.emptyList() might not equal Collections.emptyList()…
Zhro
  • 2,546
  • 2
  • 29
  • 39
0
votes
2 answers

what are the steps required to run a blackberry application created for the blackberry device?

I created a BlackBerry application using java-me and the BlackBerry specific API. It works fine on the BlackBerry simulator. I want to know how I can deploy this application to a BlackBerry device. From the documentation I found that some code…
TKV
  • 2,533
  • 11
  • 43
  • 56
0
votes
1 answer

Question on how SFINAE is achieved using this code segment

With reference to SFINAE the question relates to the following code segment: template class is_class { typedef char yes[1]; typedef char no [2]; template static yes& test(int C::*); // selected if C is a class…
Vinod
  • 925
  • 8
  • 9