I'm trying to create a program which the user inputs the number of items (rows) and give each one of them a name (scanf) with the max of 30 characters. I want t
I'm trying to get a better understanding of the C standard. In particular I am interested in how pointer arithmetic might work in an implementation for an unusu
In case this helps somebody in the future: check if the global descriptor table is working check if the elements of page table entry struct are ordered correctl
The red bars a cross the top flickers. I can make them out of the loop but not in the loop. #include <allegro.h> void init(); void deinit(); int main() {
i'm trying to make IIR filter. I made FIR filter, but I feels IIR is more difficult than FIR. I think IIR is similar with FIR, but it made me feels confused.
I faced another problem here again with terminated by signal SIGSEGV (Address boundary error) But I found that there's an output here : Sequential elapsedTime:
I am working on a game for the 3ds and I want it to be a cmd type game (I just felt like it). I am trying to have this char move to whatever x and y int number
I am trying to read touchscreen event, in my device /dev/input/event4 is used for touchscreen, while in some other phone, event7 is used for touchscreen. I am l
It seems that currently _Thread_local is independent from __STDC_NO_THREADS__. Consequence: even if an implementation defines __STDC_NO_THREADS__ to 1, then it
struct charact { char ch; int occurs; struct charact *next; }; What is "next" in this struct exactly?
Regarding to MISRA C 2012 rule 15.4 - "There should be no more than one break or goto statement used to terminate any iteration statement." - is this example co
Here is the scenario: I have an array, AllElements of structure ElementSet, and inside of that structure - is a set of myElement structures and also an array of
#include <stdio.h> int sum_even(int n); int sum_odd(int m); int main() { int n; scanf("%d", &n); int m; scanf("%d", &m); i
I understand that, in principle, modern programming languages are intended to be used in a manner where the code written is self-documenting. However, I was tau
I have a gtk entry right below the scrolled window which has the default focus , left and right keys move the cursor in the entry ,I am able to catch the key pr
My background is Javascript, Python & a bit of Haskell. I am trying to understand callCC, there are many explanations but I can't find them trivial & I
I submitted a C Code for an homework I had and for me and my friends. It seemed to be working with no warnings. We used VSCodium and a Terminal with an textedit
I submitted a C Code for an homework I had and for me and my friends. It seemed to be working with no warnings. We used VSCodium and a Terminal with an textedit
I want to allocate physical page frames using alloc_pages() in C. I have tried that in kernel module in it works fine. I want to make the code running in user s
I am wondering how exactly printf("%d",x) is interpreted. All I know that the compiler reserve a memory to put '%','%d','\0' and returns its address to printf,