English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

3 answers

Wow, not many people would know the answer to both of these.

1) Yes you can save your bc command sequence in a file and run command sequence by running the command:
$ bc filename
(where filename is the name of the file holding your bc commands.

2) No, Java does not have friend functions, however there is limited special access between classes in the same package that is somewhat reminiscent of friend classes (not friend functions). Any members not marked "private" (i.e., those marked "public" or "protected" or not marked at all) are visible by other classes in the same package.

2006-07-27 08:04:29 · answer #1 · answered by BalRog 5 · 1 0

From man bc:

bc starts by processing code from all the files
listed on the command line in the order listed

Thus you could write bc program in a text editor, save them and run them

2006-07-26 14:26:22 · answer #2 · answered by sheeple_rancher 5 · 0 2

Hmmm... These are two different questions, but I believe I can help you with both by pointing you in the right direction.
www.eclipse.org is a wonderful refrence site/SDK worth looking into.
www.onjava.com is a great site for finding answers to your every difficult question with specific information for every OS.

2006-07-26 14:20:38 · answer #3 · answered by Vicious 3 · 0 2

fedest.com, questions and answers