Thanks! I get one place to know some thing about this.
Type: Posts; User: chen1279
Thanks! I get one place to know some thing about this.
any help is appreciated!!!!!!!!!!!!!!!!!!
I think I need to use the code. The code won't compile under MS Visual C++.Net 2003 version. Another possible solution is to get the C++ compiler in 1999 version, but I just cannot find one yet.
Hi all:
I have a C++ program for me to use, but it is written in 1999, and I notice that the some aspects of C++ program now different from that in 1999, such as "using namespace std" and...
thank! I find it too.
Hi all:
I am wondering can I use Visual C++ for C program IDE. It seems to me that Visual C++ does recognize C program, but when I am going to create a project for C using Visual C++, it has no...
After I run my code in my own computer (previously, I run it in my student account), all problem disappear. I looks to me that my student account's memory is too small to make the malloc function...
>Do you allocate memory for rightSet to point to somewhere?
I have checked, rightSet have memory allocated for them. And exactly it is this part
(Leaf*) malloc(rightSetSize*sizeof(Leaf))
...
The code is here:
int rightSetSize = numberOfDistances - medianDisIndex;
rightSet->leaf = (Leaf*) malloc(rightSetSize*sizeof(Leaf));
if (rightSet->leaf == NULL)
FatalError("out of memory...
Hi all:
When I was using the malloc and calloc function in C, in some situation it gives me the error:
Segment Fault (core dump), in some situation, it gives me the error: Bus error (core...
Thanks! I also post a similar question on the forum you inidicated.
Hi all:
I notice that in C's built in library, it does not have some common data structures and sort rountines, such as stack, queue, linkedList, mergeSort, and quickSort. So I guess that we need...