Jump to content
  • 0

Help at C language


java

Question


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  251
  • Reputation:   20
  • Joined:  12/22/11
  • Last Seen:  

how to make this :

function(eat)
{
nullpo_retr(-1, sd);
clif_eat (&sd->bl, salmon, );
clif_eat(&sd->bl, mie ramen, );
clif_eat(&sd->bl, ice cream, );

clif_displaymessage(fd, "eat, eat and eat ");
return 0;
}

i want to create code above to :

if i choose eat then i got random type of menu salmon or mie ramen or ice cream

should i put " || " ?? but should i put in?

ty for wathcing my case :)

Edited by java
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...