PDA

View Full Version : using visual J#


UrbanXrisis
Sep11-04, 11:53 PM
I'm new to using Visual J# and I have not a single clue of how to use it. I've been using BlueJ for compiling Java but I'm tring J# now. I have Visual J# 2005 Express Edition Beta all up and running, now I want to compile something but I dont know where to begin. I tried to compile something but the debugger always tells me that "No source file supplied." Does anyone have some basic code that I can compaire my code with or any hints to help me out in this situation? Thanks

UrbanXrisis
Sep12-04, 01:27 AM
For example, I could not
get this code to compile:

class program5 {
public static void main(String args[ ]) {

int result=1,digit=1;

do {
if (digit<7000){
System.out.print("2 to the power of "+digit+" = "+result+"\n");}
result=result*2;
digit++;
}while (result<70000);

}
}

This compiles of course under Sun Java. How do I do the same with J#?