12.07.2015 Views

CAD in Civil Engineering - Baustatik-Info-Server

CAD in Civil Engineering - Baustatik-Info-Server

CAD in Civil Engineering - Baustatik-Info-Server

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Page 10 Computer Languages for Eng<strong>in</strong>eer<strong>in</strong>g - SS 13• DebuggerTo check an application the executable can be started with<strong>in</strong> a debugger program. The commonfeatures of a debugger are supported.The disadvantage of the Open Watcom suite is, that the three regarded components are not <strong>in</strong>tegratedwith<strong>in</strong> one application. Figure 1.4 shows the one and only source file of the famous hello world appliaction.Double click<strong>in</strong>g the source file <strong>in</strong> the manager will start the editor application (see figure 1.4).Figure 1.4: Watcom-IDE-ManagerIf standard FORTRAN 77 is used, format<strong>in</strong>g could be a problem, because Open Watcom 6 does not supportany format<strong>in</strong>g highlight<strong>in</strong>gs. So we use a format<strong>in</strong>g comment, which marks the first 7 columns of sourcel<strong>in</strong>e. You have to be careful too with the comment columns start<strong>in</strong>g with column 73. This commentcolumns also are not marked with<strong>in</strong> the cod<strong>in</strong>g.If the program sources are compiled, the l<strong>in</strong>ker creates the executable l<strong>in</strong>k<strong>in</strong>g the object files 7 with thelibraries. To check the executable the debugger can be started from the Watcom-IDE-Manager. Figure1.6 shows a debugger session to check our famous startup example hello world.6 Here we talk about the version 1.8.7 Object files are compiled source files, created by the compiler.E. Baeck

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!