LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Pointer Advancement (https://www.linuxquestions.org/questions/programming-9/pointer-advancement-392240/)

lucky6969b 12-13-2005 03:04 AM

Pointer Advancement
 
Hi,
I'd like to know how to advance char * pointer in Linux?
In Windows world, it seems to be valid, but not the case in Linux...
buff += 2;
Thanks
Jack

dmail 12-13-2005 03:20 AM

Strange, I think that is perfectly valid(if its not a const).

lucky6969b 12-13-2005 08:49 PM

Oh yes, it is... I was looking at buff[255]; sorry about it


All times are GMT -5. The time now is 01:40 AM.