Search Results

Search: Posts Made By: hewlet
Forum: Programming 11-25-2002
2,199
Posted By hewlet
Thanks for your kind help. I also find a lib ...
Thanks for your kind help.
I also find a lib curs_util
Forum: Programming 11-21-2002
2,199
Posted By hewlet
LIB question
a program on linux uses three libs: libutil.a libtermcap.a libpthread.a.
If I want to transplant this program to Solaris, where can I get the three libs?
Thanks.
2,798
Posted By hewlet
Re: xhost?
Telnet is not a graphical mode, so the admintool can't start
Forum: Programming 09-30-2002
2,378
Posted By hewlet
The Schedule[i][j] is a pointer. Your allocate...
The Schedule[i][j] is a pointer.
Your allocate program is right. But you are trying to change the value of a pointer Schedule[0][0]. You may just want to change the value it points to, if you do,...
Forum: Programming 09-30-2002
2,980
Posted By hewlet
Re: problem deallocating memory for 3d aray
I think I have got the answer.

The deallocate function is right. There is a problem in the allocate function.

When you allocate memory to 'tensor', you use:
tensor =...
Forum: Programming 09-30-2002
5,130
Posted By hewlet
Re: malloc for 1 Mb error.
It seems unbelievable.

In one of my program, I did allocate a memory more than 1M, and it works well.

Could you post your code here?
Forum: Programming 09-30-2002
2
5,034
Posted By hewlet
Re: malloc
Here is a simple answer.

int * p;
It just declares a pointer which could point to a integer, but now it isn't initialized, this is to say, it points nothing. If you increase its value, p will...
Forum: Programming 09-30-2002
3,455
Posted By hewlet
Re: Re: OR
Totally I agree with Perderabo's opion.

But if the original value of chr is pointing to ' ' or '<', then
his answer will loss it because he uses do...while structure.

I think while structure...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 08:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy