Questions tagged [definition]

A generic tag for topics providing definitions.

A generic tag for topics providing definitions.

1574 questions
0
votes
0 answers

Force definition of template class member function?

I have a template class as follows: template class kernel: public std::array { : public: kernel(void) : std::array{} { blah... } template kernel(const E &&... e): …
zll
  • 91
  • 1
  • 10
0
votes
0 answers

C++:: How to only define once, a common function of different classes inheriting the same interface?

Code: class Base { public: virtual ~Base() { } virtual int GetSize() = 0; } class A : Base { int i; public: int GetSize(); } class B : Base { char c; public: int GetSize(); } class C : Base { public: int…
Hello World
  • 423
  • 5
  • 15
0
votes
1 answer

Number of elements in type definition string doesn't match number of bind variables

I keep getting this error in my php file .. Warning: mysqli_stmt_bind_param() [function.mysqli-stmt-bind-param]: Number of elements in type definition string doesn't match number of bind variables in ... on line 17 Heres is my code - I am trying to…
Evan Arends
  • 69
  • 1
  • 4
0
votes
1 answer

Definition of a framework

What is the exact definition of a framework ? What does it mean when people say that .NET is a framework . Is it something like a programming language ? What are the things that the concept of framework envelopes as compared to the ambit of the term…
0
votes
0 answers

Is C++ function belonging to "callable type"

The C++11 standard says: 20.8.1 Definitions [func.def] 1 The following definitions apply to this Clause: 2 A call signature is the name of a return type followed by a parenthesized comma-separated list of zero or more argument types. 3 A callable…
Troskyvs
  • 7,537
  • 7
  • 47
  • 115
0
votes
1 answer

How to find info or definition of something like s.pipe

Code: tls.createServer(options, function (s) { s.write(msg+"\n"); s.pipe(s); }).listen(8000); Problem: 1 I can NOT find something like class/type of param s. As typeeof only return Object. 2 However, for method belong to this s, like…
0
votes
0 answers

What does 'module' refer to in Java?

I'm taking a data structures class right now, and we have a programming assignment. One of the guidelines is to keep code 'modular,' about a page per module. We never used this term in my programming class, and I can't really tell if 'module' in…
0
votes
2 answers

Syntax error at second definition in Python

def specificChecker(someThing, checker): if checker == None: return someThing elif checker == True: return not someThing else: return None def whatDoesTheCheckerSay(someThing): if specificChecker(someThing)…
user6428287
0
votes
0 answers

VB.Net Type is not Defined

I have inherited a VB.Net Web Application and I am having a weird issue compiling the code. I have recently patched the environment to VS 2012 SP 1 Update 4 and I am still having a problem. Within a class file I have the following snippet: Imports…
kevin
  • 65
  • 10
0
votes
1 answer

How to dynamic name definition tool for android?

I want to define a dynamic TextBox for Android but I do not want to use foreach, I just want to do as shown in the pictures using for.
Ali
  • 1
  • 1
0
votes
2 answers

error c++ struct , expected unqualified-id

Guys this code gives me error that is "expected unqualified-id before this". I'm doing binary search tree graphics implementation.` struct node { int data , x , y; node *left; this->left->x =…
0
votes
3 answers

How to have a header file without a cpp one?

My header file contains, among other things: #define PAUSE system("pause"); typedef unsigned char uint8; static const double PI = 3.14159265358979323846; static const double oneDegInRads = PI / 180; I've been including this header file into many…
Zebrafish
  • 11,682
  • 3
  • 43
  • 119
0
votes
0 answers

Eclipse reference and declaration context menu options missing when in a JSP file

I'm using Mars.2 Release (4.5.2) and the ctrl-g and ctrl-shift-g short cuts do not work when editing a JSP file. References from JSP files to functions are not shown when checking from java files and vs vs for declarations. It all works fine…
glez
  • 1,170
  • 3
  • 16
  • 42
0
votes
1 answer

Difference between a driver and a library?

Looking at the MongoDB project, it seems to have many drivers. It has a C Driver, Java Driver, Ruby Driver, etc... How are these different from client libraries? It seems that each of those provide an interface to use the product (in this case…
user2490003
  • 10,706
  • 17
  • 79
  • 155
0
votes
0 answers

C++: separation of class definitions and implementation, but keep getting compiling errors

I'm trying to separate class definitions and implementations into different files. But I keep getting the following compiling error message: undefined symbols for architecture x86_64: "PointArray::print()", referenced from: _main in…
QQQ
  • 29
  • 1