This question was migrated from Super User because it can be answered on Stack Overflow. Migrated 1 min ago. I’m writing some code in C and ran into an issue- even though I have the sys/stats.h header defined, when I use S_IFREG, it gives me the error “use of undeclared identifier ‘S_IFREG’. After googling, it ..
Tag : c++
enter image description here
it was working fine till evening but now every time i run a code this error throws out and gives no o..
I have QMDIArea with sub windows.
I have no issue “re implementing” close event when specific sub window “X” is clinked.
I need to “re tile” the QmdiAea after the sub window is c..
I have a custom IDP (identity provider) on which applications that support saml or open id connect can be configured (like redirect URL etc..) once the application is configured we get a certificate (.cert) this certificate can be then uploaded to the applications admin portal to configure SSO.
Applications i am referring to are windows apps installed onto a d..
With an equation like..
I’ve come across this single file algorithm for converting float to ASCII string, and what doesn’t make sense to me is the comment at th..
I know OOP a little bit in different languages, but i don’t know how it’s work below code. Both codes are same right? If it is why do we use Code 1 instead of C..
This question is out of my expertise. How do you recover, midstream, from a stack overflow overrun in “C”.
Where you are using a character variable declared as charstring[12], and you move 12 character; where you only have space for 11 characters. Now, How do you detect a stack overflow overrun midstream. If you do detect an overrun, how do you fixe the problem and carry on as normal?? The way I’m doing it is..
I’m developing a C program to identify and count chemical elements in formulas. The code was working perfectly fine for handling groups like (SO4)3, but I’m encountering issues with interpreting numeric coefficients before elements or groups, such as 2Fe or 5H2S. I modified the identifyCompound function to try to handle numeric coefficients before compounds or elements, but the result is not correct.
The void function works for the input: Fe + H2SO4 = Fe2(SO4)3 + H2S + H2O
But it fails for the input: 2Fe + 2H2SO4 = 2Fe2(SO4)3 + 2H2S + 2H2O<..
You are given a string letters made of N English letters. Count the number of different letters that appear in both uppercase and lowercase where all lowercase occurrences of the given letter appear before any uppercase occur..