Message from C, C++ discussions

January 2020

— This is not necesarilly a "proof of concept"

— 

Writing an SMM code, for example? How would I test my code without running it on a real hardware (system testing)?

Should I code a intel PCH100/PCH200 emulator?

— I know there is EDK2 and Ovmf which can be run inside an emulator, but they still won't emulate REAL chipsets found on real motherboards

Message permanent page

— It's a niche topic, of course software should be tested. I worked as an test engineer in a software company before

Message permanent page

— I guess that's better than no testing at all

— Yeah of course it is! But platform-specific stuff still cannot be tested with it

— No, thats just bullshit, cause there are hardware bugs that some emulator may or may not have

— Good evening. I've only been using C ++ since yesterday and I'm having some minor problems: I saw "return 0" on the web but I didn't understand what it is for. In addition I don't understand how to convert an int variable into a string variable and lastly because when I click I send the code does not go on like in Python. sorry for my english but i'm italian

Message permanent page

— 1. return 0 just retuns a number 0 from current function.
2. int a = 1; std::stringstream ss; ss << a; string intstring = ss.str();
3. you need to compile the program to run it

Message permanent page

— What the fuck

— ? ? ?

— I am from Finland. No entiendo Italian