Sponsored Content
Full Discussion: Need some help with this...
Top Forums Programming Need some help with this... Post 302138234 by porter on Sunday 30th of September 2007 04:13:33 PM
Old 09-30-2007
Quote:
Originally Posted by Legend986
One weird thing is that when I try to print out the elements in the paths array, it says there are atleast 9 but when I use sizeof(paths) I get 4... What could be the reason for this?
You are getting the size of the pointer, not the number of elements in the array.
 
All times are GMT -4. The time now is 09:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy