Timeline for strend, function that checks the occurence of a pattern at the end of a string
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 3, 2014 at 7:57 | vote | accept | cristid9 | ||
Feb 3, 2014 at 7:56 | vote | accept | cristid9 | ||
Feb 3, 2014 at 7:57 | |||||
Feb 2, 2014 at 17:48 | comment | added | luiscubal |
I propose changing char* to const char*
|
|
Feb 2, 2014 at 16:55 | answer | added | William Morris | timeline score: 10 | |
Feb 2, 2014 at 15:43 | vote | accept | cristid9 | ||
Feb 3, 2014 at 7:56 | |||||
Feb 2, 2014 at 14:25 | comment | added | Michael Urman |
The "dependency" on strlen in your second example is generally a good thing. Its reuse of existing functionality lets you focus on new problems, rather than ones that are already solved. (But it's good to know how to roll your own, too!)
|
|
Feb 2, 2014 at 14:04 | answer | added | palacsint | timeline score: 8 | |
Feb 2, 2014 at 12:33 | history | asked | cristid9 | CC BY-SA 3.0 |