Search:

Type: Posts; User: amalendu

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    3,674

    Using PlPlot library in code::blocks

    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...
  2. Replies
    8
    Views
    987

    After running 'for' loop only once in...

    After running 'for' loop only once in test_alloc2, program stops....

    Regards,
    Amal.
  3. Replies
    8
    Views
    987

    Thanks Laserlight.... But test_alloc2...

    Thanks Laserlight....

    But test_alloc2 is also not working.....Please help me to figure out the mistake in this function.......

    Regards,
    Amal...
  4. Replies
    8
    Views
    987

    Hello, Thanks for reply... I...

    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...
  5. Replies
    8
    Views
    987

    Question about calloc and realloc

    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/...
  6. Replies
    4
    Views
    1,212

    Thanks, Introducing second pointer solved the...

    Thanks,
    Introducing second pointer solved the problem.......
  7. Replies
    4
    Views
    1,212

    Problem with realloc()

    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...
  8. Replies
    3
    Views
    895

    Thanks Salem, The code for functions is a...

    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.




    ...
  9. Replies
    3
    Views
    895

    Error in using free(*variable)

    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...
  10. Replies
    3
    Views
    2,544

    Thanks Tater, I could build...

    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...
  11. Replies
    3
    Views
    2,544

    How to build lib files in windows?

    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...
  12. Thanks anduril, I was...

    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...
  13. Output of different files are mixing......Help needed

    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)
    {
    ...
  14. Replies
    5
    Views
    1,690

    Thanks anduril .......I will try Code::Blocks...

    Thanks anduril .......I will try Code::Blocks .....
  15. Replies
    5
    Views
    1,690

    Thanks Anduril and Jim for helping, . I...

    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...
  16. Replies
    5
    Views
    1,690

    help on double pointer

    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...
  17. Replies
    3
    Views
    1,141

    I am extremely sorry. I was using a copy of...

    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...
  18. Replies
    3
    Views
    1,141

    Thanks Billi, Yes.. I know the code is...

    Thanks Billi,



    Yes.. I know the code is bigger than required....Only for debugging I made it longer and...
  19. Replies
    3
    Views
    1,141

    Help needed to remove error

    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...
Results 1 to 19 of 19