instead of using
build_str=buffer
/*buffer without the [] is just a pointer to the first element in array*/
try
strcpy(build_str,buffer);
----------------------------------------
Friends are generally of the same sex, for when men and women agree,it is only in the conclusions; their...
on a side note check the bracketing and operator precedence
#define matrix_element(i,j) ((i)*2+(j)-1)
----------------------------------------
Friends are generally of the same sex, for when men and women agree,it is only in the conclusions; their reasons are always different.
Maybe you’re not allocating as much memory as you think ----------------------------------------
Friends are generally of the same sex, for when men and women agree,it is only in the conclusions; their reasons are always different.
In function addToArray check that your not going past the array boundary because if you are its possible that your are writing in memory that was allocated to another variable, in this case maybe the var i is over written.
Jim ----------------------------------------
Friends are generally of...
The obvious choice would be to look in the header file.
You have Not prototyped a function.
Or you Have prototyped a function that is Not there
Linker Error] Unresolved external '__fastcall Webadapt::TCustomLoginFormAdapter::GetUserNameA() ----------------------------------------
Friends are...
I am a c/c++ programmer and not a huge fan of VB but I think I know whats wrong.
In c/c++ we can’t compare floats or doubles for likeness because of the inaccuracies in the conversion process. Even though you may type in the value 4.5 and store it in a double it will not be stored as 4.5, most...
pollion
It sounds like you didn’t fix the problem, and your program just started working again. This probably means that there is a bug in it, the type of bug that only shows under certain condition, a much harder bug to track down. So I would try to track it down if I were you, else your...
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.