Tag : 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..

Read more

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..

Read more

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<..

Read more