I am in try to use PlPlot library (for plotting) in C with code::blocks IDE (ver 10.05) on windows-7 plateform. I downloaded "plplot-5.9.9.tar" and unzipped it. In documentation it is not very clear...
Type: Posts; User: amalendu
I am in try to use PlPlot library (for plotting) in C with code::blocks IDE (ver 10.05) on windows-7 plateform. I downloaded "plplot-5.9.9.tar" and unzipped it. In documentation it is not very clear...
After running 'for' loop only once in test_alloc2, program stops....
Regards,
Amal.
Thanks Laserlight....
But test_alloc2 is also not working.....Please help me to figure out the mistake in this function.......
Regards,
Amal...
Hello,
Thanks for reply...
I tried but not succeeded. Below is the code in which I tried to do thing in two ways (two functions), but no function did work....
Where am I...
Hello!
I have some problem with 'realloc' and 'calloc' in a program...My question is that if some pointer is passed to a function from say Main. In that function can I allocate/...
Thanks,
Introducing second pointer solved the problem.......
Hello,
I am using code::blocks on Windows plateform for my program. In my program, in one of the loop, I am using realloc function to increase the allocation space for one pointer to...
Thanks Salem,
The code for functions is a bit long, so I am giving here the last portion of function "read_file". Without calling this function there is no error.
...
Hello,
I am using code::blocks (10.05) for building and running c-programs on Windows-7. In some programs, function free(*variable) produces code crash. I do not why? I think on 64-bit...
Thanks Tater,
I could build libx.a file. I made one folder "own_lib", in which I further made two folders "include" and "lib". I copied libx.a file in the "lib" folder and header...
Hello,
I am using code::blocks IDE for program development. If I have my program file (some functions without main) x.c and its function prototypes are in x.h header file. I want to...
Thanks anduril,
I was checking code again.... In function, which is calling the function "madrun_for_twiss", there is another section, in which memory allocation was wrong i.e. I...
I am using a function in my program (windows compiler), which is here
void madrun_for_twiss(major_ip *ptr_major_ip, int *module_line_no, FILE *mad_call_file, int *err_index, FILE *fp_log)
{
...
Thanks anduril .......I will try Code::Blocks .....
Thanks Anduril and Jim for helping,
. I use Dev C++ on windows, only for checking this stuff, I also used my old Turbo-C compiler. The major problem in program (apart form scanf/ printf...
I was using double pointer ( I am not expert programmer) in a function of my program to read some strings (with variable length) and I am getting error (run time error not compilation error). I just...
I am extremely sorry. I was using a copy of function and was making some changes in that. I pasted that edited code piece here in which, in the line no. 11, 12 and 17 'a' appears as an array. It is...
Thanks Billi,
Yes.. I know the code is bigger than required....Only for debugging I made it longer and...
Hello,
I wrote a piece of code (using dev c compiler on windows), in which one function, namely 'noise_block_reader' is called by another function (I am not an expert programmer). This...