Search:

Type: Posts; User: mickey123

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    902

    rw lists into files.

    Hello All,

    What are the ways by which we can read and write the values of stl lists into a file?

    Thank you for your time.
  2. Thank you. Is there a way to check if the...

    Thank you.

    Is there a way to check if the statement execution is completed?
  3. How to invoke command line programatically?

    Hello,

    I want to issue a command line command from c program?

    As an example, I want to run a program like mplayer.

    How can i do this?

    Regards.
  4. Replies
    1
    Views
    3,363

    Upon inspection I found that.. Xtest.h...

    Upon inspection I found that..

    Xtest.h includes Xinput.h which intrun include Xlib.h

    Xlib.h has the variable Status, but my compiler still cribs Status does not name a type.

    All the header...
  5. Replies
    1
    Views
    3,363

    "Status" does not name a type.

    I am trying to implement fake key event and included Xtest.h file inspired from xtestfakekeyevent(3): XTest extension functions - Linux man page

    I am getting the following error:
    ...
  6. Replies
    12
    Views
    2,978

    Does that matter to you. If you cant help, I...

    Does that matter to you.

    If you cant help, I will be grateful if you keep quiet.
  7. Replies
    12
    Views
    2,978

    I guess, I am not using free() anywhere in my...

    I guess, I am not using free() anywhere in my program.
  8. Replies
    12
    Views
    2,978

    2nd assumption is correct, that is supposed to be...

    2nd assumption is correct, that is supposed to be nop not size.
  9. Replies
    12
    Views
    2,978

    Sorry thats my mistake its nop, not size. And...

    Sorry thats my mistake its nop, not size. And extra semicolon doesnt harm I guess.

    That still doesnt solve the probelm :(
  10. Replies
    12
    Views
    2,978

    Stack trace for you. I am checking size by...

    Stack trace for you.

    I am checking size by using printf.



    *** glibc detected *** /home/kuchick/par_comp/assign_23: free(): invalid size: 0x08097018 ***
    ======= Backtrace: =========...
  11. Replies
    12
    Views
    2,978

    Nope I am not allocating negative amount. One...

    Nope I am not allocating negative amount. One more thing I forgot to mention..

    When size is 39, my programs runs fine. But when it is 40 the actual problem starts.

    "glibc detected" is when...
  12. Replies
    12
    Views
    2,978

    glibc detected on multiple malloc

    /*
    *Sieve of Eratosthenes
    *
    * Programmed by Michael J. Quinn
    *
    * Last modification: 7 September 2001
    */

    #include "mpi.h"
    #include <stdio.h>
Results 1 to 12 of 12