Thank you.
result_data[frame][i] is a data from other calculation. My purpose is to match
data_1[frame][axis]-data_2[frame][axis] with result_data[frame][i] or
data_1[frame][axis]-data_2[frame][axis]=POINTERresult_data[frame][i]
I guess pointer can be used here to match the submission of...
I has a question about a pointer. For example I has a data as below,
data_1[frame][axis]={{1,2,3},{2,3,4},...,{x,y,z}}
data_2[frame][axis]={{3,4,5},{4,5,6},...,{x,y,z}}
in memory
result_data[frame][i]={1,0,1,0,2,0,3,....,n}
data_1[frame][axis]-data_2[frame][axis]=POINTERresult_data[frame][i]...
I have a question about sprintf function. It is correct that the function is for display a char continously depend on the int i within for loop. And, as a result, the file name Name[i] will be written in directory folder as Name_data.
static char *DIR = "C:\\:***/***/Name_data";
static char...
I have a question about creating own function and array as an argument.
#include header1.h
function1(Arg11[][3], Arg22[][2], Arg33[][4]){
Arg11[][3];
}
#include header2.h
function2(Arg1[][3], Arg2[][2], Arg3[6] ){
Arg1[][3];
function1(Arg11[][3], Arg22[][2], Arg33[][4]);
}
I dont know...
hai...i have a question about directx d3dx.h. I failed to compile my program because no such file d3dx.h in directory. I have installed directX 8 or even 9 but I failed to found d3dx.h. Do i need to link or include something to my program after finish installing direct X. Please give me some...
Tq. Yes. I have a question about the construction of structure.
for example,
struct finger {
double x;
double y;
double z;
};
struct hand{
struct finger thumb;
struct finger index;
struct finger middle;
struct finger ring;
};
In term of data what does it means by...
tq for the comments and ideas.Actually I tried to develop a hirarachy structure of human hand using STRUCT function. The idea is finger_A, finger_B and finger_C are belong to STRUCT hand{...}. finger_A,B and C are 3D data {x,y,z}. My problem is how to express BELONG using C codes.
struct...
Yes.. still error . I am using Microsoft Visual C++ Ver.6.0. Three errors here.
right_hand = (struct hand) {7.0f, 8.0f, 9.0f};
Error
1.Construction Error : '{'
2.Construction Error : ';' is needed before '{'
3.Construction Error : ';' is needed before '}'
hai...This is a sample programming code and I failed to compile it. I guess the problem is {1,2,3}/3D koordinate (x,y,z)colored text
main()
{
struct hand{
double finger_A;
double finger_B;
double finger_C;
};
struct hand right_hand;
right_hand.finger_A={1,2,3}; //The problem...
hai..I have a question about how to display the data at each coordinate or dot. The codes below are for drawing the points or coordinates using dot.I tried to display each dot with data that is written close to it. My compiler is Visual C++ 6.0 and OS win 2000. OpenGL is used for graphic...
Hai..I have a question about making network communication between two computers using Windsock API.I have done the network communication on same computer by following the instruction from book, but when come to make a communication between two computers, I face the problem. I hope to get some...
hi...Sorry,this is a basic question about function. I tried to find the solution from net but failed. Here is a sample code of C
#include<stdio.h>
int mult(int); //prototype
main()
{
int a;
printf(" Enter the Integer!");
scanf("%d",&a);
printf("2x%d is %d",a,mult(a)); //call function
}...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.