Advertisement

C++ editor and compiler.

Started by September 29, 2002 01:59 PM
10 comments, last by diggisaur 22 years, 1 month ago
What is the best all in one editor and compiler for C++ that is free? I want to get MS Visual C++ down the road but lack the funds and want to make sure C++ is for me. Due to the lack of time I would hope for something that is not just 30 days. I looked at Octopod but saw that it lacked a lot of the includes that Visual C++ seems to have rendering a lot of tutorials and sample scripts useless. Unless of course I am missing something, which being a complete noobie I wouldn''t be suprised. I am not bound to Octopod so please let me know your thoughts on the best FREE editor and compiler is.
Dev-C++
ReactOS - an Open-source operating system compatible with Windows NT apps and drivers
Advertisement
Thank you Martee. I downloaded and installed the program and it looks awesome.
So, you''re saying it looks awesome?


The world holds two classes of men -- intelligent men without religion, and religious men without intelligence. - Abu''l-Ala-Al-Ma''arri (973-1057; Syrian poet)
--AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.[Project site] [IRC channel] [Blog]
Sorry. It did not look like it was going through. I guess I should not click the button three times - I just thought it was stuck.
You can delete doubleposts by clicking the Edit link in the header of your post.


The world holds two classes of men -- intelligent men without religion, and religious men without intelligence. - Abu''l-Ala-Al-Ma''arri (973-1057; Syrian poet)
--AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.[Project site] [IRC channel] [Blog]
Advertisement
You should be asking what is the best Compiler and IDE for your self. Not witch is the best one. There isn''t realy a best compiler and IDE. People prefer different thangs.
Take back the internet with the most awsome browser around, FireFox
Yeah I have been using Dev-C++ that Martee suggested and I like the interface A LOT.

But I was wondering if sometimes you need to get extra includes from somewhere as I see tutorial code trying to call things which I am thinking I don''t possibly have it as an include but lots of people seem to claim its works fine in MS Visual C++.

Is it I need to build up my includes? Or do a lot more people use MS Visual C++ which has a lot more includes provided (or does MS have some proprietory includes that only MS Visual C++ can take advantage of)

Thanks again.

G.
quote: Original post by diggisaur
Is it I need to build up my includes? Or do a lot more people use MS Visual C++ which has a lot more includes provided (or does MS have some proprietory includes that only MS Visual C++ can take advantage of)


Please specify as to which include files you''re missing. You''re being too general..



2DNow - Specializing in yesterday''s technology today!

Actually I don''t think it is an include. Might just be something with the coding. Here is the tutorial talking about wonderful random numbers. Not sure what is wrong but I get the errors about implicit declarations of rand() and srand()

#include <windows.h>
#include <iostream>
using namespace std;

int main()
{
int num1 = rand();
cout << "A call to rand() gave us: " << num1 << endl;
num1 = rand()%15;
cout << endl << "rand()%15 = " << num1 << endl;

num1 = rand()%35;
cout << endl << "rand()%35 = " << num1 << endl;


srand(GetTickCount());
num1 = rand()%100;
cout << endl << "rand()%100 = " << num1 << endl;

return 0; // Return 0 to say "The program exited successfully"
}

This topic is closed to new replies.

Advertisement