Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~305 People Reached
Favorite Forums
Favorite Tags
c x 13
Member Avatar for martinjcloud

Hello, could someone help me create a program that will take in separate strings from a user and then output it all on one line in random order? This is what i have so far: [CODE] #include <stdio.h> #include <string.h> #include <stdlib.h> int compareStrings(const void *pStr1, const void *pStr2) { …

Member Avatar for jephthah
0
126
Member Avatar for martinjcloud

Hi im trying to allocate memory using malloc(). Also, im trying to make a copy of the string before i allocate it. So im using strcpy(). But im still having issues with compiling it. please help!! [CODE] #include <stdlib.h> #include "setup.h" char *run( const char * const str ){ strcpy(str) …

Member Avatar for martinjcloud
0
135
Member Avatar for martinjcloud

Hello, I'm fairly new to C. But my question is simple. I am creating a program that will take in 4 characters from the keyboard(1 at a time). Then it will display these 4 char on one line but in order as they were inputted. (In one print function).What code …

Member Avatar for Salem
0
44