Hello,
I have spend the past day trying to figure out how to do this.
PROBLEM:
My instructor wants us to use a shapes library that horstmann wrote.
An example would be:
/////////////////////////
#include "ccc_win.h"
int ccc_win_main()
{
Line vertical( Point(-5,10), Point(-5,-10));
cwin << vertical;
vertical.move(1 0,0);
cwin << vertical;
cwin << Line( Point(-5,0), Point(5,0));
return 0;
}
///////////////////////
The problem is I don't know how to link in the file at the command
line(using borland c++ compiler). The professor said to create a batch
file to automate the process and gave us an example .bat file:
////////////////////////
bcc32 -W -If:\bigc++sourc ecode\cccfiles %1
f:\bigc++source code\cccfiles\c cc_msw.cpp
f:\bigc++source code\cccfiles\c cc_shap.cpp
//////////////////////////
I am really at a loss. How would one link in an include like ccc_win.h
at the command line? And how does one make the batch file work. He said
to just put it in the same directory as the cpp file we're compiling
but that doesn't work.
Are their any good tutorials on how to link at the command line custom
built libraries? Cause I've been googling and checking my books for
proper syntax but nothing is helping.
Problem is I don't know what to do with this. 3 2167
First person to give me a working answer gets $5 via paypal.
andrew wrote:
Hello,
I have spend the past day trying to figure out how to do this.
PROBLEM:
My instructor wants us to use a shapes library that horstmann wrote.
An example would be:
/////////////////////////
#include "ccc_win.h"
int ccc_win_main()
{
Line vertical( Point(-5,10), Point(-5,-10));
cwin << vertical;
vertical.move(1 0,0);
cwin << vertical;
cwin << Line( Point(-5,0), Point(5,0));
return 0;
}
///////////////////////
The problem is I don't know how to link in the file at the command
line(using borland c++ compiler). The professor said to create a batch
file to automate the process and gave us an example .bat file:
////////////////////////
bcc32 -W -If:\bigc++sourc ecode\cccfiles %1
f:\bigc++source code\cccfiles\c cc_msw.cpp
f:\bigc++source code\cccfiles\c cc_shap.cpp
//////////////////////////
I am really at a loss. How would one link in an include like ccc_win.h
at the command line? And how does one make the batch file work. He said
to just put it in the same directory as the cpp file we're compiling
but that doesn't work.
Are their any good tutorials on how to link at the command line custom
built libraries? Cause I've been googling and checking my books for
proper syntax but nothing is helping.
Problem is I don't know what to do with this.
andrew posted:
First person to give me a working answer gets $5 via paypal.
Yes, but is it really worth it having to go through all that Escrow
business... unless of course you're suggesting that we just take your word
for it.
--
Frederick Gotham
andrew wrote:
First person to give me a working answer gets $5 via paypal.
andrew wrote:
The problem is I don't know how to link in the file at the command
line(using borland c++ compiler).
If you post in a Borland C++ newsgroup, they'll give you the
answer for free. See http://newsgroups.borland.com/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: dynoweb |
last post by:
I have several *.sql files with schema/data changes to be applied to our
current database. Is there a way to create a TSQL script that could be run
from the SQL Query Analyzer that would sequentially call the *.sql files?
i.e.
call schemaVersionCheck.sql
call addFieldToLoanTable.sql
call updateLoanTrigger.sql
|
by: Herb Stevenson |
last post by:
Hello all. I need to set up a batch file to work w/ the Visual Studio.NET
2003 command prompt. However, when I run the batch file it uses the
standard command prompt. Is there a way to differentiate batch files
between the two prompts? Also, where might I find information on the
differences between the 2 prompts?
Thanks,
Herb
|
by: baustin75 |
last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie
only when debugging in php designer 2005
--------------------------------------------------------------------------------
Hello,
I have a very simple problem but cannot seem to figure it out. I have a
very simple php script that sends a test email to myself. When I debug
it in PHP designer, it works with no problems, I get the test email. If
|
by: Dennis Gaida |
last post by:
Hi there,
I want to upload some exported reports to a FTP Server, for this I
use a command line FTP utility.
My Database sits in C:\Documents and Settings\Dennis\My
Documents\Database
The FTP utility sits in C:\Documents and Settings\Dennis\My
Documents\Database\oexport
The files to be uploaded in C:\Documents and Settings\Dennis\My
Documents\Database\oexport\files
|
by: Rahul |
last post by:
Hi Everybody
I have some problem in my script. please help me. This is script file.
I have one *.inq file. I want run this script in XML files. But this
script errors shows . If u want i am attach this script
files and inq files. I cant understand this error. Please suggest me.
You can talk with my yahoo id b_sahoo1@yahoo.com. Now i am online.
Plz....Plz..Plz...
| |
by: Fester Bestertester |
last post by:
Okay, here's the bonehead question of the day:
Is there some syntax or command line switch that I can use to call a
Public Sub from a command line? If so, what is the syntax?
The purpose: if I can start the Sub from a command line prompt, then I
can make the command a batch file. If I can make the command a batch
file, I can schedule it.
If the sub were, say, basMyProcedureModule.MySubName, could I invoke it
|
by: Bit byte |
last post by:
I have a project that I normally build (without problems) from the
DevStudio IDE. However, I have embarked on automating all my builds
(this test project being one of several).
The project creates a DLL. I am able to build the project without any
probs in the IDE, however - when I build the project from the command
line (using the same options shown in the 'Command line' node in the
'Project Settings' dialog box), I get the following...
|
by: Richard |
last post by:
Hi All,
I'm running MySQL version: 5.0.15-nt on WinXP-Pro/SP2.
I created a one-line batch file DumpPAM.bat in a directory on the PATH:
mysqldump pmtallocmodel_development %1%.txt
I invoked it from a Command window with the command:
|
by: wb5plj |
last post by:
Hi I am having a problem passing some sql to the db2cmd via ant. This
is very confusing as I am doing this exact thing elseware with no
problem (just differant sql, and I have verified the sql is valid) but
in this one I am having problems. Any time I run this I get the
folowing message from the db2 clp window that opens up.
SQL0104N An unexpected token "SET" was found following
"<identifier>".
Expected tokens may include: "NEW". ...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |