Skip to content

Conversation

@LeottaAlberto
Copy link

No description provided.

std::cout << "Insert Mounth: ";
getline(std::cin, insert);
} while(!(isCorrect = checkStringIsNumber(insert)));
return std::stoi(insert);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stessa cosa dell'altra PR, puoi mettere degli spazi, migliorare la leggibilità del codice

for(int i = 0; i < in.size(); i++)
if((in.at(i) < ZERO || in.at(i) > NINE) && in.at(i) != MINUS) return false;
if(stoi(in) > MAX_NUMBER) return false;
return true;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

idem

@Helias
Copy link
Member

Helias commented Nov 5, 2025

codestyle

@Helias
Copy link
Member

Helias commented Nov 7, 2025

il problema persiste

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants