devxlogo

May 3, 2006

Escape Sequences in .NET Resource Files

Displaying strings from.NET resource files may be a puzzle if the strings include escape sequences. For example, take the newline (linefeed) character. Suppose you want to display a hardcoded text

Reading Multiple Variables Simultaneously

Suppose you want to input name, age, and grade from the console. You may write: string name,int age;int grade;cin >> name;cin >> age;cin >> grade; But it’s also possible to

Signing a .jar File in Java

Everyone wants their applications to be secure and to disallow unauthorized changes. Java makes this task relatively easy for developers and deployment teams with the jarsigner tool. Assuming you have