Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. garishnikov

    Blank Line from File Input

    Hi Could anyone tell me how to test for a blank line. I have the following but it obviously doesnt work: if(*rawLine != NULL) { /* do stuff */ } where i have the declaration: char *rawLine; which points to a string. I simply want to ignore blank lines.
  2. garishnikov

    string equality

    Thanks for the help guys.
  3. garishnikov

    string equality

    so..i dont know how to test if two strings are equal. need something equivalent to ".equals()" in java, just in c. this is the code: char c[2]; do { //some code scanf("%s", c); if(c == "y") { cont = 1; } else { cont = 0; } } while(cont) Thanks
  4. garishnikov

    Java Animations/Simulations

    Hi guys, I am actually making a soccer game simulation, which will be animated in real-time almost. Can anyone point me to a book or website or something that could help me? Thanks
  5. garishnikov

    Unreported excep. IOException must be caught or declared to be thrown

    Thanks guys, Figured it out after getting up and coming back to it later. Thanks again!
  6. garishnikov

    Unreported excep. IOException must be caught or declared to be thrown

    I'm getting this message when trying to compile. This is what the code in question looks like: import java.io.*; public class User { String userName; String userHand; int handNumber; String choice; public User() throws IOException { BufferedReader theInput = new...

Part and Inventory Search

Back
Top