mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Update Linked List.cpp
fix: reverse check for empty list + cpplint coding style
This commit is contained in:
parent
7be0b8deb3
commit
2edf620f7c
@ -44,7 +44,7 @@ void remove(int x) {
|
||||
}
|
||||
|
||||
if (temp == NULL) {
|
||||
std::cout << endl << x << " not found in list\n";
|
||||
std::cout << std::endl << x << " not found in list\n";
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user