Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 8 of 8
Search took 0.00 seconds.
Search: Posts Made By: equinox
Forum: C++ Apr 10th, 2008, 1:57 PM
Replies: 9
Views: 290
Posted By equinox
Re: File Handeling.

I found a nice tutorial on this and I came up with the following code.


int main()
{
Passenger p [2]; //an array of type passenger
ofstream writerFile("passengers.ros", ios::binary); //for writing...
Forum: C++ Apr 10th, 2008, 11:40 AM
Replies: 9
Views: 290
Posted By equinox
Re: File Handeling.

I've no idea man, I'm only programing about a year or so :S.
Forum: C++ Apr 10th, 2008, 10:06 AM
Replies: 9
Views: 290
Posted By equinox
Re: File Handeling.

I would have but sadly I'm in university now so I'll have to wait till I get home to paste in the actual code I'm using (I typed what's there from memory).

When you say print out the data for each...
Forum: C++ Apr 10th, 2008, 9:25 AM
Replies: 9
Views: 290
Posted By equinox
File Handeling.

Hi.

I'm writing a simple little rogram for an assignment. It;s for a hypotechical travel agency to create a passenger for a flight. I've written a class for the passenger and had no trouble but,...
Forum: Java Mar 7th, 2008, 2:56 PM
Replies: 3
Views: 207
Posted By equinox
Re: Thread waiting.

I tryed putting the synchronized(bag) around my run methods and it works :D. I think I understand now. Bag is the method that both threads were trying to work on, so I had to call bag.wait() other...
Forum: Java Mar 6th, 2008, 7:42 AM
Replies: 3
Views: 207
Posted By equinox
Thread waiting.

I'm having a problem making threads wait on one another. What I'm doing is just a very simple program that has two classes, one that takes "sweets" from a bag called the child and another that puts...
Forum: Java Nov 15th, 2007, 1:25 PM
Replies: 5
Views: 339
Posted By equinox
Re: Network Programming Help.

Thanks guys, I got that code in the link to work (after a few hours and about 5 pints of cofee !! :) ). I have all my methods worked out so putting the program together should be a breeze. Thanks...
Forum: Java Nov 11th, 2007, 9:37 AM
Replies: 5
Views: 339
Posted By equinox
Network Programming Help.

Hi all.

I'm a second year soft ware engineering student and we've been given an assignment in network programming. The assignment specification is to take a URL as a command line argument, download...
Showing results 1 to 8 of 8

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:53 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC