Alice Community  

Go Back   Alice Community > General Discussion > Questions and Comments

Reply
 
Thread Tools Display Modes
Moving on
Old
belso
Member
 
Status: Offline
Posts: 42
Join Date: Jan 2010
Default Moving on - 08-02-2011, 03:02 PM

Hello i have become proficient in alice over the years and i wish to learn c++. anyone know where i can download c++? Many thanks


/|..__________________/\_
/ `---___________----_____|]-------<BLAM>------>
/_==o;;;;;;;;_______.:/
), ---.(_(__) /
// (..) ), ----"
//___//
//___//
   
Reply With Quote
Old
legolizard
Senior Member
 
legolizard's Avatar
 
Status: Offline
Posts: 242
Join Date: Jan 2011
Location: Aboard the Hyperion escaping the zerg.
Default 08-02-2011, 04:01 PM

It depends there are many different IDE's and compilers, out there and it is a matter of preference as well as what OS you are using. For example if you are running a Mac then you need to find a Mac specific IDE. Personally I use Dev-C++,it is free,simple, runs on Windows, and the compiler is mostly standard, but again it is a matter of preference.

Anyways good luck in learning C++,I think you will find it relatively easy to get to understand, but if you need any help you can always ask me.


"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."-Albert Einstein

Last edited by legolizard; 08-02-2011 at 04:09 PM.
   
Reply With Quote
Old
Dj Tech42
Senior Member
 
Dj Tech42's Avatar
 
Status: Offline
Posts: 203
Join Date: Feb 2011
Default 08-02-2011, 04:11 PM

Xcode for Mac


Flight Simulator with Dogfight Modes:
http://www.alice.org/community/showthread.php?t=6840
   
Reply With Quote
Old
belso
Member
 
Status: Offline
Posts: 42
Join Date: Jan 2010
Default 08-02-2011, 09:21 PM

Quote:
Originally Posted by legolizard View Post
It depends there are many different IDE's and compilers, out there and it is a matter of preference as well as what OS you are using. For example if you are running a Mac then you need to find a Mac specific IDE. Personally I use Dev-C++,it is free,simple, runs on Windows, and the compiler is mostly standard, but again it is a matter of preference.

Anyways good luck in learning C++,I think you will find it relatively easy to get to understand, but if you need any help you can always ask me.
Hey i use windows and i would like to use dev-c++ can you pass me a link? Thanks


/|..__________________/\_
/ `---___________----_____|]-------<BLAM>------>
/_==o;;;;;;;;_______.:/
), ---.(_(__) /
// (..) ), ----"
//___//
//___//
   
Reply With Quote
Old
legolizard
Senior Member
 
legolizard's Avatar
 
Status: Offline
Posts: 242
Join Date: Jan 2011
Location: Aboard the Hyperion escaping the zerg.
Default 08-02-2011, 09:39 PM

Here you go.http://www.bloodshed.net/devcpp.html


"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."-Albert Einstein
   
Reply With Quote
Old
belso
Member
 
Status: Offline
Posts: 42
Join Date: Jan 2010
Default 08-03-2011, 03:32 AM

Thanks


/|..__________________/\_
/ `---___________----_____|]-------<BLAM>------>
/_==o;;;;;;;;_______.:/
), ---.(_(__) /
// (..) ), ----"
//___//
//___//
   
Reply With Quote
Old
Dj Tech42
Senior Member
 
Dj Tech42's Avatar
 
Status: Offline
Posts: 203
Join Date: Feb 2011
Default 08-03-2011, 12:11 PM

I'm interested in learning C++ too. Can you post some tips later on?

We're stuck with C# at school. It's basically Microsoft-proprietary Java. ugh


Flight Simulator with Dogfight Modes:
http://www.alice.org/community/showthread.php?t=6840
   
Reply With Quote
Old
legolizard
Senior Member
 
legolizard's Avatar
 
Status: Offline
Posts: 242
Join Date: Jan 2011
Location: Aboard the Hyperion escaping the zerg.
Default 08-03-2011, 12:50 PM

Quote:
Originally Posted by Dj Tech42 View Post
We're stuck with C# at school. It's basically Microsoft-proprietary Java. ugh
Yeah, I don't really like C# either.


"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."-Albert Einstein
   
Reply With Quote
!
Old
belso
Member
 
Status: Offline
Posts: 42
Join Date: Jan 2010
Default ! - 08-07-2011, 01:10 PM

Hey i have a c++ book and the starting is different in the book we still use the iostream and stuff but it has voidmain() which dosent work in this c++ so what do i use for this c++? Thank you


/|..__________________/\_
/ `---___________----_____|]-------<BLAM>------>
/_==o;;;;;;;;_______.:/
), ---.(_(__) /
// (..) ), ----"
//___//
//___//
   
Reply With Quote
Old
legolizard
Senior Member
 
legolizard's Avatar
 
Status: Offline
Posts: 242
Join Date: Jan 2011
Location: Aboard the Hyperion escaping the zerg.
Default 08-07-2011, 02:12 PM

This is because the C++ standard main() is of integer type not of void type. Your book uses Microsoft's version of the main(), which is of course not standard and will only work in compilers made by Microsoft say Microsoft Visual Studio, which I believe you must buy after a trial period. You can still use your book however replace:

Code:
void main()
{
//Some code.....
}
with:

Code:
int main()
{
//Some code....
return 0;
}


"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."-Albert Einstein

Last edited by legolizard; 08-07-2011 at 02:24 PM.
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.