Ask your own question, for FREE!
Computer Science 23 Online
OpenStudy (anonymous):

Just curious if I can get some input from some people...

OpenStudy (anonymous):

So, I have a program that uses some multi-dimensional arrays (don't run away yet vector people) and it runs PERFECTLY and everything on my computer (Macbook Pro with Netbeans IDE (the one I needed for a class and I haven't changed) but when I try to compile it using the terminal (as I need to put it on Condor at my university and it only uses linux) I get all sorts of errors dealing with array bounds. I have all the integers that are the bounds declared as "const int myvar = whatever" and I don't get any issues on my computer. I thought maybe different versions would cause issues so in my functions instead of like S[][l][m] I did S[k][l][m] (which, from what I've read is just "overkill"). I don't understand what is causing this problem and I can't move forward until I do. Can anyone help me?

OpenStudy (anonymous):

what kind of error? (past your errors with your message please) if you copy your application as netbeans application, some times you must specifi the classpath parameter with java or javac in the terminal; if it's work with netbeans, it's will work on terminal; but you must specifi other parameter purhapse; Look this link for more dettail of javac and java parameter docs.oracle.com/javase/1.5.0/docs/tooldocs/solaris/javac.html hope that's will help you Good Luck

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!