English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: ajk
Forum: Coders. C/C++ 19 May 2017, 15:29
Replies: 20
Views: 3,459
Posted By ajk
That's probably easiest. It should only be a few...

That's probably easiest. It should only be a few lines of code. Someone on StackOverflow suggest this:


char *strdup (const char *s) {
char *d = malloc (strlen (s) + 1); // Allocate memory...
Forum: Coders. C/C++ 19 May 2017, 14:42
Replies: 20
Views: 3,459
Posted By ajk
I don't think strdup() is a standard function....

I don't think strdup() is a standard function. POSIX maybe?
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT +2. The time now is 18:37.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.06235 seconds with 10 queries