Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~2K People Reached
Favorite Forums
Favorite Tags
java x 34
c++ x 6
c x 1
Member Avatar for XodoX

I'm having difficulties writing the rpc function. Specifically, I don't know how to pack a function name and input argument into a message body, send the message, set and unpack reply, and return result and error code. I know how to create the socket, request aconnection from the server etc. …

Member Avatar for XodoX
0
162
Member Avatar for Torf

Ok, what I am trying to do: A simple RPC package consisting of user-stub and server-stub. The rpc function should: -create a socket -request connetction from server -pack funtion name and input argument into a message body -send message -set and unpack reply -return result and error code The server-stub …

0
61
Member Avatar for Torf

I'm doing an actually simple practice problem from the book, but I am still not sure how to correctly do it.. It's just converting pseudo code. 1st part > num SIZE = 5 > > num VALID_ITEM_PRICE [SIZE] = 0.59, 0.99, 4.50, 15.99, 17.50, 39.00 > > stack int validItems …

Member Avatar for NormR1
0
152
Member Avatar for Torf
Member Avatar for JamesCherrill
0
118
Member Avatar for Torf

I have been trying to teach this myself, but I judt don't get it. I have 10 books with ISBN number, title, name of author. The linked list should display the books sorted by ISBN. I hope this collections.sort is correct: import java.util*; public class Sort { public class Sort …

Member Avatar for Torf
0
223
Member Avatar for Torf

Hello, I think it's safe to say that I am totally off here. I need some help. > The program should include two classes Book and Author. > A Book should contain a title, an ISBN and publication year. An Author should contain a name and a sorted linked list …

Member Avatar for NormR1
0
107
Member Avatar for Torf

Hello, I want to load integers from a text file into a class or structure. It should jsut read all lines and load them into it. What is aa easy code for this? I want to keep it simple and easy. Also it should be easy to modify, like modify …

Member Avatar for Torf
0
190
Member Avatar for Torf

I'm wanting to convert this part of the pseudo-code... [quote] start string name string address num item num quantity num price num SIZE = 6 num VALID_ITEM [SIZE] = 106, 108, 307, 405, 457, 688 num VALID_ITEM_PRICE [SIZE] = 0.59, 0.99, 4.50, 15.99, 17.50, 39.00 num sub string foundIt = …

Member Avatar for Torf
0
157
Member Avatar for Torf

File, new project, Java+Java application, Project name just a random name, finish. Then.. new file, Java+Java class, Class name payroll, finish.. [code] /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package javaapplication5; /** * * @author computer public class …

Member Avatar for JamesCherrill
0
949
Member Avatar for Torf

Hello, I do not understand the following parts in bold - how it works, what is is for..etc. I'm not following the book's explanation.. [CODE]#include <iostream> using namespace std; [B] double totalCost(int numberParameter, double priceParameter);[/B] int main( ) { double price, bill; int number; cout << "Enter the number of …

Member Avatar for MandrewP
0
279