Changes

Jump to: navigation, search

Project R0.1 20133 - OOP344

1,313 bytes added, 12:00, 16 October 2013
How to Compile
=Due Dates=
* Monday Wednesday Oct 7th9th, 23:59
=Help=
==Blog Posts==
*Issues when compiling cio_test object.
:[http://thatdude22.wordpress.com/2013/10/09/submission-issues/ The error]
 
*Cannot use printf and cout function Problem.
*:[http://mikesayhi.wordpress.com/2013/09/27/cannot-print-any-text/ Sehui's Code]
*Ran into some issues with the compiler not being able to find the "ncurses.h" file. This might help if anyone is experiencing the same issue on linux.
*:[http://codegenetix.blogspot.ca/2013/09/fatal-error-ncursesh-no-such-file-or.html Haysean's Blog]
 
*I seem to not be able to get past test 4.10 (RESOLVED) - check blog for more info
*:[http://bradc14.wordpress.com/2013/10/04/test-4-10/ Brad's Blog]
 
*For some reason the compiler is not accepting the static deceleration in the cpp file and is saying "It's a non static member"
*:[http://sgrybas.wordpress.com/2013/10/07/declaring-static-variables Saul's Blog]
 
*Test #4.2 and #4.17 look the same except their return key. 4.2 wants to error be fixed and return 'RETURN' key whereas, 4.17 wants the same error be fixed and return '0'. Any idea about that?
*:[http://m-aryafar.blogspot.ca/2013/10/assignment-1-ciotester-test-42-vs-417.html Mohammad's Blog]
 
*Test 4.2 - What are we suppose to be checking for? Also mild display issues
*:[http://sgrybas.wordpress.com/2013/10/09/keep-failing-test-4-02 Saul's Blog]
 
* submit trouble. After I've passed all of test, I can't send a mail.- solved (use extern)
*:[http://mikesayhi.wordpress.com/2013/10/09/linux-makes-me-sick/ Sehui's Blog]
 
*Having trouble passing tests 4.17 and 4.18. The tester is giving me conflicting information (RESOLVED)
*:[http://codegenetix.blogspot.ca/2013/10/test-4.html Haysean's Blog]
=Learning Outcome=
*: ''As mentioned in class using tab character in your text editor makes the indentation of your code different in different editors, please make sure before submission you go to the settings of your development environment and make sure it uses spaces instead of tab character.'' -->
==Tester Demo==
TBA<!--To see how tester runs, you can run on Matrix .senecacollege.ca (only use putty with the setting stated at [[#Notes|Notes]]) run:
<big><pre>
$ ~fardad.soleimanloo/cio_test
</pre></big> -->
==How to Compile==
Compile and test your code with the [https://github.com/Seneca-OOP344/20133notes/blob/master/cio/cio_test.cpp test-main], in the following command-line environments and visual studio.
Local PC: Borland 5.5
bcc32 bconsole.cpp console.cpp coi_testcio_test.cpp
Local Mac: (use -lcurses to link curses library)
c++ bconsole.cpp console.cpp coi_testcio_test.cpp -lcurses -Wno-write-strings
matrix: GNU (use -lncurses to link ncurses library)
Local PC: Visual Studio.net
=== Tester Program ===
<!--*Tester program is at : '''git://@github.com/:Seneca-OOP344/20132notes20133notes.git (Notes repository) in '''TesterPrograms''' directory, in /cio/cio_test.cpp *repo path:<br[https:/>/github.com/Seneca-OOP344/20133notes/tree/master/cio cio]*:[https://github.com/Seneca-OOP344/20132notes.git 20132notes]20133notes/blob/master/TesterProgramscio/cio_test.cpp -->cio_test.cpp]
==How to submit==
TBA<!--For submission , ; first your solution must compile, link, and run without errors /warnings in each environmentall environments.
First pull the changes of the two files bconsole.cpp and bconsole.h to version 1.03 (jun 1, 2013) from the conui directory in notes repository of your section. Test your program with cio_test.cpp from the same conui cio directory stated abovein 20133Notes repository on GitHub (V0.95.2). When your program passed all the tests; log on to matrix.senecacollege.ca (using putty), and create a directory and copy all the source files (console.cpp, console.h, bconsole.cpp, bconsole.h) into it. Then change the working directory to the newly created directory (CD to the new directory). Then issue the following command by copy cio_test.o from "and pasting it to the putty terminal screen:<big><pre>cp ~fardad.soleimanloo" and then compile your code with your Fardad's version of cio_test (i.e /cio_test.o) and run it. If all the tests are passed successfully, an email will be sent to your Fardad automatically with your source code (console; c++ bconsole.h and cpp console.cpp) attached to itcio_test.o -lncurses -Wno-write-strings 2>result.txt; cat result.txt</pre></big>
to This will copy the cio_test.o execute the following on matrix.<br />From the tester object file to current directory containing all source files: $cp ~fardad.soleimanloo/cio_test.o .to , compile the your code:and dump any possible error/warning $ g++ bconsole.cpp consolemessages into the file result.cpp cio_testtxt.o -lncurses -Wno-write-strings<br />
This should not generate any warnings.<br />
To run the test (with automatic submission), execute: $ a.out TeamNameWithNoSpaces Team Member names separated with commas X <ENTER>Examplewhere X is your section, so if you are in section B it would be: $ a.out Team-X Fardad Soleimanloo, Joseph Hughes, Homer Simpson, Apu Nahasapeemapetilon B <ENTER>-->Run the test to the end and if everything is ok, an email will be sent to your professor with your assignment files, and compile result attached.

Navigation menu