473,385 Members | 1,531 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

command liine compiler for windows

151 100+
Hi ,
I am working on windows for first time . I have experience on linux only. How can run the command line C++ program on windows . Is there any compiler for windows which is compatible for command line .Please let me know.

Manish Gupta
Oct 2 '08 #1
5 1448
r035198x
13,262 8TB
I sometimes use MS VS 2008 which allows you to compile files from the command prompt as well.
Oct 2 '08 #2
hello, why not try the Borland compiler?

We use it at our university...

Download at http://www.cs.up.ac.za/module.php?spc=cb&module=COS135

The first tutorial on the site should help you out with the setup...

Hope this helps =)
Oct 2 '08 #3
Man4ish
151 100+
hello, why not try the Borland compiler?

We use it at our university...

Download at http://www.cs.up.ac.za/module.php?spc=cb&module=COS135

The first tutorial on the site should help you out with the setup...

Hope this helps =)
I have downloaded and installed the borland but when i save a simple program in Bin and run it using g++ or gcc it is giving error not known commands .
Where i need to save the program and run them .

Manish Gupta
Oct 2 '08 #4
Laharl
849 Expert 512MB
Of course not. g++ and gcc are the GNU compiler collection and its C++ compiler. Borland is a different compiler vendor, one I don't really know anything about. Thus, the command line interface is sure to be different. My recommendation is to Google for "Borland 8.0 (or your version number) command line".
Oct 2 '08 #5
I'm not sure, but I think you should use bcc32 instead of g++ (And I think that you have to be in the right directory as well... which as default should be C://borland/bcc32/bin)... Once in the right dir, type the program source code name and enter...

If this doesn't work though, why not work in Scite? It compiles for you and runs the program too...

Hope this helps=)
Oct 3 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Rolf Hemmerling | last post by:
Hello ! How to let GPP/GCC read command line switches from a file, **for Windows** ? I was told a Linux solution: "Your options in options.txt Then: gcc $(cat options.txt) or: gcc `cat...
12
by: Rhino | last post by:
I am having an odd problem: the sqlj command on my system doesn't work. I am running DB2 (LUW) V8 (FP8) on WinXP. I haven't done an sqlj program since Version 6 of DB2 (LUW) so I checked the...
4
by: Frank Rizzo | last post by:
I have a batch script that is supposed to compile this script: vbc.exe /main:Form1 /target:winexe...
4
by: Francesco Martinelli | last post by:
I need to create a multiple file assemby: this requires working directly with the command line compiler (no IDE support!). After a few tests I found my problem comes from the issue described below....
3
by: John Salerno | last post by:
I just installed the SDK, but when I typed csc /help on the command line (from the C: directory), it said 'csc' wasn't a recognized command. Why didn't that work? Do I need to be in a different...
8
by: John Salerno | last post by:
Ok, I'm still a little confused about how to use the command line with the C# compiler that came with the SDK. I get a message saying the command isn't recognized, so I guess I'm in the wrong...
7
by: John F | last post by:
Not exactly a C question (sorry), but I couldn't find a ng that seems more suitable... On the Unix shell command line I can successfully write cc -DPATH=\"abcd/\" program.c -o program to...
4
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...
0
by: GT | last post by:
Hello I'm trying to embed .resource files into a Windows application in VS2005, and then compile and run the program from VS2005. This does not work because the debugger seems not find the...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.