We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b76733e + 5d3f1f5 commit 54d2ee8Copy full SHA for 54d2ee8
docs/cpp/structured-exception-handling-c-cpp.md
@@ -67,17 +67,17 @@ class TestClass
67
public:
68
~TestClass()
69
{
70
- printf("Destroying TestClass!\r\n");
+ printf("Destroying TestClass!\n");
71
}
72
};
73
74
__declspec(noinline) void TestCPPEX()
75
76
#ifdef CPPEX
77
- printf("Throwing C++ exception\r\n");
+ printf("Throwing C++ exception\n");
78
throw std::exception("");
79
#else
80
- printf("Triggering SEH exception\r\n");
+ printf("Triggering SEH exception\n");
81
volatile int *pInt = 0x00000000;
82
*pInt = 20;
83
#endif
@@ -97,7 +97,7 @@ int main()
97
98
__except(EXCEPTION_EXECUTE_HANDLER)
99
100
- printf("Executing SEH __except block\r\n");
+ printf("Executing SEH __except block\n");
101
102
103
return 0;
0 commit comments