Search:

Type: Posts; User: stahta01

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. You can only dynamically link to an DLL. Tim S.

    You can only dynamically link to an DLL.

    Tim S.
  2. Replies
    25
    Views
    384

    Project -> Build options Add the option you...

    Project -> Build options
    Add the option you want to "other compiler options"


    -std=c11


    And, after you do a rebuild verify the option is in the build log.

    Tim S.
  3. Replies
    24
    Views
    408

    OK; I see your solution for this stupid problem....

    OK; I see your solution for this stupid problem.

    Tim S.
  4. Replies
    24
    Views
    408

    x = x +1022

    x = x +1022
  5. Mingw GCC can link to DLLs and since PortAudio is...

    Mingw GCC can link to DLLs and since PortAudio is a C library it will likely work correctly.
    So, I suggest looking for DLLs or Mingw GCC import library that uses the ".a" extension.
    Note: Static...
  6. Replies
    25
    Views
    384

    cooper1200: I am guessing you are using...

    cooper1200: I am guessing you are using Code::Blocks version 17.12 and building using a Code::Blocks project.
    Edit: If then above is not true tell me the Code::Blocks version and start using an C::B...
  7. Figure out what compiler you are using? And, add...

    Figure out what compiler you are using? And, add the info to your post or search on the compiler and PortAudio.
    NOTE: Code::Blocks is *not* a compiler.

    Tim S.
  8. Look for a rebase command in cygwin. Or you need...

    Look for a rebase command in cygwin. Or you need to install and use the 64 bit version of cygwin.

    I am guessing that is the error you get using 32 bit cygwin; I get a similar issues using msys2 32...
  9. Replies
    25
    Views
    384

    It is a poor workman who blames his tools. Tim...

    It is a poor workman who blames his tools.

    Tim S.
  10. Replies
    25
    Views
    384

    +1 on needed to do a rebuild.

    +1 on needed to do a rebuild.
  11. Replies
    25
    Views
    384

    Compiler warnings are from the compiler not the...

    Compiler warnings are from the compiler not the CB IDE.
    So, I suggest you learn what warning options the compiler you are using supports and set them in the CB Global compiler settings or the CB...
  12. Some old C compiler had a name clash when you did...

    Some old C compiler had a name clash when you did it that way.

    Edit: This might have been in the K&R C days

    Tim S.
  13. I hope English is not your native tongue; if it...

    I hope English is not your native tongue; if it is not your English is reasonably good.
    But, you never stated what operating system you are using; so, some of your question(s) are not able to be...
  14. Yes, you need to replace the new with malloc and...

    Yes, you need to replace the new with malloc and the delete with free.

    Tim S.
  15. AVL tree - Wikipedia...

    AVL tree - Wikipedia

    For those not in the know about AVL Tree; I forgot all about them. Did remember a little about red–black trees.

    cooper1200: I am playing around with your code to remind...
  16. Remove the MinGW GCC from the path and see if it...

    Remove the MinGW GCC from the path and see if it works then.

    Mixing an external MinGW GCC and cygwin should never be tried or expected to work!

    Tim S.
  17. Replies
    9
    Views
    233

    You are almost always correct, so, I will agree...

    You are almost always correct, so, I will agree with you.

    Tim S.
  18. Thread: stdlib.h in C

    by stahta01
    Replies
    3
    Views
    129

    Please do not duplicate your posts!!!

    Please do not duplicate your posts!!!
  19. Replies
    9
    Views
    233

    The difference between cstdlib and stdlib.h...

    The difference between cstdlib and stdlib.h includes is the "stdlib.h" adds the functions to std namespace.
    When using "cstdlib", you need to have an using statement to add what functions you want...
  20. Function signature is questionable int...

    Function signature is questionable



    int even_num(long long unsigned int x)


    I think the type being returned should match the type of x.
    Do you have a reason to differ with this idea?
  21. Problem 14 - Project Euler...

    Problem 14 - Project Euler
  22. Are you certain that it is "x/2" instead of...

    Are you certain that it is "x/2" instead of "x/3"?

    Tim S.
  23. Start with the number 4 and it goes to 2 and then...

    Start with the number 4 and it goes to 2 and then to 1 and then back to 4. I just did that in my head so it might be wrong. Looks like I was wrong at a second look.
  24. Thread: class string

    by stahta01
    Replies
    5
    Views
    141

    object.memberFunction is the normal way to call...

    object.memberFunction is the normal way to call memberFunction.
  25. Replies
    7
    Views
    269

    Edit: Divisors maybe counted differently the...

    Edit: Divisors maybe counted differently the divisors of 8 are 2,2, and 2 for a count of 3. I am guessing this is the way they are counting the divisors.

    Edit: I was wrong.


    28: 1,2,4,7,14,28...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4