NetBeans 7.3 Sample Project: Welcome
On each build, store output of 'date' immediately as BUILD_DATE variable.
Print string and contents of BUILD_DATE to console.
Add compiler option to NetBeans "Project Properties" as shown in "Compiler_Option.png",
Add print statement to "welcome.cc",
NetBeans generated the rest.