?

Log in

Yeah, we should get a community icon - No Name Group [entries|archive|friends|userinfo]
No Name Group

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Yeah, we should get a community icon [Nov. 8th, 2004|08:20 pm]
No Name Group

nonamegroup

[vintagefury]
[mood |blahblah]

Heh. It doesn't take much to get me writing. As I'm sure you've noticed by now.

Anyway, I think we should note for posterity that our main decision-making tool is rock paper scissors. That is how we decided to do a platformer. We started off thinking something with a scary-esque theme - think Castlevania - but eventually it became ninja and samurai. I suppose that's how the world works.

I'm also going to comment on my utter fear of sprite programming. Pages upon pages of hex can really put the fear of God in you.

Anyway, back to COEN 174 - I'm having issues with sscanf(). Kristen, if you have any working knowledge of sscanf() let me know.
linkReply

Comments:
[User Picture]From: lexcorpninja
2004-11-09 05:26 am (UTC)
What problems are you having with sscanf()?

I doubt I'll be of help, but you never know. If anything I can just look at the code that my group made.
(Reply) (Thread)
[User Picture]From: vintagefury
2004-11-09 06:27 am (UTC)
I'm not in lab at the moment, but IIRC...

char *data, *user, *pwd ;

data = getenv("QUERY_STRING") ;

// Querystring will look like:
// data = user=USERID&pwd=PASSWORD

sscanf(data, "user=%s&pwd=%s", user, pwd) ;


I believe that's what it was. Not sure what's wrong.
(Reply) (Parent) (Thread)
[User Picture]From: lexcorpninja
2004-11-09 07:14 am (UTC)
sscanf (data, "user=%s&pwd=%s", &user, &pwd);

maybe?
(Reply) (Parent) (Thread)