Estevan
Newbie
- Joined
- May 16, 2003
- Messages
- 667
- Reaction score
- 0
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: this_feature_currently_requires_accessing_site_using_safari
Raxel said:Well its takes a bit of time to get it working, but it does the job. The main problem is it is missing alot of headers, so you might have to download the Platform SDK, to get it to work. Also you might whant to install it on a drive you dont care about reformatting, since it installs the .NET 2.0, very buggy framework. So I would still stick with VS C++6, in less I had no other choice, or if you used something else?
So be careful, if you decide to use it, something can go around and mess up your hard drive.
If you want to get it working, ill pm you the link.
#include <iostream.h>
using namespace std;
int main()
{
cout << "Hello World\n";
return 0;
}
Varsity said:Oddly enough, I downloaded this earlier today. I've given up trying to find a true free C++ compiler that is actually decent so the beta was the next choice. I can't work out how to get a simple .NET console app working though. I enter in this, copied from a C++ tutorial, and get "fatal error C1010: unexpected end of file while looking for precompiled header directive".
Code:#include <iostream.h> using namespace std; int main() { cout << "Hello World\n"; return 0; }
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World\n";
return 0;
}
#include "iostream.h"
int main()
{
cout << "Hello World\n";
return 0;
}
Unit1.cpp(1) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
Unit1.obj : error LNK2005: _main already defined in Test App.obj
Unit1.obj : error LNK2005: "int __cdecl main(void)" (?main@@$$HYAHXZ) already defined in Test App.obj
. I've given up trying to find a true free C++ compiler that is actually decent
nit1.obj : error LNK2005: _main already defined in Test App.obj
Unit1.obj : error LNK2005: "int __cdecl main(void)" (?main@@$$HYAHXZ) already defined in Test App.obj
#include "stdafx.h"
#include "iostream"
int _tmain(int argc, _TCHAR* argv[])
{
std::cout << "Hello World";
return 0;
}
Ugh. IMO the VCExpress beta is pretty damn polished for a beta, and VC6 is crap.Raxel said:So I would still stick with VS C++6, in less I had no other choice, or if you used something else?
Console::WriteLine("Hello, what is your name?");
String^ name = Console::ReadLine();
Console::Write("Hello ");
Console::Write(name);
Console::ReadKey();
#include "stdafx.h
#include <iostream>
#include "stdafx.h"
using namespace std;
int main()
{
cout << "Hello HL2.net!" << endl;
return 0;
}
^Ben said:I dunno, try including #include "stdafx.h ?
fatal error C1083: Cannot open precompiled header file: 'Release\TestCompile.pch': No such file or directory
MSVCRT.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function _WinMainCRTStartup
I was going to say MinGW Developer Studio, until I saw this:Varsity said:I've given up trying to find a true free C++ compiler that is actually decent so the beta was the next choice.
I think MinGW Developer Studio is better then VS, I've only ever used VS6 though, so no idea what .NET is like, but the kind of projects I do (Working with wx, alot of cross-platform) I think MinGW Developer Studio is perfect.Monder said:Any reason why you don't like MinGW? It's a perfectly good compiler, MinGW Studio is an IDE for it that I use. Ok it's not as good as MSVS.Net but it does the job.