Forum: C++ Nov 30th, 2008 |
| Replies: 8 Views: 716 Thanks again.
Can anyone help with my linear search?
What is the basic structure for a linear search for a word in my array of read in data?
Thanks. |
Forum: C++ Nov 30th, 2008 |
| Replies: 8 Views: 716 Thanks again, the following was given:
attributes:
sender : string
recipient : string
body : string
date : string
messageID : int
messageIDGen : static int |
Forum: C++ Nov 29th, 2008 |
| Replies: 8 Views: 716 to clear it up a little more...
data read from file:
date: 2006/11/20
sender: bob@university.edu
recipient: john@university.edu
body: Hope your semester is going well!
output:
messageID: 12... |
Forum: C++ Nov 29th, 2008 |
| Replies: 8 Views: 716 Thanks. Messages.txt will only contain sender, recip,date and body, I need to add the messageID. When I read from the file I need to be able to add the messageID somehow and use it as a reference for... |
Forum: C++ Nov 29th, 2008 |
| Replies: 8 Views: 716 For future reference here are the instructions for my assignment. Thank you in advance for any feedback you can provide:
Implement the Message class using a header and implementation file named... |
Forum: C++ Oct 21st, 2008 |
| Replies: 11 Views: 761 use the functions youve been building in your program up to this point. |
Forum: C++ Oct 21st, 2008 |
| Replies: 11 Views: 761 maybe this would work..
double hypotenuse(double a, double b)
{
double R;
R = squareRoot(power(a,2) + power(b,2));
return R;
} |