thanks
that was not exactly it but it helped me see where my mistakes were
!!
Type: Posts; User: jrb47
thanks
that was not exactly it but it helped me see where my mistakes were
!!
fixed !!
used
cout.clear()
instead of
I am writing code that opens and reads from a file.
In the code the user inputs file name to read, if file name not found
then code is to ask user for correct file name
In c++ a flag is set to...
I have written a piece of code that is supposed to identify and record
all the text in between tags
(ie. <title> help please </title>
code would only record
<title> and </title>
I...
actually I switched the things being compared and it worked great!
(student[i].getID()== tempID)
thanks for all this ideas
jess
not sure what i am doing wrong can someone please explain
program compiles fine, when ran it crashes.
this is the code i am using
int tempID;
cout << "Please enter...
I have been trying and trying to get this program to work and I just can not seem to get it
I can input 3 scores and the average works correctly but it will not print out the 3 scores correctly I...
I have written this program and it compiles with no obvious errors in borland.
However when executed it has problems. Here is what i see
case 2
is not saving the imput scores correctly
...
I have gotten farther along, it compiles with no shown errors, but does not run correctly
here are the obvious problems i see
case 2
when a score is written, it is not storing it correctly, it...
That was a perfect explanation!!!!!
now I have another question
I just want someone to point me in the right direction,
I need to be able to find a particular student, I will use the ID, I...
I posted last night on this program but am now running into a different problem, even though i think it is the same issue
here is the code
/*
Jessie Brown
cop2334
okay here we go again, i think that i might have this
/*
Jessie Brown
cop2334
I have made a few more adjustments and I think i might be getting there, any insight is greatly appreciated thank
here is the code
/*
Jessie Brown
cop2334
man, that was a no brainer, should have caught that!!!
okay I think I am getting closer, I can not express how much i appreciate this as it is helping me understand what i am doing and then i can...
i changed to code to what is suggested and this is what i get now, i am missing something, not understanding how to call specific students maybe or .......... this is the first program i am writing...
I want to understand WHAT i did wrong,
and your response helped, it provided an explanation as to why mine was wrong!
can you explain how the correct code can be written and what is does.
...
I am not sure i understand you post, what do you mean no member setID(tempID)
and Student student[STUDENT_LIMIT]; is not a declaration type that I am familiar with,
can you explain it a little...
I am having to write a program that works with class files.
The class file and the header file CAN NOT be changed. I have to write main.
I understand the concept but am not sure how to work with...
Thanks for all the help, I was opening to many files and not thinking it through
Got it first time after closed everything out walked away, came back and reopened files
thanks again
so i just open all three files, how do i make sure that the compiler is using the project.cpp file instead of the student.cpp file as the main running running file.
thanks for the help
my brain...
Okay, here we go again,
This is not exactly a programming code question. I feel pretty sure I can write the code.
This question is specific to borland 6 c++
My instructor is having us write a...
I am not sure what you are trying to tell me to do with the formula you gave me (where to put it)
here is the program
menu selection 5 does not print the .00, it will print 25.43 just...
i am couting bank account balances.
but if the account has only $10.00 it couts $10 instead of $10.00
I am trying to figure out a way to make it print the .00 place holders
I have written code to print out 2 decimal places, however if the numbers in the 2 places are zero they do not print
ie $10.00 prints $10
is there a code that is standard that can instist on the...
I have posted a few times and been grateful for the help.
Even printed out 65 pages from a sorting link sent to me.
However, I am having a brain clog and can not get past this piece of code.
I...