Search Results

Showing results 1 to 10 of 10
Search took 0.01 seconds.
Search: Posts Made By: swordy06
Forum: C++ Mar 28th, 2007
Replies: 21
Views: 3,142
Posted By swordy06
End result= perfect, only thing left is to clean up the code a little bit and im done.


joeprogrammer.... what can i say man, thanks so much for helping me out, i appreciate it in full, after so...
Forum: C++ Mar 27th, 2007
Replies: 21
Views: 3,142
Posted By swordy06
i have a problem, the counter runs fine, but it is taking the temperatures from the input file, i need it to count the temperatures from the output file since those are the temperatures already...
Forum: C++ Mar 27th, 2007
Replies: 21
Views: 3,142
Posted By swordy06
nevermind those 2 lines, it didnt make sense to include them, ok, i have a problem, the counter runs fine, but it is taking the temperatures from the input file, i need it to count the temperatures...
Forum: C++ Mar 27th, 2007
Replies: 21
Views: 3,142
Posted By swordy06
(total=1; total<25; total++)
(count=1; count<25; )
I thought i had to define the number of lines within the input file, and i used that from another example code that i saw,
thats probably not...
Forum: C++ Mar 27th, 2007
Replies: 21
Views: 3,142
Posted By swordy06
int total=0;
int count=0;
while (inFile) //End-ofFile Controlled Loop
{
total += ctemp;
(total=1; total<25; total++)
outFile...
Forum: C++ Mar 27th, 2007
Replies: 21
Views: 3,142
Posted By swordy06
ok. almost there, what about the line counter waltp suggested so that i could calculate the average?? how do i incorporate that
Forum: C++ Mar 27th, 2007
Replies: 21
Views: 3,142
Posted By swordy06
sorry for replying so late, ive been kinda busy with other schoolwork,
so it would be something like this

while (inFile)
{

int total = ctemp;
(total=1;...
Forum: C++ Mar 26th, 2007
Replies: 21
Views: 3,142
Posted By swordy06
Ok, so it would go something like this :


{
vector <int> num; //Vector to store integers
num.push_back(1);
num.push_back(2);
num.push_back(3);
...
Forum: C++ Mar 26th, 2007
Replies: 21
Views: 3,142
Posted By swordy06
how would i apply the vector to my code?? by using vector <int>; and including all the reference numbers or is there a more simple way because i really dont understand the explanation that is in that...
Forum: C++ Mar 25th, 2007
Replies: 21
Views: 3,142
Posted By swordy06
Hi fellow c++ programmers,

I need some help with an assignment from my c++ class. The assignment is to use a input file with the following

1 4/12/2007 34 -- 1 is the reference number, date...
Showing results 1 to 10 of 10

 


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

©2003 - 2009 DaniWeb® LLC