Search:

Type: Posts; User: stahta01

Page 1 of 20 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    3
    Views
    39

    scanf("&d", ÷nd); You likely wanted ...

    scanf("&d", &dividend);


    You likely wanted

    scanf("%d", &dividend);


    Notice I used "%d" instead of "&d".
  2. Replies
    14
    Views
    165

    Get a line of text from the user/keyboard (C) -...

    Get a line of text from the user/keyboard (C) - Cprogramming.com
  3. Letter-spacing - Wikipedia...

    Letter-spacing - Wikipedia
    em (typography) - Wikipedia

    Tim S.
  4. Step 1. find or write a string library for C. ...

    Step 1. find or write a string library for C.

    Tim S.
  5. So why do you think SERCOM0_USART_Write and...

    So why do you think SERCOM0_USART_Write and SERCOM1_USART_Write are the same thing?

    Why do you refuse to post your code; note posting some one else's code does not count!


    ...
  6. Thread: atoi & scanf

    by stahta01
    Replies
    7
    Views
    223

    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.
  7. Thread: atoi & scanf

    by stahta01
    Replies
    7
    Views
    223

    atoi(3) - Linux manual page...

    atoi(3) - Linux manual page

    Tim S.
  8. 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...
  9. Replies
    1
    Views
    107

    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.
  10. 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;...
  11. To kotacoder: Can you answer questions that...

    To kotacoder:

    Can you answer questions that require you to do work?
  12. Replies
    1
    Views
    329

    Can somebody show some work? Tim S.

    Can somebody show some work?

    Tim S.
  13. 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...
  14. Replies
    1
    Views
    214

    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.
  15. 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.
  16. 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...
  17. Replies
    15
    Views
    521

    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.
  18. Replies
    5
    Views
    444

    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.
  19. Replies
    3
    Views
    439

    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...
  20. Thread: Win-bash use

    by stahta01
    Replies
    5
    Views
    641

    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...
  21. Replies
    11
    Views
    488

    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.
  22. Replies
    11
    Views
    488

    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.
  23. Replies
    11
    Views
    488

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

    This is not a website that does your homework!

    Tim S.
  24. Replies
    11
    Views
    488

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

    How can a single short post be so wrong?

    Tim S.
  25. Thread: Win-bash use

    by stahta01
    Replies
    5
    Views
    641

    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.
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4