Search:

Type: Posts; User: -Adrian

Page 1 of 20 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: gui in c

    by -Adrian
    Replies
    2
    Views
    280

    You could consider using GTK...

    You could consider using GTK, which is written in C.
  2. Replies
    25
    Views
    751

    Also, consider that you don't need to use and...

    Also, consider that you don't need to use and IDE. You can use a text editor (a fancy one like VSCode/Atom if you want) and e.g. CMake to define your build structure and work from the terminal. No...
  3. In C++ one can use: #include ...

    In C++ one can use:


    #include <limits>

    double max_value = std::numeric_limits<double>::max();
  4. Do you have access to binaries already? The...

    Do you have access to binaries already? The PortAudio website seems to only offer the source, so you'll likely have to build the libraries first, hence their absence in your downloaded directories.
    ...
  5. So the host is Windows? And what OS is the VM?

    So the host is Windows? And what OS is the VM?
  6. Thread: stdlib.h in C

    by -Adrian
    Replies
    3
    Views
    289

    For C++, use & Co. (if necessary). In...

    For C++, use <cstdlib> & Co. (if necessary). In principle, you cannot rely on C Standard Library headers like <stdio.h> being bundled with your C++ compiler and thus should avoid using them in your...
  7. Thread: Memoization

    by -Adrian
    Replies
    7
    Views
    361

    A painfully accurate description of what's seen...

    A painfully accurate description of what's seen here. Imo the article makes a strong case for altogether removing such people, even if it offers examples of how to help the afflicted.
  8. There are plenty of self-contained applications...

    There are plenty of self-contained applications that do just that. In the Linux ecosystem you have things like Flatpak, Snap, AppImage. In the Windows world you can use "portable" (the meaning is...
  9. Ok, I'll give that a shot. I'm interested both in...

    Ok, I'll give that a shot. I'm interested both in front- and backend. For the frontend my main question was what to use to compose an interactive UI. From what I understand, React.js is very popular...
  10. Active forum/chat for web development talk?

    I'm wondering if you folks can recommend (form personal experience) message boards like ours here or chat channels (IRC, Slack, Gitter, Discord etc.) on the topic of web development in general.
    ...
  11. Thread: XOR vs ^

    by -Adrian
    Replies
    12
    Views
    377

    Post your code, I get 5 in C as well.

    Post your code, I get 5 in C as well.
  12. Thread: Huh, back.

    by -Adrian
    Replies
    2
    Views
    270

    Welcome back! Wish the forum was more active...

    Welcome back! Wish the forum was more active still. I think C++ is used/taught in settings that don't invite online discourse the way other languages do.
  13. Replies
    4
    Views
    198

    Yes, that's correct. It might be less confusing...

    Yes, that's correct. It might be less confusing to use a non-square matrix, so you can see which dimension is which:


    int arr[4][2] {
    {0, 0}, // [0][0], [0][1]
    {0, 0}, // [1][0], [1][1]...
  14. Thread: Hi

    by -Adrian
    Replies
    6
    Views
    757

    Please start new threads for questions, and don't...

    Please start new threads for questions, and don't mix different topics in a single thread. Make your questions as precise as possible. Also, don't ask other users to do the research for you, the...
  15. Replies
    16
    Views
    856

    32 16 8 4 2 1 0 1 1 0 1 1 27 0 0 1...

    32 16 8 4 2 1
    0 1 1 0 1 1 27
    0 0 1 1 0 1 27 >> 1
  16. Thread: Hi

    by -Adrian
    Replies
    6
    Views
    757

    Welcome! :) Feel free to post questions if you...

    Welcome! :) Feel free to post questions if you get stuck. Code goes between
    tags.
  17. Nice work, and thanks for sharing. (It was...

    Nice work, and thanks for sharing.

    (It was cases like this where the like button was a perfect, unobtrusive instrument)
  18. You're most welcome, happy coding!

    You're most welcome, happy coding!
  19. Hmm, it should work. Have you tried again after...

    Hmm, it should work. Have you tried again after rebooting? I think that might be necessary on Windows.

    And make sure the file exists in that directory. If your instructions haven't been updated in...
  20. That simply looks like W7 vs W10 difference....

    That simply looks like W7 vs W10 difference. Judging by the screenshot of your system, you can simply click New and add the path to your MinGW bin directory to the list. The order of entered paths...
  21. In C++ that's not possible, so you'd have to...

    In C++ that's not possible, so you'd have to create a new variable and assign to that (or a const&). If you query the user, you might want to consider something like this:


    UserData query_user()...
  22. Replies
    9
    Views
    553

    jlucey, a few users here actually are difficult,...

    jlucey, a few users here actually are difficult, so don't apologize.
  23. Does it work without glOrtho and using vertex...

    Does it work without glOrtho and using vertex coordinates near -1.0 to 1.0? If you plan to to do more OpenGL stuff in the future, I recommend you learn the modern OpenGL 3+ pipeline.
  24. Replies
    3
    Views
    497

    Hello newstein, in the future post you code...

    Hello newstein, in the future post you code between
    tags and see that it maintains indentation from your editor, i.e.


    #include <stdio.h>

    int main(void)
    {
    int s, j, i, r;
    ...
  25. Thread: For loop

    by -Adrian
    Replies
    2
    Views
    478

    I think that regardless of the underlying...

    I think that regardless of the underlying situation, he can benefit from nobody playing along anymore. If he's developmentally challenged, then this is a lesson he has to learn at some point. If he's...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4