Contains the source code from the course work throughout my undergraduate Computer Engineering degree at Brigham Young University. There is a mixture of Go, Python, C, C++, Java, VHDL, Verilog, Matlab, Bash, Assembly, etc..
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines

  1. TITLE TA Test Driver
  2. @echo off
  3. del Student_code\circle.cpp~
  4. rem setting up environment variables needed for VS compiler
  5. call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86_amd64
  6. rem compiling the .obj
  7. cl /EHsc /Fedont_run_me.exe Student_Code\*.cpp ignoreme.lib
  8. rem if compilation failed, goto error section
  9. if ERRORLEVEL 1 goto error
  10. rem cleanup unnecessary generated files
  11. del *.obj
  12. rem run the driver in another window
  13. .\dont_run_me.exe
  14. del dont_run_me.exe
  15. pause
  16. exit
  17. :error
  18. rem remove any generated files
  19. del *.obj
  20. echo ----------ERROR--------
  21. pause
  22. exit