User Tools

Site Tools


labpage

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
labpage [2020/12/20 17:16] aboelazelabpage [2020/12/21 02:23] (current) aboelaze
Line 199: Line 199:
 Lab 8 is here {{:lab_8.pdf|Lab 8}}  {{:write.c|write.c}} Lab 8 is here {{:lab_8.pdf|Lab 8}}  {{:write.c|write.c}}
  
-**//T name format is fname <space> lname//**  here is one example of the dat.txt file {{:dat_1.txt|here}}+**//T name format is fname <space> lname//**  here is one example of the dat.txt file 
  
 For example, you do For example, you do
Line 214: Line 214:
 **Solution**  {{:read.c|lab8.c}} **Solution**  {{:read.c|lab8.c}}
  
-Here is the data file +Here is the data file [[http://www.eecs.yorku.ca/~aboelaze/dat.txt|dat.txt]] 
 + 
 +**IMPORTANT** 
 + 
 +before contacting test your code.  How 
 + 
 +It is a little bit problematic for me to upload a binary file here, so compile and run this program {{:makeinput.c|makeinput.c}} using this input file {{:input.txt|input.txt}} 
 + 
 +This means, compile the C file and run it as 
 + 
 +a.out < input.txt 
 + 
 +That generates the dat.txt file that you will read it in your lab. 
 + 
 +Then run the code you submitted 9after compiling it of course as such 
 + 
  
-how to run your code 
  
      a.out -count      a.out -count
Line 232: Line 247:
 **case 1** **case 1**
  
-5+4
  
 **case2** **case2**
Line 259: Line 274:
 4567    Leslie Rider    A 4567    Leslie Rider    A
  
-**//Before//** you contact the TA ( parhammh@eecs.yorku.ca ) check your code with the given files 
  
  
labpage.1608484610.txt.gz · Last modified: 2020/12/20 17:16 by aboelaze

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki