- Delete all of the default code from the edit pane.
- For the initial test, enter the code from
Listing 1 in the edit pane.
- Select Project/Project Options and select the Parameters tab.
- Click Add Library or Object
- Navigate to and double-click the library file named liballeg.a. On my machine,
I would navigate to and double-click C:\ProgFile\DevCpp\lib\liballeg.a
- Click Ok to close the Project Options dialog
- Select Execute/Compile & Run (or simply press the F9 key).