Search:

Type: Posts; User: audit; Keyword(s):

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. [SOLVED] Re: segmentation fault--and I think I own the memory

    I just finished trying to see what the main problem was with my code and why it was addressing memory that I did not own (it is my understanding that trying to address memory that you do not own is...
  2. [SOLVED] Re: segmentation fault--and I think I own the memory

    @dwhitney67

    Thank you--you are very smart. I will not have time till later tonight to figure out what I was doing wrong; but your suggestions were obviously correct.

    Again thank you.
  3. [SOLVED] Re: segmentation fault--and I think I own the memory

    I wish that was the problem, but all values other than pp_out[0] result in seg fault--and I am actually allocating 200 + 1. I'll sit down to today and run it in valgrind. Thanks
  4. [SOLVED] Re: segmentation fault--and I think I own the memory

    done but not the problem.



    sqlite designed the interface so my callback must conform to it unless I want to write my own



    the value for this test is 200--I have tested it with a printf in...
  5. [SOLVED] Re: segmentation fault--and I think I own the memory

    this is the struct:

    struct Out_put
    {
    char field_name[25];
    char field_value[25];
    };

    edit: decided it was easier to show the whole file than just part.
  6. [SOLVED] segmentation fault--and I think I own the memory

    static int cb_create_container(void* ptr_4th_arg, int num_col, char** col_text, char** col_name)
    {
    int num_rec;
    sscanf(col_text[0], "%d", &num_rec);
    printf("%d\n",num_rec);
    ...
  7. Replies
    5
    Views
    457

    [ubuntu] Re: how to manually boot

    I have been able to work around my problem by installing startupmanger and changing the order of default OS.

    But I would still be interested in how you boot to a specified partitioned.
  8. Replies
    5
    Views
    457

    [ubuntu] how to manually boot

    I was experimenting with natty on a partitioned drive and now I am unable to boot to any other OS.

    If I can get to the another OS I can reinstall grub-pc and will be able to work on my computer as...
  9. [SOLVED] change order of Operating System choices at grub terminal

    I want to change the order that the OS are listed at my grub terminal how do I do this?
  10. [SOLVED] Re: How do I find out if getline is part of the c89 standard?

    Thanks for the reply, but I am not sure I understand what you mean by see man page



    do you by any chance know off the top of your head which the gcc flag I use to limit myself to c89?

    again...
  11. [SOLVED] How do I find out if getline is part of the c89 standard?

    Is getline() part of the standard? More importantly how do I find out if something is part of the standard?

    In c I tried to write a getline() function and I was not allowed because one seems to be...
  12. [ubuntu] Re: telling grub there is another partition it can boot from

    it did work -- now I got tons of work ahead of me--but this is the wrong place to ask this series of questions. Thanks again.
  13. [ubuntu] Re: telling grub there is another partition it can boot from

    looks like that worked--now I will reboot and see it that worked. thanks.
  14. [ubuntu] telling grub there is another partition it can boot from

    grub (if I understand correctly is what gives me the choice on which drive to boot from) I wish to tell grub to give me another choice my /dev/sda7 drive. Can I do that?
  15. Replies
    38
    Views
    1,652

    [SOLVED] Re: assembly -- where would you begin

    thanks to all the links and the suggestions were helpful.
  16. Replies
    38
    Views
    1,652

    [SOLVED] Re: assembly -- where would you begin

    ... no good reason for this post so I removed it.
  17. Replies
    38
    Views
    1,652

    [SOLVED] Re: assembly -- where would you begin

    I have destroyed an operating system before--that is how I wound up using ubuntu.
    But there was still something there or I would not have been able install another operating system.
    There has to...
  18. Replies
    38
    Views
    1,652

    [SOLVED] Re: assembly -- where would you begin

    Ok--this comment scared me. I've lost operating systems before--I can handle that, but is it possible I could make my computer unusable?
  19. Replies
    38
    Views
    1,652

    [SOLVED] Re: assembly -- where would you begin

    does it make a difference that my cpu is:"AMD Athlon(tm) II X2 240 Processor"?

    I am really not sure what X86 means I noticed that under capabilities it list x86-64.


    *-cpu
    product:...
  20. Replies
    38
    Views
    1,652

    [SOLVED] Re: assembly -- where would you begin

    I have an assembler already installed "as". I took I quick look at the man page. Any suggestions on books? or on-line tutorials? Or something to beware of before I start googling. All advice is...
  21. Replies
    38
    Views
    1,652

    [SOLVED] Re: assembly -- where would you begin

    How would I decide what assembler to use? Are there any good books? Are web tutorials good enough? Does the operating system I use make a difference? Does the computer I use make a difference?
  22. Replies
    38
    Views
    1,652

    [SOLVED] Re: assembly -- where would you begin

    The reason I want to learn assembly is because I do not really understand the errors messages my complier sends me sometimes. I do not understand segment faults, stack overflow and memory addresses...
  23. Replies
    38
    Views
    1,652

    [SOLVED] assembly -- where would you begin

    I want to learn enough assembly to be able to ask intelligent questions about assembly. As a hobby programmer I have found that I can be more productive at my day job since I have learned to write a...
  24. Replies
    1
    Views
    747

    [SOLVED] Re: vim global register

    Not the answer I would have expected, but I found if you install gvim your regular vim now has access to the global registers.
    I tried installing vim from the sources and failed miserably; but since...
  25. Replies
    4
    Views
    1,980

    [SOLVED] Re: Is there anything like a system restore point?

    Thanks a lot that computer janitor fixed it.
Results 1 to 25 of 122
Page 1 of 5 1 2 3 4