Related
Toon I have these structures: typedef struct {
char *start;
char *loops;
char *tolerance;
double *numbers;
} configuration;
typedef struct {
bool help;
bool debug;
const char *configFile;
const char *inputFile;
const char *
Toon I have these structures: typedef struct {
char *start;
char *loops;
char *tolerance;
double *numbers;
} configuration;
typedef struct {
bool help;
bool debug;
const char *configFile;
const char *inputFile;
const char *
Toon I have these structures: typedef struct {
char *start;
char *loops;
char *tolerance;
double *numbers;
} configuration;
typedef struct {
bool help;
bool debug;
const char *configFile;
const char *inputFile;
const char *
Toon I have these structures: typedef struct {
char *start;
char *loops;
char *tolerance;
double *numbers;
} configuration;
typedef struct {
bool help;
bool debug;
const char *configFile;
const char *inputFile;
const char *
Mershad I'm maintaining part of the code my friend wrote, this is the definition of a variable called d: double (*d)[3];
I tried to initialize variables using the code below, but there are errors in every part (runtime or compile). I am confused whether the v
Mershad I'm maintaining part of the code my friend wrote, this is the definition of a variable called d: double (*d)[3];
I tried to initialize variables using the code below, but there are errors in every part (runtime or compile). I am confused whether the v
Mershad I'm maintaining part of the code my friend wrote, this is the definition of a variable called d: double (*d)[3];
I tried to initialize variables using the code below, but there are errors in every part (runtime or compile). I am confused whether the v
lightning I'm a novice programmer using ctypes with Python and trying to use functions from a DLL written in C. I've found a lot of similar questions on SO to solve, but none of the answers to this kind of conundrum. I have the DLL loaded just fine, but one of
lightning I'm a novice programmer using ctypes with Python and trying to use functions from a DLL written in C. I've found a lot of similar questions on SO to solve, but none of the answers to this kind of conundrum. I have the DLL loaded just fine, but one of
lightning I'm a novice programmer using ctypes with Python and trying to use functions from a DLL written in C. I've found a lot of similar questions on SO to solve, but none of the answers to this kind of conundrum. I have the DLL loaded just fine, but one of
Natico I want to create a method called add_order that adds a new order to the existing orders array. The first three lines of main work fine until that point I know the pointers, but I'm struggling with the add_order method and it doesn't work in printf eithe
Natico I want to create a method called add_order that adds a new order to the existing orders array. The first three lines of main work fine until that point I know the pointers, but I'm struggling with the add_order method and it doesn't work in printf eithe
Natico I want to create a method called add_order that adds a new order to the existing orders array. The first three lines of main work fine until that point I know the pointers, but I'm struggling with the add_order method and it doesn't work in printf eithe
Natico I want to create a method called add_order that adds a new order to the existing orders array. The first three lines of main work fine until that point I know the pointers, but I'm struggling with the add_order method and it doesn't work in printf eithe
Natico I want to create a method called add_order that adds a new order to the existing orders array. The first three lines of main work fine until that point I know the pointers, but I'm struggling with the add_order method and it doesn't work in printf eithe
Daniel Again to []vs *: void func(const instance* I, const float* in, float* out)
{
for(int i=0;i<N; i++)
{
// some calculation goes here
out[i] = ... in[i] * I.something[i] ... ;
}
}
I often find that sub-function code is written
username let int * ptr,array[10]; ptr= array;. Now, each storage cell in a contiguous position of the array has a fixed size. If the address of the first cell is 1234, the address of the next cell must be 1238. But we use pointer as access to it *(ptr+1). I'm
Daniel Again to []vs *: void func(const instance* I, const float* in, float* out)
{
for(int i=0;i<N; i++)
{
// some calculation goes here
out[i] = ... in[i] * I.something[i] ... ;
}
}
I often find that sub-function code is written
Daniel Again to []vs *: void func(const instance* I, const float* in, float* out)
{
for(int i=0;i<N; i++)
{
// some calculation goes here
out[i] = ... in[i] * I.something[i] ... ;
}
}
I often find that sub-function code is written
Daniel Again to []vs *: void func(const instance* I, const float* in, float* out)
{
for(int i=0;i<N; i++)
{
// some calculation goes here
out[i] = ... in[i] * I.something[i] ... ;
}
}
I often find that sub-function code is written
Daniel Again to []vs *: void func(const instance* I, const float* in, float* out)
{
for(int i=0;i<N; i++)
{
// some calculation goes here
out[i] = ... in[i] * I.something[i] ... ;
}
}
I often find that sub-function code is written
Daniel Again to []vs *: void func(const instance* I, const float* in, float* out)
{
for(int i=0;i<N; i++)
{
// some calculation goes here
out[i] = ... in[i] * I.something[i] ... ;
}
}
I often find that sub-function code is written
Daniel Again to []vs *: void func(const instance* I, const float* in, float* out)
{
for(int i=0;i<N; i++)
{
// some calculation goes here
out[i] = ... in[i] * I.something[i] ... ;
}
}
I often find that sub-function code is written
username let int * ptr,array[10]; ptr= array;. Now, each storage cell in a contiguous position of the array has a fixed size. If the address of the first cell is 1234, the address of the next cell must be 1238. But we use pointer as access to it *(ptr+1). I'm
Tengiz My goal is to pass a double pointer to the function, dynamically allocate memory inside the function, fill the resulting array with double values, and return the fill array. After focusing my attention everywhere on StackOverflow, I found two related to
Avishek Dutta I have a pointer to n cells that I want to allocate. Now I need to access the begin and end iterator objects of this pointer. Here is my code: * my_module.cpp * # include c_vector.h
/* .. */
C_Vector a(n);
* c_vector.h * class C_Vector{
/* ..
Tengiz My goal is to pass a double pointer to the function, dynamically allocate memory inside the function, fill the resulting array with double values, and return the fill array. After focusing my attention everywhere on StackOverflow, I found two related to
username New to understanding structs, especially structs that involve accessing the address or value of a struct member. I'm not sure what language I'm using here, but I have: 2x2 matrix of structure a struct x is an array of size 2 struct b of size 2 contain
Sputten I need help with pointer declarations, for example I have several classes with arrays of pointers. const char* const clsMainWin::mcpszXMLattrRoot[] = {"bottom","left","right","top",NULL};
const char* const clsMainWin::mcpszXMLattrA[] = {"x","y","z",NUL