Skip to content

Conversation

@andrea216ac
Copy link

No description provided.

@andrea216ac
Copy link
Author

andrea216ac commented Nov 2, 2025

programma per convertire un valore decimale in un binario.
NOTA: usato using namespace std

@andrea216ac andrea216ac closed this Nov 2, 2025
@andrea216ac andrea216ac reopened this Nov 2, 2025
@Picred
Copy link
Collaborator

Picred commented Nov 2, 2025

controlla il workflow codestyle


cout << "Il numero: " << x << " in binario è " << binary << endl;

return 0;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Potresti incrementare la leggibilità del codice con la seguente modifica:

#define EXIT_SUCCESS 0;
Suggested change
return 0;
return EXIT_SUCCESS;

Oppure quelle definite già nell'apposita libreria

@Helias
Copy link
Member

Helias commented Nov 2, 2025

il workflow codestyle ancora fallisce

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.

3 participants