Update hw4 to a newer version.
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
parent
07d34c0cd8
commit
b24a264f7e
221 changed files with 846 additions and 746 deletions
22
hw4/hw4programs/easy_p3.oat
Normal file
22
hw4/hw4programs/easy_p3.oat
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
string bar (int x, string y) {
|
||||
var s = "This is a string";
|
||||
var array = new int[]{1, 3};
|
||||
var y = array[0];
|
||||
return s;
|
||||
}
|
||||
|
||||
void proc1 () {
|
||||
proc2 ( );
|
||||
return;
|
||||
}
|
||||
|
||||
void proc2 ( ) {
|
||||
proc1 ( );
|
||||
return;
|
||||
}
|
||||
|
||||
bool foo ( int x, int[] y ) {
|
||||
var s = bar (x, "cis341");
|
||||
proc1 ();
|
||||
return true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue