5.4. Using Your New Component

  1. Change directories to student-src/components/examples and edit task3_rc. This file will assemble and run an application using all of the new components you've created. However it includes lines for both versions of the driver component, and probably you've only implemented one. So you will need to comment out all of the lines which refer to the driver component you did not implement.

  2. Run the script with ccafe-single --ccafe-rc task3_rc. It should run without errors and give you a result of Value = 0.250010.

  3. Feel free to modify task3_rc to assemble applications with different components. The beginning of the rc file loads the palette with all of the available components and creates an instance of each. See Chapter 2, Assembling and Running a CCA Application for further information and ideas for other “applications” you can construct.