Questions tagged [definition]

A generic tag for topics providing definitions.

A generic tag for topics providing definitions.

1574 questions
0
votes
2 answers

Windows Forms - no C# source code?

I'm new to Windows Forms. I'm not fully understanding why can't I see methods definitions? Am I only allowed to look at declarations? For example, there is public class ListBox : ListControl I want to see how its method is working(source code, not…
Aremyst
  • 1,480
  • 2
  • 19
  • 33
0
votes
1 answer

CS0117: 'System.Data.OleDb.OleDbType' does not contain a definition for 'Image'

Help! I'm doing a page that will upload and display the image in gridview. When i load the page. This error showed up: CS0117: 'System.Data.OleDb.OleDbType' does not contain a definition for 'Image' Compiler Error Message: CS0117:…
Peterson Pilares
  • 283
  • 3
  • 7
  • 21
0
votes
1 answer

Does TCP actually define 'TCP server' and 'TCP clients'?

In the Wikipedia article, TCP communication is explained using the terms 'client' and 'server'. It also uses the word 'peers'. But to my knowledge, the TCP standard does not define "TCP clients" and "TCP servers". In the RFC 675 document (the…
mjn
  • 36,362
  • 28
  • 176
  • 378
0
votes
1 answer

Use struct inside a struct in any order (C)

I have a very simple question: I want to use structs inside another structs but I want to be able to define them in any order I want. Something like this: // User type definition typedef struct type1{ int i; type2 t; }; // User type…
Tommaso DS
  • 211
  • 2
  • 14
0
votes
2 answers

Best way of declaring global variables?

I have an OpenGL application which requires the use of a vector in more than one OpenGL function. As far as I know the best way of dealing with this is to declare the vector in a header file, and include the header file in all the files containing…
FreelanceConsultant
  • 13,167
  • 27
  • 115
  • 225
0
votes
1 answer

What is an owner drawn listbox?

Please excuse my ignorance, but I have come across this term "owner drawn" listbox. Can someone experienced with this explain what exactly that is?
7wp
  • 12,505
  • 20
  • 77
  • 103
0
votes
3 answers

Multiple Definition of textFileRead(char*)

I'm using this header file to read textfiles ( I use it to load shader files) and I use it in two different classes. I'm getting the error Multiple Definition of textFileRead(char*). Here is the header file: #ifndef READFILE_H #define…
0
votes
5 answers

Python definition function parameter passing

For most of you this is probably common sense but I am finding it very, very hard to get a handle on this. If you create a function such as def one(): x=1 y=2 z=3 h=33 j=454 l=353 m=898 then lets say I have another…
SeesSound
  • 503
  • 4
  • 13
  • 24
0
votes
1 answer

How can "object" and "class" be defined without a cycle?

I know hat classes and objects are. But I can't figure out a good definition, that is simple (for programming beginners) and doesn't have a cycle. Here is a definition that is simple, but has a ciclye: Class: A class is a blueprint for…
Martin Thoma
  • 124,992
  • 159
  • 614
  • 958
0
votes
1 answer

How do you avoid name mangling of C++ procedures?

__declspec(dllexport) public void CallMe(wchar_t *p); The compiled dll renames the "CallMe" procedure to "?CallMe@@ZAPPA_G@Z". How do I prevent this behavior?
Drone 605
0
votes
1 answer

Java "missing initial moveto in path definition" after adding alpha to color

I'm getting a really strange behavior/issue in Java. What I'm doing boils down to drawing simple shapes onto a canvas. Everything was going just fine until I decided to add another thread that can access my canvas. So there are two threads, each…
Cody Smith
  • 2,732
  • 3
  • 31
  • 43
0
votes
1 answer

XSD definition for simpleContent type string with attributes

I would like to define the XSD for: some string This is what I tried:
SDwarfs
  • 3,189
  • 5
  • 31
  • 53
0
votes
4 answers

C++ Multiple Definitions

I'm trying to build these files but it's giving me a multiple definition error. main.cpp: #include "SDL/SDL.h" #include "Core.h" #include "GameStates.h" #include "globals.h" int main(int argc, char** args) { if(core.Initilization(640, 480, 32,…
user1602079
  • 91
  • 1
  • 2
  • 5
0
votes
0 answers

Declaring Javascript function wihout definition(body)

I am new to javascript and I want to know that is there a way to declare a function without defining it. As we do in C: int sum(int, int); and then we can write it's definition later. As in: int sum(int A, intB){ return A+B; } Do we have a way…
sabertooth1990
  • 1,048
  • 1
  • 13
  • 19
0
votes
1 answer

Using high-definition progress circle in tablet

I'm developing android app. In my GALAXY Tab 10.1 shows low-definition progress circle. However, my cell phone GALAXY Nexus shows high-definition progress circle. At first, GALAXY Nexus also shows low-definition progress circle. So, I tried to…