Script and c++

F

faz

Hi all,

I want to know how to compile and run a c++ code using scripts( .do
file).Do i need to modify the code to run.I have already tested my
code its working fine in vc++6.0.I just wanted to have script support
now..

thanks in advance,
fazal
 
N

nevergone

Hi all,

I want to know how to compile and run a c++ code using scripts( .do
file).Do i need to modify the code to run.I have already tested my
code its working fine in vc++6.0.I just wanted to have script support
now..

thanks in advance,
fazal

makefile?
 
J

James Kanze

I want to know how to compile and run a c++ code using scripts( .do
file).Do i need to modify the code to run.I have already tested my
code its working fine in vc++6.0.I just wanted to have script support
now..

It depends on the scripting language you use, but in general,
there should be no problem. (I tend to use gmake for this, but
it's a lot more than just a scripting language, since it handles
dependancies, etc.)

FWIW: if you are using VC++, you are doubtlessly under Windows.
The default script language there is not very powerful, so you
might want to look into alternatives: there are several ports of
bash or the Korn shell, or you could use perl (if you're a
masocist) or python. Also, I don't think that the installation
procedure for VC++ correctly sets up the environment; you'll
probably have to manually add some entries there. (On the other
hand, Microsoft's documentation concerning this is very good.)

And also: you should update: VC++ 6.0 is very, very old and out
of date.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,290
Messages
2,571,453
Members
48,129
Latest member
DianneCarn

Latest Threads

Top