The support for LCC-WIN32 is fully completed but after all the work I did, I just realised the compiler might be buggy. It's either me doing something wrong or it is the compiler itself.
I have a simple code:
[copy or print]
#include <iostream.h>
int main()
{
int iVar = 0;
cout << "Simple LCC C++ Program\n";
for (int i = 0; i < 1000; i++)
cout << "Looping\n";
return 0;
}
#include <iostream.h>
int main()
{
int iVar = 0;
cout << "Simple LCC C++ Program\n";
for (int i = 0; i < 1000; i++)
cout << "Looping\n";
return 0;
}
Filename test.cpp
I use "lcc test.cpp -FoC:\test.exe"
You can also use "lcc test.cpp -o C:\test.exe" which is the standard
The problem is, the exe file is produced BUT the program does not run. When you type C:\test.exe it just starts and exits instantly without producing any output. I have completely no idea why it does this. Their web site is:
http://www.cs.virginia.edu/~lcc-win32/
I didn't see any -l(inking) options. I was hoping I will find something but nothing.







Logged






- carpe noctem