Message from C, C++ discussions

December 2019

— Then programming it's not your thing.

— 

I´ve seen horrible things in my life:

auto add_floats(float a, float b) -> float {

return a + b;
}

auto main(void) -> signed {

float* a = new float(3.14f);
float* b = new float(2.44f);
float* c = new float();
*c = add_floats(*a, *b);
delete a, delete b;
print("%f", *c);
delete c;
}
I dont know who wrote this but I would call him the Dynalloc Psycho!

— The beep test is an exercise designed to measure aerobic fitness

— Mhhh

— Is this your help? Okay

— Come on guys - stop beeing so toxic

— No one knows?

— Is it an error or a warning?

— Error:

error C4996: 'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
note: см. объявление "scanf"

Message permanent page

— It says it pretty clear. Your compiler doesn't like scanf

— Missed a returned value

— Hey guys I already know C language and now I want to extend my knowledge to C++ so which book is best to start learning C++ best in the sense which gives reference and comparision with C and not covering same topic in depth again like pointers, arrays etc..

Message permanent page