User profile: Peter87

User info
User name:Peter87
Website:http://dataapa.net/
History
Joined:
Number of posts:8125
Latest posts:

What is wrong with this code
The size of the container is not a valid index so you need to use < instead of <=. [code] for (int ...

How to fix this in Linear Search?
[quote=Chervil]This would be better: [code] while (array[inc] != search [b]&&[/b] inc < N)[/code...

How to fix this in Linear Search?
I'm talking about the loop that do the linear search.

How to fix this in Linear Search?
You have a problem with the loop condition going out of bounds.

Why ifstream unable to read csv data ?
Just ignore what I said earlier. I wrongly assumed, based on the name, that a CSV file was just a li...

This user does not accept Private Messages

User: Peter87

  • Public profile