Message from C, C++ discussions

November 2019

— Still no idea

— 

Its a function that ask user if they want to make a string or integar array, Press I for int and S for string

— That character is stored in the SorI variable, which is passed in a switch

— Pass out of the two values in this enum

typedef enum{aSTRING,INTEGAR}StringorInt;

— My question is just about the default case in the switch statement

— 

do{
scanf("%c", &SorI);

switch(SorI){
case 'S':
return aSTRING;
case 'I':
return INTEGAR;
} while(true);

Message permanent page

— While(?)

— Gays plz HELP me

— I want to sort struct by the alphabet, but I made a mistake somewhere and I don`t know where

— This is a file frome where I read a data

— Please, use pastebin, compiler explorer or something else, that's too much code for a snippet

— Do ... while