Home
Schedule
Information
Details
FAQ
VA
Final
Full
Full Nums
Problem Set
Judge Data
Solutions
Contest
Details
Software
PC^2 instructions
Welcome
Rules
Hints
Computer Use
Coach Agenda
Compile
|
|
Compile methods for using IBMs Visual Age C/C++
- News Group Info
- Method for GUI
- Command Line Compile Method
News Group Info
IBM Has set up two special news groups for the ACM contest people to go and get info/ask questions about the IBM
Visual Age software. Go to news://news.software.ibm.com/ and subscribe to the ibm.software.vacpp.acm and/or the ibm.software.vajava.acm news groups. There are some neat questions/answers here.
Return to Top of Page
Latest Method
- Open IDE
- Select Create New Project and click OK
- Click Next
- Change project name to something else (abc.icc)
- Change Project Directory to c:\temp\[Project Name goes here] (abc)
- Click next and say yes to create directory dialog box
- Make sure Executable(exe) is selected and click Add Target Button
- Click Next
- Change Target Name to match (abc.exe)
- Select Win Console in the Program Type Box
- Click Ok and then Finish
- Click Yes for Open a Project Dialog
- Click Yes for compile and wait patiently
- Choose Open Or Create File from Project Workbook Menu
- Name file appropriately (abc.cpp or abc.c)
- Select Add to Project
- Make sure Add Source to Target Directive is selected
- Click Open and then Apply
- Type in source
- When finished typing in code
- Select Save Codestore from Project Workbook Menu
- Select Build from Project Workbook Menu (to compile)
- If build was successful, select Run from the Project Workbook Menu
Return to Top of Page
Command Line
- call c:\ibmcppw40\bin\setenv.bat
- vacbld filename.icc
This will allow you to compile a C/C++ source file from the command line. The .icc file is the integrated
config file. It is a lot like a Make file. Here is a simple example:
target "hello.exe"
{
source "hello.C"
}
And hello.C is:
#include
int main()
{
cout << "hello" << endl;
}
Return to Top of Page
|
|
Home
Map
Search
ACM Chapter
Computer Science
Computing Services
ACM Home Page
Intl Prog Contest
South Central US Region
Registration
2000 ACM Regional
Contest Index
|