c# System.ArgumentOutOfRangeException
C# |
https://codedump.io/share/J45QVJZcnPP3
|
I'm making program that sends email with some data. System.ArgumentOutOfRangeException exception means that number in the array/list doesn't exist, bu...
3 years ago
C# Inheritance
C# |
https://codedump.io/share/4X8YZNCZneJq
|
I had a coworker see this the other day and I'm not quite sure why this happened. Can anyone explain it?
We have class A:
using System;
using System...
3 years ago
System.InvalidCastException C#
C# |
https://codedump.io/share/mTAmJtGadTdp
|
I designed a Form that has Panels and Labels .
I made the cursor property of the panels is Hand .
But when I click on the panel I get this Exception :...
4 years ago
C++ source_annotation_attribute
C++ |
https://codedump.io/share/QWN3HBhth9zb
|
When browsing the source of the open source .NET Framework 4.7 I stumbled across the C++ header sal.h and found a line of code saying [source_annotati...
3 years ago
Pointers in C and C++
C |
https://codedump.io/share/GQU8bVTgUrE5
|
I am exploring a concept of Pointers in C and C++. I have already read so many articles about it but still I have got some doubts. Looking forward tha...
3 years ago
C function conversion to c++
C |
https://codedump.io/share/JisZoC2qsEOu
|
I am experiencing a problem with C language while I am trying to adapt a callback written in C to C++. Compiler shows the following error:
error C266...
3 years ago
Concatenate Strings in C/C++
Android |
https://codedump.io/share/wrnAXdNjNZWv
|
How do I concatenate Strings with C/C++?
I tried the following ways:
PS: errorInfo is a char * I should return it.
errorInfo = strcat("Work...
3 years ago
C structure and C++ structure
C |
https://codedump.io/share/XLrwwLoUr5rW
|
Could anybody please tell me what is the main difference
between C & C++ structures.
3 years ago
C/C++ memory allocation chunkwise
C |
https://codedump.io/share/bwwKXgjoHacx
|
Given the following situation, what is the most appropriate, platform-independent approach with respect to space/time consumption:
(1) At a given poi...
3 years ago
C# - Nested Loop in c#
C# |
https://codedump.io/share/hATIwh52lptj
|
I'm doing a simple c# exercise. The problem is I want to show output such as:
Output
Sample 1 => a
Sample 2 => b
Sampl...
4 years ago
C / C++ MultiDimensional Array Internals
C |
https://codedump.io/share/3GcvopK3KwUN
|
I have a question about how C / C++ internally stores multidimensional arrays declared using the notation foo[m][n]. I am not questioning pure pointe...
4 years ago
C/C++ efficient bit array
C |
https://codedump.io/share/JVUUcOS6cZSp
|
Can you recommend efficient/clean way to manipulate arbitrary length bit array?
right now I am using regular int/char bitmask, but those are not very ...
4 years ago
static scoping in C/C++
C |
https://codedump.io/share/s9ZXSj4gfjSP
|
In the following code, 2 is printed.
int x = 1;
int f(int y)
{
return x ;
}
int main() {
x=2;
printf("%d", f(0));
}
How it...
3 years ago
Best C/C++ Network Library
C |
https://codedump.io/share/0LRm2WnKJ8bI
|
I haven't done work in C/C++ for a little bit and was just wondering what people's favorite cross platform libraries are to use.
I'm looking for so...
4 years ago
C# marshaling C++ struct inheritance
C++ |
https://codedump.io/share/K1DQGhSUssta
|
Let's say I have the following structs in C++
struct Base
{
USHORT size;
}
struct Inherited : public Base
{
BYTE type;
}
I want to mar...
3 years ago
Fake Mouse (C# or C++)
C# |
https://codedump.io/share/H1RF62vqeMi3
|
I need a way to fake that a mouse is connected.
The problem: My HTPC (Windows 8) has no mouse connected and I wrote a program to simulate mouse input ...
4 years ago
C/C++ Sound OS API
Linux |
https://codedump.io/share/YKB2jhvFgqvl
|
I have a question about sound.
I have used sound libraries like OpenAL in my projects before.
What I need, is insight as to what underling OS APIs the...
3 years ago
C# Multidimensional Arrays in C++?
C# |
https://codedump.io/share/5wcRIe9Xc2Z7
|
I'm converting a C# class to C++ and i'm currently blocked by the following part:
public class Perlin
{
const int B = 0x100;
const int BM = 0...
3 years ago