.cpp to .exe

Posts 1–4 of 4 · Page 1 of 1
.cpp to .exe
im following a tut and it says i need to type CD C:\Coding i go there i find the file
and then it says to type bcc32 <filename> and when it do that it says bcc32 is not a valid command
How do i change the file to an .exe as bcc32 should do it according to the tut

---------- Post added at 04:04 PM ---------- Previous post was at 03:11 PM ----------

Never mind i managed to fix it
How ever ive got a new error
This is my Text
/*
This program displays "I love c++" to the standard Output
*/

#include <iostream>

int main ()
{
std: :cout << "I Love C++";
return 0;
}

When i try compile it, it says
C:\Coding>bcc32 ILoveCPlusPlus.cpp
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
ILoveCPlusPlus.cpp:
Error E2209 ILoveCPlusPlus.cpp 5: Unable to open include file 'iostream'
Error E2188 ILoveCPlusPlus.cpp 9: Expression syntax in function main()
*** 2 errors in Compile ***
You should really use a better compiler, Borland C++ is ancient and you're going to run across problems like this if you're trying to learn C++. You should get Visual Studio 2012 Express for Windows Desktop from Microsoft which is free.

https://www.microsoft.com/visualstud...d-2012-express

Alternatively, you can install Visual C++ 2010 Express which doesn't include other languages like VB.NET and C# here:
https://www.microsoft.com/visualstud...d-2010-express
okay thanks, for the input the guide i was following was really outdated but i didn't know
ive now downloaded Visual C++ and using a new guide.
what c++ you using? never heard of "Borland C++ 5.5.1"
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us