Message from C, C++ talks

June 2019

— Why is it impossible? Can you give an example that doesn't compile, but should in your opinion?

— For example:

Message permanent page

— Ah, I see, I thought it's possible 😅

— Several hours ago I was too :D


Just to say, in my projects, the default constructor depends in other constructors, not the other way around. I think of it as "there should be a delegating constructor that can do the same job as the default one but with default parameters"

— Sorry, can't get it. Can you show an example? Are you using default constructor as delegating? But it has no parameters.

Message permanent page

— What you're doing is printing the pointer to the file descriptor. It not what you want probably. I'm not familiar with C-way of reading files, but maybe this will be helpful.

Message permanent page

— It's stdio.h (standard I/O) not studio.h.

— /rules

— Click on the button to see the chat rules!

— I'm no expert, but I think you could reduce the verbosity in the member initializer lists by using default member initializers

Message permanent page

— Thanks, was thinking about it too.

— Nope. Default constructor delegates in other constructors

— Hi here.

— Please need courses on artificial intelligence in C ++