AF
Size: a a a
AF
AF
SP
INT_PTR CSomeDialog::DoModal() throw() {
try {
return CDialog::DoModal();
}
catch(...) {
GUI::ShowDialog(_T("IDS_ERROR");
CDialog::OnCancel();
return IDCANCEL;
}
C
INT_PTR CSomeDialog::DoModal() throw() {
try {
return CDialog::DoModal();
}
catch(...) {
GUI::ShowDialog(_T("IDS_ERROR");
CDialog::OnCancel();
return IDCANCEL;
}
SH
INT_PTR CSomeDialog::DoModal() throw() {
try {
return CDialog::DoModal();
}
catch(...) {
GUI::ShowDialog(_T("IDS_ERROR");
CDialog::OnCancel();
return IDCANCEL;
}
SH
SP
SP
A
C
A
CRGB leds[NUM_LEDS];
class SimpleClass {
private:
CRGB _leds;
public:
SimpleClass(CRGB *leds);
};
SimpleClass simple(leds);
BB
CRGB leds[NUM_LEDS];
class SimpleClass {
private:
CRGB _leds;
public:
SimpleClass(CRGB *leds);
};
SimpleClass simple(leds);
Е
CRGB leds[NUM_LEDS];
class SimpleClass {
private:
CRGB _leds;
public:
SimpleClass(CRGB *leds);
};
SimpleClass simple(leds);
for (int i = 0; i < size;++i)
{
std::cout << leds[i];
}
A
Е
D
operator &()
😁AS
SH
CRGB leds[NUM_LEDS];
class SimpleClass {
private:
CRGB _leds;
public:
SimpleClass(CRGB *leds);
};
SimpleClass simple(leds);
void foo(int* arr, size_t size)
{
for (size_t i = 0; i < size; ++i)
{
// do smth with arr[i]
}
}
int arr[5];
foo(arr, 5);
Е
operator &()
😁A