How am I supposed to know what it is? You want it translated. You've shown no effort to translate it. The implication is that you want it translated for you (you sought a tool). That's a service. You haven't asked a single question regarding how Java does things, versus C. All you've done is presented a C program that won't even compile on many platforms.