Computer Science II Calendar
Fall, 2018

Week Monday Wednesday
12
201804023

AssetManager
Animator

 

11
201804016

Check out Hopson's game engine for sfml.
PPP2-17-ex1-4

PPP2-17-3-13

10
20180409

GGVF (more virtual base class stuff)

CS7B-S18-Midterm01solns

9
20180402

We cleaned up the calculator a bit and are working towards including in the SFML graphing picture: 20180403graphingCalc

20180408aa

CS7B-S18-Project02-AlgebraArcade01

8
20180319

The midterm is a take-home due Monday 4/2.
CS7B-S18-Midterm01

buggyGcalc

The bug was in the range-based for-loop of the set and get functions of the symbol table: needed to be passed by reference!~
2018031999

Started Chapter 17: Building the vector class.


The calculator, pretty much as it was before: 20180321-calculator

The sfml sandbox, with a new blinking cursor and graphic text getter:
20180322-sfmlblinker

The project coming up is to combine the above two things with modifications to make it act like Algebra Arcade. Get the Apple II simulator here and access the DSK file to play Algebra Arcade and work on your math functions chops while you're at it!

7
20180312

Using dynamic memory allocation with new to fix potentially undefined behavior and building a more robust Function class with the calculator.

20180312

Ok, the bug in class was maybe fixed by searching stackexchange for the error message, which led to passing the string to calc() and then converting the string to a stringstream there. It doesn't crash...but it doesn't given correct answers yet, either...20180314

Ok, had to fix to_string() because it didn't work on my other machine. Made it a template function. Then...after some debugging, seems to work.20180314159, with plenty of room for improvement.

6
20180305

Well, Plans A,B and C are a fail. We are restricted to not loading from a file on the school comps. sf20180305-02

drawable


A first go at Function:
sf20180307

5
20180226

Today we found that the lab computers CB::SFML template won't load a font file. This means we may need to move to Plan B.

Meanwhile, we can build all of the struct Axis, except the label. Use the VertexArray class.

A first rendering of the Axis class in SF:
20180228

Axis01

I don't think the "Plan B" referenced last Monday is going to work. Thus I suggest we consider plan C. Make a bootable thumbdrive and use the Linux OS environment to do our SFML proggies.

4
20180221

President's Day Holiday
20180221SFML

SFML Documentation

Start in on Chapter 12. The bitwise calculator is now due. Email your .cpp file(s) to me at ghagopian@collegeofthedesert.edu

Follow the instructions in this video to install SFML on your computer and create a Codeblocks template.

3
20180212

cs7B-Quiz01-solution
Chapter 7 bubbleSort

The calculator as we left it: ppp2-7-4

Various versions of the calculator, as we left it. What's wrong with set_value in the 08buggy.cpp version? Hint: Grammar!
20180214

2
20180205

Continue to develop the calculator.
cs7b20180205

CS7B-S18-Project01-BitwiseCalc

cs7b-20180207

1
20180129

Introductions
Analyze the calculator

Here's the code we wrote in class:
main-002
As you can see, calculator00.cpp has got some logic errors. Study the code to understand how it works. When in doubt, "cout"! See if you can find the problems and fix them!