Questions tagged [implementation]

Deals with various issues of implementation.

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

2196 questions
0
votes
0 answers

TypeError on Hash implementation

I am in the process of implementing Wikipedia's pseudocode for the MD5 hashing algorithm. It includes several operations called "leftrotate," which I took to mean "shift left." However, when I implement the code, everything appears to work up until…
Bouja
  • 1
0
votes
0 answers

Need help implementing istream& operator >> method

I have looked over many questions available on SO, but I could not find something that actually answered my question. I was wondering how to implement the istream& operator >> method to create an array of Books. I just need help with the istream…
David Park
  • 21
  • 4
0
votes
1 answer

Difference between loading jQuery-lib in and before

my question is NOT about the difference between putting actual javascript/jQuery-code in or -section. I want to load the jQuery-lib like this: and…
Philli
  • 23
  • 4
0
votes
1 answer

How to create a Graphql implementation in a specific programming language?

Graphql specification has been implemented in many programming languages, but there is not implementation for my programming language of interest. I wonder how were those implementations created? Any reference materials or tutorials, beside the…
0
votes
1 answer

History -- Control screen scrolling through text in place (up arrow -> cycle though commands in place/same location)

When you scroll through the history the text changes at the prompt. I've looked at the structures involved but haven't looked deep enough in the source code to find out how it changes the text on the screen without changing all the text above it…
aitee
  • 91
  • 1
  • 1
  • 9
0
votes
0 answers

Linked list implementation of array using c# console

Hi i was wondering if anyone could help me. im stuck in a dead end here. I dont know how to make a peek and working pop function. i need assistance. here is my code so far: using System; using System.Collections.Generic; using System.Linq; using…
0
votes
1 answer

Dynamic class vs hardcoded fields Java

I have a program that recruits witness accounts of a crime scene from various subjects. Every kind of subject has its own Report class. For example: public class EyeWitnessReport extends AbstractReport { private String details; …
chimera_girl
  • 155
  • 13
0
votes
0 answers

What is the correct "Go way" for having a type that has required members and interface?

An issue I came across designing a Window that is platform independent for a graphics software. I require each window implements a Launch() function, and has a size. My current solution is a struct called BaseWindow that has Size embedded and an…
gjh33
  • 19
  • 3
0
votes
1 answer

Implementing custom annotation

I want to create a custom annotation (method scoped) that will insert in database. This annotation will be attached to every method in my rest controller so that when an api call is made, the annotation saves the action made in a track-user table in…
Amine Ben
  • 1
  • 4
0
votes
1 answer

Modification of the code to improve the simulation

How to implement the code implementation assuming that the points is 10,000 and the 100,000 reps. So that the simulation performed correctly? using Statistics, Random, DataFrames, DataFramesMeta, CSV, PyPlot macro assertprob(x) msg =…
0
votes
1 answer

reuses "rechnung()" even though it shouldn't

#include #include "funktionen.h" using namespace std; int rechnung() { cout << "Please choose the operator you want to calculate with" << endl; int eingabe1; int eingabe2; int eingabe; int dummy; char zeichen; …
Felix
  • 56
  • 1
  • 5
0
votes
1 answer

recursive namespace member function definition

/******header file*****/ namespace graph{ void dfs(...); }; /******cpp file******/ #include "graph.h" using namespace graph; void dfs(...){ //some code here //dfs(...); <-- wrong //graph::dfs(...); <-- it was fine,until i…
Grey
  • 133
  • 4
0
votes
1 answer

implementation 'com.android.support:appcompat-v7:28.0.0' showing an error

I have this problem in build.gradle this line is all in red implementation 'com.android.support:appcompat-v7:28.0.0' Please what does that mean and how can i fix it ?
skan
  • 63
  • 1
  • 4
0
votes
1 answer

Why is my Sliding Window algorithm not providing correct answers?

The problem is from a recent competition on Codechef. According to the problem, for a given array of length N, find the maximum average of the numbers of any contiguous sub-array of length between A and B. Now here is the logic that I have used. I…
Arjo
  • 103
  • 4
0
votes
1 answer

How to avoid an 'Interface Abstract class error'?

Here is my main class for this and I keep getting an error saying that The abstract class has not been overridden I have tried making the car class abstract and not overridding, I have tried to override and using an abstract class, without…
1 2 3
99
100