Didn't work, when I press any button the content disappears, and it doesn't print anything after.
Type: Posts; User: wolfrose
Didn't work, when I press any button the content disappears, and it doesn't print anything after.
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...
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.
...
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...
Yes, I really appreciate your help.
This is the repository:
GitHub - eagl1/thread_task_coroutines_manager: not complete version of the project
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...
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...
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...
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...
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...
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...
I'm working on this one:
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
#include <inttypes.h>
OK, got this code to work.
/* Title: library manager
Date: Mon, 11 Jun 2021
*/
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
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) -...
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...
I'm writing a small threading manager for microcontrollers and having problems in referencing pointers to void :)
Hi,
I want to get a pointer to a list of data that should be a list of arguments.
These are header stuff:
...
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...
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...
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...
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...
So is recursion a good programming practice or I better use function pointers and callbacks from a manager function ?
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...
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...
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...