Search:

Type: Posts; User: simpatico_qa

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,259

    the issue I'm having is that in the yacc.y file I...

    the issue I'm having is that in the yacc.y file I define a global list fList = NULL; I then want addFunction to add to it. The problem is that when it receives fList, it isn't NULL, although I set it...
  2. Replies
    6
    Views
    1,259

    I guess I found the solution. Still to verify,...

    I guess I found the solution. Still to verify, though.
  3. Replies
    6
    Views
    1,259

    Then try void foo(int b){} . It was just any...

    Then try
    void foo(int b){} . It was just any method definition with an argument.
  4. Replies
    6
    Views
    1,259

    unexpected segmentation fault

    The faulty code for the project is in
    trunk - sscompiler - Project Hosting on Google Code
    It includes a makefile.
    if you run: ssCompiler.out and then type int main(int c){} it will give a...
  5. Replies
    1
    Views
    1,387

    Task Scheduling every two days but..

    Hello,

    IŽd like to schedule a task (through a script) such that it executes an application every two days. However I cannot guarantee that the computer will be on every two days at a specific...
  6. Replies
    10
    Views
    7,200

    I need a complete script example. I've found...

    I need a complete script example.

    I've found this on microsoft's website, but nothing happens when I execute the script and log out.
    (I've placed the file also in the system32 folder, let alone...
  7. Replies
    10
    Views
    7,200

    any help on this?

    any help on this?
  8. Replies
    10
    Views
    7,200

    Hello, I need to change the desktop background...

    Hello,
    I need to change the desktop background programming.

    The execution of the below .vbs doesn't do anything. What is wrong? Thank you




    dim wshShell
    dim sUserName
  9. Replies
    10
    Views
    3,179

    although now eclipse generated the binaries,...

    although now eclipse generated the binaries, launching them they terminate before printing the test output (printf("test");) . What else could be wrong here now? Launching the test.exe outside...
  10. Replies
    10
    Views
    3,179

    I've tried adding it to the library paths in...

    I've tried adding it to the library paths in eclipse, as well as -l libpng, libpng.a, libpng.lib, from the linker options, but in vain.
    I've also tried from the prompt:

    C:\Documents and...
  11. Replies
    10
    Views
    3,179

    so what should i do compile the source code for...

    so what should i do compile the source code for the library on my own? As a static or shared library?
  12. Replies
    10
    Views
    3,179

    I actually get the problem with other functions...

    I actually get the problem with other functions of the same file but not for variables defined in the same.



    png_byte color_type;
    png_byte bit_depth;

    png_structp png_ptr;
    png_infop...
  13. Replies
    10
    Views
    3,179

    itCbitC that I knew without you saying. ...

    itCbitC that I knew without you saying.
    According to this page: png_create_write_struct it should be png.h
    But as you can seen there the definition of the function is C code I understand.
    ...
  14. Replies
    10
    Views
    3,179

    Cannot understand this syntax in png.h

    Hello,

    I'm having problems writing png files in c using libpng.
    When in my code I write:

    png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
    I'm told undefined...
  15. Replies
    33
    Views
    6,484

    okay, I think that quite solves it (I'll test on...

    okay, I think that quite solves it (I'll test on Linux) but can I learn something out of this:

    I know that a pointer is generally (depending on the OS implementation or language?) a fixed size,...
  16. Replies
    33
    Views
    6,484

    why *new would be better than jobs? Doesn't it...

    why *new would be better than jobs? Doesn't it cost an extra 'follow'?
  17. Replies
    33
    Views
    6,484

    also, in the debugger you see it points to a...

    also, in the debugger you see it points to a struct with all fields initialized, doesn't that imply that memory is allocated to it?
  18. Replies
    33
    Views
    6,484

    Was allocated memory as shown below. First call...

    Was allocated memory as shown below. First call to free in the whole program, so discard c?



    void addJob(const pid_t pid, const int status, const char* fileName){
    jobs* new =...
  19. Replies
    33
    Views
    6,484

    This is getting interesting. Actually in the...

    This is getting interesting. Actually in the debugger I see that both jobs and temp point to the list nodes (structures) wanted.

    I've attached a screenshot of the debugger with memory addresses....
  20. Replies
    33
    Views
    6,484

    Looks like you don't get what I try to say. The...

    Looks like you don't get what I try to say. The debugger doesn't go past the free(temp) call. So adding any line past it won't help.

    I don't walk the list, I check right away the first element,...
  21. Replies
    33
    Views
    6,484

    Actually toDel or temp at that point points to...

    Actually toDel or temp at that point points to the first element. Hence nothing points to it other than temp.

    I do walk the list, but only later so the problem is before. All what happens before...
  22. Replies
    33
    Views
    6,484

    I do walk the the list in the subsequent lines of...

    I do walk the the list in the subsequent lines of code but since the debugger stops before doing it and I'm at the first function call I avoid posting it. Also walking through the debugger the...
  23. Replies
    33
    Views
    6,484

    what I posted is the actual code of concern! The...

    what I posted is the actual code of concern! The other portion is just iteration not reached.
  24. Replies
    33
    Views
    6,484

    I was freeing directly temp getting the same...

    I was freeing directly temp getting the same error. It was just a poor attempt.

    It's not double free since I get the error at the first call of it anyway.
  25. Replies
    33
    Views
    6,484

    Well, it's the first part of it, the other part...

    Well, it's the first part of it, the other part just iterates. The problem is that I get a *** glibc detected ** free() invalid next size (fast) error when executing that line. Checking in eclipse...
Results 1 to 25 of 95
Page 1 of 4 1 2 3 4