Search:

Type: Posts; User: wolfrose

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Didn't work, when I press any button the content...

    Didn't work, when I press any button the content disappears, and it doesn't print anything after.
  2. How to clear the window content and print new content ?

    Hi,

    I'm trying to develop a simple program to do the following:

    Develop main menu, then list some buttons and each button print a content.
    There should be a 'main_menu' button on page1 and...
  3. Replies
    12
    Views
    4,636

    Hi, I'm progressing in the code, I guess I...

    Hi,

    I'm progressing in the code, I guess I have to do things without a debugger.

    I just thought that I can find or set the debugger to step into every instruction or step of the program.
    ...
  4. Replies
    12
    Views
    4,636

    I gave up searching for a debugger, and continue...

    I gave up searching for a debugger, and continue on CodeBlocks without trying to get a more deeper debugging mechanism.

    I tried CLion, the debugger worked better but I had to remove parts of the...
  5. Replies
    12
    Views
    4,636

    Yes, I really appreciate your help. This is...

    Yes, I really appreciate your help.

    This is the repository:
    GitHub - eagl1/thread_task_coroutines_manager: not complete version of the project
  6. Replies
    12
    Views
    4,636

    Hi Schol-R-LEA-2...

    Hi Schol-R-LEA-2 thank you for the wonderful answer. But it's a bit difficult for me to comprehend everything in your answer as I haven't searched about debuggers before, and actually the debugger...
  7. Replies
    12
    Views
    4,636

    I used breakpoints, but the debugger doesn't stop...

    I used breakpoints, but the debugger doesn't stop and continue to run.

    Yep, I'm trying to develop a simple thread/task manager using similar macros like coroutines, and this is where debugging...
  8. Replies
    12
    Views
    4,636

    How to debug every instruction of the code ?

    Hi,

    I'm trying to debug a code I'm working on using CodeBlocks.

    The code uses the windows GetTickCount, coroutines and other macros.

    But when I start the debugging session, I step into like...
  9. Replies
    2
    Views
    1,501

    Yes, that's my post in that forum. As the...

    Yes, that's my post in that forum.

    As the thread got really long and there's only one member who is helping me and the member helped me a lot so far and I still have issues in the code, but I...
  10. Replies
    2
    Views
    1,501

    Not consistent coroutines code results

    Hi,

    I was learning about coroutines and I like it beside I did a similar code using void pointers which contain a lot of casting, so I for now like the coroutines more.

    I did a small example on...
  11. OK, I want to get the timer counting mode not...

    OK, I want to get the timer counting mode not time elapse mode as with the timeout.

    I want the timer to run in the background and start running, counting from 0 to overflow and start again, not...
  12. I'm working on this one: #include...

    I'm working on this one:


    #include <windows.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <stdint.h>
    #include <stdbool.h>
    #include <inttypes.h>
  13. OK, got this code to work. ...

    OK, got this code to work.



    /* Title: library manager
    Date: Mon, 11 Jun 2021
    */
    #include <windows.h>
    #include <stdio.h>
    #include <stdlib.h>
  14. Thank you so much for the links ! I tried the...

    Thank you so much for the links ! I tried the snippet and it worked, I got the timeout action.

    But I want a simpler one, so I tried the "SetTimer" in this link:

    SetTimer function (winuser.h) -...
  15. How to implement software timers for C GNU code ?

    Hi,

    I searched and tried to compile some snippets and example codes from online but faced some problems.

    Last one, this:

    Timer framework in C - Code Review Stack Exchange

    But got this...
  16. I'm writing a small threading manager for...

    I'm writing a small threading manager for microcontrollers and having problems in referencing pointers to void :)
  17. malloc different types of data and a pointer to array

    Hi,

    I want to get a pointer to a list of data that should be a list of arguments.

    These are header stuff:
    ...
  18. I liked the "toys" description :biggrin: Yes...

    I liked the "toys" description :biggrin:

    Yes of course without OS, one has to read the datasheet and write the device drivers for that chip.

    Arduino; for example, is doing this by installing...
  19. Yes, I got you, you mean that the hardware is...

    Yes, I got you, you mean that the hardware is something done which is the CPU and how it handles tasks, that's the hardware part.

    But for the software part, it is the way how the core main...
  20. OK, so my understanding for the desktop running...

    OK, so my understanding for the desktop running concept is that windows is built over a kernel written in C.

    So the kernel of the CPU is the one that do the algorithms, logic and arithmetic...
  21. How a CPU with multi-core architecture run kernel with one main function ?

    Hi,

    I hope it's the right forum to ask this question, I was doing a simple microcontroller session and one asked me this question which I didn't expect actually ;)

    He asked me why in a C...
  22. So is recursion a good programming practice or I...

    So is recursion a good programming practice or I better use function pointers and callbacks from a manager function ?
  23. It means like "hopefully" in the Arabic language,...

    It means like "hopefully" in the Arabic language, also; like, for sake of God, for the love of God ... etc. Arabs also have religious phrases like any other regions in the world :) I hope it's not a...
  24. I found this link which talks about the goals I...

    I found this link which talks about the goals I want to reach for God's will.

    Arduino Linked List Menu for LCD | Arduino | C++ Programming | Freelancer

    Yes, I want a code that manage the writes...
  25. I checked the optimizations in codeblocks, there...

    I checked the optimizations in codeblocks, there are 11. Which one to use ?

    Also, went to the gcc website, this link, there are a lot of stuff here:

    Optimize Options (Using the GNU Compiler...
Results 1 to 25 of 84
Page 1 of 4 1 2 3 4