Search Results

Showing results 1 to 7 of 7
Search took 0.01 seconds.
Search: Posts Made By: kjones2k1
Forum: C++ Apr 9th, 2006
Replies: 8
Views: 4,695
Posted By kjones2k1
How would I insert the '\n' break?
Forum: C++ Apr 8th, 2006
Replies: 8
Views: 4,695
Posted By kjones2k1
Well after talking to a friend in my class, our professor wants us to cin a sentence into an dynamic array. So, if the sentence is longer than the allocated memory, it can just grabs some more. All...
Forum: C++ Apr 8th, 2006
Replies: 8
Views: 4,695
Posted By kjones2k1
void wordcount()
{
string text = "the Dog At5674 654 Mypaper";
int count=0,i,j,k;


for(i=0; i<text.length(); i++)
{
if(isupper(text[i]))
{
Forum: C++ Apr 7th, 2006
Replies: 8
Views: 4,695
Posted By kjones2k1
I'm in an entry level c++ class. My professor wants us to write a function that counts the number of words in a string. The stipulation to this is, A WORD IS DEFINED TO BE ANT CONTIGUOUS GROUP OF...
Forum: C++ Mar 25th, 2006
Replies: 6
Views: 8,522
Posted By kjones2k1
Thanks for the help. I am now able to pass the matrix, but I'm still having problems calculating the mean of each row and the mean of each column.


here is my mean function:

float mean (const...
Forum: C++ Mar 23rd, 2006
Replies: 6
Views: 8,522
Posted By kjones2k1
So, what you are saying is i should change

float mean(const double data, int rows, int columns)

to

float mean(const double (*data)[3], int rows, int columns)

I'm still a bit confused.
Forum: C++ Mar 22nd, 2006
Replies: 6
Views: 8,522
Posted By kjones2k1
Hello,

I am in an entry level C++ course. We have a homework problem that requires us to prompt the user to enter five sets of three numbers (type double) and store the numbers in a 5 x 3 array...
Showing results 1 to 7 of 7

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC