Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 07-19-2005
imacyco imacyco is offline
Registered User
 
 
Join Date: Jul 2005
Posts: 3
Newbie questions about ICE.

Hello, I am new to the forums and I am currently going through the ICE manual to learn about it. I am a novice (n00b/newbie) C++ programmer but for one of challenges that I would like to overcome is sending data through a network. The first thing that I want to try is to send just basic numbers through a network (like inputs to a simple calculation) and then get the output. I want to start here and build up to learning the more advanced uses of ICE (Like a customized chat program).

The only language that I would like to work with is C++. Where should I start? Is there a tutorial or a guide to using ICE besides the manual? Also, what level of complexity can I expect from this project (bear in mind that I am far from an expert in C++)?
Reply With Quote
  #2 (permalink)  
Old 07-19-2005
matthew's Avatar
matthew matthew is online now
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,060
You should try to modify the hello world demo (demo/Ice/hello). First change the signature of the slice definition Hello::sayHello() to int Hello::addNumbers(int n1, int n2);. From there you'll need to change both the client & the server.

You can look at the Ice manual for details when necessary.

Regards, Matthew
Reply With Quote
  #3 (permalink)  
Old 07-19-2005
imacyco imacyco is offline
Registered User
 
 
Join Date: Jul 2005
Posts: 3
Thanks

Cool, I have another question.

Can ICE be used with DOS?
Reply With Quote
  #4 (permalink)  
Old 07-19-2005
matthew's Avatar
matthew matthew is online now
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,060
No.

Matthew
Reply With Quote
  #5 (permalink)  
Old 07-19-2005
imacyco imacyco is offline
Registered User
 
 
Join Date: Jul 2005
Posts: 3
Thanks again.

Another question:

I downloaded and installed the ICE package and tried to compile the Hello World application using the VC++ 6 workspace in the folder and it compiled but crashes when I execute the file. The error that is gives is that ice21d.dll has not been installed and reinstalling the program may fix the problem. Am I doing something wrong? I didn't change a thing in the directories; just a simple compile and execute.
Reply With Quote
  #6 (permalink)  
Old 07-19-2005
bernard's Avatar
bernard bernard is offline
ZeroC Staff
 
Name: Bernard Normier
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Palm Beach Gardens, FL
Posts: 816
The Ice bin directory (default = C:\Ice-2.1.2\bin) must be in your PATH.

Cheers,
Bernard
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
newbie can't compile ice-3.1.1 on freebsd 6.1 wenewboy Bug Reports 2 01-19-2007 04:16 PM
Newbie: How to search for Servers jaleira Help Center 9 06-29-2006 09:02 PM
Bunch of questions by a ICE newbie (I'm trying to decide to switch to ICE or not) Markus Bernhard Help Center 3 06-09-2006 07:11 PM
Two newbie questions. OrNot Help Center 2 06-06-2005 06:51 AM
Ice newbie question ruzark Help Center 1 11-30-2004 03:11 PM


All times are GMT -4. The time now is 09:57 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.