Message from C, C++ talks

June 2019

— Sp many .h headers and a class after them... is it C or Cpp?

— What do you mean with reverse a number?

— 523 => 325

— Would you mind making me a breakfast?


Can anyone help with this piece of code ? input format can be found here :

— Sir can you help

— You can use fgets(str, fp) where the string is str and fp is the file pointer.. From fopen(filename, mode)

Message permanent page

— But if we want to read from input during run time?

— And not from a file?

— Https://

— Try using printf(" %[^\n] ",....);

— %[^\n]%*c works. but why is the asterisk placed before c and not before \n ??

— Don't place *c

— Just try this

— This works