I use MSVC++ 6.0.
I have been trying to figure out the order of floating point numbers, both of type float and type double, but I can't make any sense of it.
I made a simple little program to examine values bit-by-bit.
I was looking for some sort of mantissa and exponent. I tried to see if...
int i = 255, j = 10,k = 20;
int **ip;
int *n[3] = {&i,&j,&k};
ip = n;
cout<<ip[0][0]<<" "<<ip[1][0]<<" "<<ip[2][0]<<endl;
I hope that helps. It outputs "255 10 20".
Well, if you don't need to make a copy of the list that you're adding, all you need to do is make the last node of the first list have its "next" member (or whatever you call it) point to the first node of the second list.
If you need to make copies of all the nodes in the second...
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.