Search:

Type: Posts; User: stahta01

Page 1 of 20 1 2 3 4

Search: Search took 0.03 seconds.

  1. Thread: atoi & scanf

    by stahta01
    Replies
    7
    Views
    197

    I suggest you post the input with the output you...

    I suggest you post the input with the output you want because what you stated is not clear to me.
    To me char is already ASCII!

    Tim S.
  2. Thread: atoi & scanf

    by stahta01
    Replies
    7
    Views
    197

    atoi(3) - Linux manual page...

    atoi(3) - Linux manual page

    Tim S.
  3. If they error code 0xc00007b is correct you are...

    If they error code 0xc00007b is correct you are mixing 32/64 bit binaries.
    If it is working in CB but, not outside of it you are missing DLLs that need to be copied to the exe folder.

    Likely the...
  4. Replies
    1
    Views
    103

    Post the error message and maybe someone can help...

    Post the error message and maybe someone can help you.
    The note: is right after the error message look above it.

    Tim S.
  5. This may be a dumb suggestion; but, I have read a...

    This may be a dumb suggestion; but, I have read a little by accident about Python to C converters or embedding and maybe that would help the OP.
    I have never looked on purpose about doing this task;...
  6. To kotacoder: Can you answer questions that...

    To kotacoder:

    Can you answer questions that require you to do work?
  7. Replies
    1
    Views
    313

    Can somebody show some work? Tim S.

    Can somebody show some work?

    Tim S.
  8. Instead of "Portable" you likely mean easy to...

    Instead of "Portable" you likely mean easy to "maintain"; but, even that is not really a good thing to say about the use of pointers.

    You likely are talking about cheap to maintain using poor C...
  9. Replies
    1
    Views
    204

    You need to link to the library containing the...

    You need to link to the library containing the references.

    -lLibraryName

    The "-l" is a dash with lowercase L.

    Tim S.
  10. john.c: Thank you. I figured there had to be a...

    john.c: Thank you. I figured there had to be a class.

    Tim S.
  11. What Libraries and Headers would be good to use to wrap an bash script?

    What Libraries and Headers would be good to use to wrap an bash script?

    I am thinking to try learning C++ once more.

    Decided that writing small useful programs would be a better path than...
  12. Replies
    15
    Views
    503

    No idea if this link will help you. 7 Ways to...

    No idea if this link will help you.

    7 Ways to Determine the File System Type in Linux (Ext2, Ext3 or Ext4)

    Tim S.
  13. Replies
    5
    Views
    437

    For it to be Circular the new node needs to have...

    For it to be Circular the new node needs to have the node before pointing to it.
    Note: I am far from being a expert of Circular link lists.

    Tim S.
  14. Replies
    3
    Views
    433

    You cast the result of malloc! WRONG! You fail...

    You cast the result of malloc! WRONG!
    You fail to check for realloc failing! BAD IDEA!

    You seem to have never ran your program! LAZY!

    You use ptr to mean index!

    You fail to allocate space...
  15. Thread: Win-bash use

    by stahta01
    Replies
    5
    Views
    624

    I believe but do not know that local must be used...

    I believe but do not know that local must be used only inside a bash function.

    Edit: Just relooked at your code and each local appears to be inside a function.

    Why don't you use someone else's...
  16. Replies
    11
    Views
    481

    Some rounds to closest integer and uses one of...

    Some rounds to closest integer and uses one of the 4 directions if it is at the exact midway point.

    Tim S.
  17. Replies
    11
    Views
    481

    There are 4 directions of rounding. Round...

    There are 4 directions of rounding.

    Round towards + infinity.
    Round towards - infinity.
    Round towards zero.
    Round away from zero.

    Tim S.
  18. Replies
    11
    Views
    481

    This is not a website that does your homework! ...

    This is not a website that does your homework!

    Tim S.
  19. Replies
    11
    Views
    481

    How can a single short post be so wrong? Tim S.

    How can a single short post be so wrong?

    Tim S.
  20. Thread: Win-bash use

    by stahta01
    Replies
    5
    Views
    624

    You do not have a function called "function_name"...

    You do not have a function called "function_name" in the code you posted.
    Yet you call it several times; fix this and then retry!

    Tim S.
  21. Replies
    7
    Views
    499

    Is there a logical reason you do not read the...

    Is there a logical reason you do not read the manual on how to configure an Serial Communication Module to do SPI?

    Tim S.
  22. Replies
    26
    Views
    999

    3 minutes of searching implies "machine/reg.h" is...

    3 minutes of searching implies "machine/reg.h" is BSD based header; and it is likely a different header under Linux.

    Tim S.
  23. Replies
    26
    Views
    999

    In other words, the proper thing to try was...

    In other words, the proper thing to try was likely.


    LD_LIBRARY_PATH=./bin:$(LD_LIBRARY_PATH)


    Tim S.
  24. Replies
    26
    Views
    999

    Why does your post suggest you are both running...

    Why does your post suggest you are both running your code from the "./bin" folder and not running your code from the "./bin" folder?

    Decide which folder is "." when you are running the commands...
  25. This is the way I tend to do it; both work I have...

    This is the way I tend to do it; both work I have no idea if a corner case where one does not work exists


    git log -- path/to/file

    Tim S.
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4