Skip to main content
8 events
when toggle format what by license comment
Feb 8, 2017 at 15:59 vote accept NachoMiguel
Feb 8, 2017 at 15:51 comment added realUser404 Yes. My sample code is something you would use in C when array1 is a char*. You can just change the condition to something like while (i < array1.size()). As a habit my answers contain code which is rather pseudo-code as the goal is for you to understand what the code is supposed to do, and not just copy/paste it
Feb 8, 2017 at 15:47 comment added NachoMiguel im getting this error: "IndexOutOfRangeException: Array index is out of range." in this line while (splitWord[i] != '\0') //parse the whole array........Any idea what could be happeniong??
Feb 8, 2017 at 15:21 history edited realUser404 CC BY-SA 3.0
edited body
Feb 8, 2017 at 14:16 comment added realUser404 I edited my answer to show you how to find that
Feb 8, 2017 at 14:15 history edited realUser404 CC BY-SA 3.0
added sample code
Feb 8, 2017 at 14:13 comment added NachoMiguel actually that is not a bad idea, The problem is that i don´t know how to find at wich index is in the 1st array. My main problem is code wise cause like i said i m just strating with code
Feb 8, 2017 at 14:10 history answered realUser404 CC BY-SA 3.0