Skip to content

feat(verify.cpp): implemented array search#455

Closed
Giuseppe-Tornello wants to merge 4 commits into
UNICT-Quality-Development:mainfrom
Giuseppe-Tornello:verify
Closed

feat(verify.cpp): implemented array search#455
Giuseppe-Tornello wants to merge 4 commits into
UNICT-Quality-Development:mainfrom
Giuseppe-Tornello:verify

Conversation

@Giuseppe-Tornello

Copy link
Copy Markdown

No description provided.

Comment thread exercises/verify.cpp
@Helias

Helias commented Nov 5, 2025

Copy link
Copy Markdown
Member

codestyle fails

Comment thread exercises/verify.cpp
cout << "The number is ";
if(!present){ //not present
cout << "not ";
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

not bad 👍

Comment thread exercises/verify.cpp
// placeholder
int N[10] = {3, 4, 5, 1, 2, 3, 4, 9, 13, 0};
int N[] = {3, 4, 5, 1, 2, 3, 4, 9, 13, 0};
size_t arrSize = 10;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

dimensione t mi è sempre sembrato poco chiaro e significativo come "nome" del tipo
di fatto è un unsigned long, non so quanto convenga usare size_t rispetto ad altri tipi

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