Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #4K
~1K People Reached
Favorite Forums
Favorite Tags
Member Avatar for dondajr

Hi everyone o/ How can I concatenate a no print char from the ASCII on my string? For example: I have the str1 = "Jhon" and str2 = "Lucas" I wanna concatenate the special char 01 ( SOH) between the str1 and str2. can anyone help me? I hope so..!! …

Member Avatar for dondajr
0
275
Member Avatar for wot

Hey guys, I'm new to C and I am trying to find a way to create a file with the following array: [code] char peer1_0[] = { 0x0c, 0x4c, 0x08, 0x00 }; [/code] The original array has a lot more data, but I am just needing a simple example or …

Member Avatar for Kurt Kubing
0
153
Member Avatar for Kurt Kubing

I've been looking for the thread re swapping values of two string pointers but I couldn't findit and I don't know if it has already been solved. Assuming it's still on the lines waiting, I think I've got the simple code to solve it: [code=c]#include <windows.h> void swap(LPCTSTR*,LPCTSTR*); int WINAPI …

Member Avatar for Dream2code
0
123
Member Avatar for Kurt Kubing

How can I obtain font properties thru a font file (*.otf;*.ttf or PostScript fonts)?

Member Avatar for Dream2code
0
121
Member Avatar for Kurt Kubing

I'm Kurt Kubing, male, proudly married with a cute & beautiful 7 month old daughter. I've writing programs for a while but I think I still can't afford to call myself a professional programmer. I write apps mostly for my own use and sometimes to collect some money from some …

Member Avatar for efmesch
0
148
Member Avatar for rcbhat

Hi, this is the code that I have to swap two strings- [code=C] void swap(char *,char *); main() { char *x="new"; char *y="word"; char *t; swap(x,y); printf("(%s,%s)",x,y); } void swap(char *x,char *y) { char *t; t=x; x=y; y=x; } [/code] output- (new,word) Why is the swap function not swapping the …

Member Avatar for tuse
0
265