Home » Messageboard »
XXX » Message 8680842
(Thread )
URGENT ANSI C help needed, please!
struct { int int string string char int } I'm taking each of those and building a string which I'm then writing to a file. I'm using itoa() and strcpy to build the string. When dealing with the char value, it's putting in the ASCII code not the letter! HELP! OMG HELP! It's 23:25 and the assignment is due at 23:59! edit: I fixed it. Inelegant but it works. Submitting assignment then off for a celebratory wank.
(
Ratsta ,
Sun 24 Aug 2008, 14:26,
archived )
ciijasiie
(
mictoboy shitting in your cunt since ,
Sun 24 Aug 2008, 14:26,
archived )
^this
(
gobbledegook blurs the line between lurking and stalking ,
Sun 24 Aug 2008, 14:30,
archived )
REROUTE THE GASPIPES!
HACK ALL INTERNETS SET CONDITION ONE THROUGHOUT THE FLEET
(
Shada ,
Sun 24 Aug 2008, 14:28,
archived )
HACK THE PLANET!
HACK THE PLAAAANNNEEEETTT!!!!
(
mictoboy shitting in your cunt since ,
Sun 24 Aug 2008, 14:29,
archived )
PUT MICE ON THE FRONT LINES
MICE WITH TITS
(
mediocre ha ha ha, you're reading this ,
Sun 24 Aug 2008, 14:33,
archived )
i can't remember that line from 'hackers'
director's cut?
(
mictoboy shitting in your cunt since ,
Sun 24 Aug 2008, 14:35,
archived )
mediocre's cut
(
mediocre ha ha ha, you're reading this ,
Sun 24 Aug 2008, 14:42,
archived )
chr(...) = the letter
if i remember correctly
(
My Ass Is On Fire due to constant gas leak ,
Sun 24 Aug 2008, 14:30,
archived )
nope :(
value but it's complaining about trying to make a pointer from an int.
(
Ratsta ,
Sun 24 Aug 2008, 14:34,
archived )
didn't touch C
for 4 years... i can't remember :(
(
My Ass Is On Fire due to constant gas leak ,
Sun 24 Aug 2008, 14:43,
archived )
sorry don't know c
:(
(
k3b/-\b Peace man. ,
Sun 24 Aug 2008, 14:37,
archived )
Been a while...
but sprintf(s , "&d %d %s %s %c %d", [struct variables] ); ought to do it.
(
tapeworm depressed beyond tablets ,
Sun 24 Aug 2008, 14:55,
archived )
Tsk tsk!
Ascii silly question, get a silly ANSI.
(
PedroHin Come along & ride on a Flantastic Voyage ,
Sun 24 Aug 2008, 15:00,
archived )
Hide
Hide post If you want to unhide this post later, click the "update profile" link in the top navigation bar, and scroll down to the bottom.
Ignore
Shush them a week You will be blisfully unaware of this user for just one week
Mute user You will not see this users messages again
Block user You will not see them and they will not see you