Forum: C++ Jun 21st, 2007 |
| Replies: 4 Views: 676 can someone please give me an example of how to do what was mentioned? I am sorry, i am new at this. |
Forum: C++ Jun 20th, 2007 |
| Replies: 4 Views: 676 i wrote this program to input 12 intigers (mustuse linked lists), sort it while its being inserted, then take the average, then take out the numbers that are greater then the average and make a new... |
Forum: C++ Apr 24th, 2007 |
| Replies: 14 Views: 1,613 |
Forum: C++ Apr 24th, 2007 |
| Replies: 14 Views: 1,613 would i need to declare any more variables? sorry, i kind of need things spelled out for me. thanks for the insight, ill test it soon |
Forum: C++ Apr 23rd, 2007 |
| Replies: 14 Views: 1,613 cout << "no mode" or "null" (doesnt really matter)
and if there is multiple modes, list them |
Forum: C++ Apr 23rd, 2007 |
| Replies: 14 Views: 1,613 better? its still showing up in colors. i pasted it into notepad first this time. |
Forum: C++ Apr 23rd, 2007 |
| Replies: 14 Views: 1,613 //MODE HERE
int modeIndex=0;
int modeFrequency=0;
int maxModeIndex=0;
int maxModeFrequency=0;
for(int i=0 ; i<length ; i++)
{
if(list[i]!=list[modeIndex])
{
if(modeFrequency>1) |
Forum: C++ Apr 23rd, 2007 |
| Replies: 14 Views: 1,613 can you please specify if you are talking about my actual C++ or how it appears on the firum. cause i dont know what you mean... |
Forum: C++ Apr 23rd, 2007 |
| Replies: 14 Views: 1,613 the formatting of the c++ is horrible, as in the xyntax and logic? or how it copy/pasted?
i just opened up the .cpp file and copy/pasted. visual studio automatically colors my tags like that. |
Forum: C++ Apr 23rd, 2007 |
| Replies: 14 Views: 1,613 after hours of trying (im really new to C++), i got a program to run that will find the mean, median, mode, and standard deviation of an array of numbers. However, if there is no mode (every number... |