Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Using visual J#

  1. Sep 11, 2004 #1
    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
  2. jcsd
  3. Sep 12, 2004 #2
    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");}
    }while (result<70000);


    This compiles of course under Sun Java. How do I do the same with J#?
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook