k i got that but now if my answer doesnt fill the (int n) it puts zeros at the end of the answer
Type: Posts; User: themexican
k i got that but now if my answer doesnt fill the (int n) it puts zeros at the end of the answer
all this is doing is puttin a space of 50 chars in front of the scientific notation answer, it doesnt change it to standard notation. please help this is killing me.
#include <iostream>...
i am trying to print in standard notation but it keeps printing in scientific notation. here is the coding.
#include <iostream>
using namespace std;
int main()
{
long double no1, no2,...
lol i used your code right, but it also loops infinite when it hits that Do-while statement
this is the text file
those periods in third line are really spaces
oh duh thank you, but for some reason it is still loopin, why isnt it reading the end of the line and stoppin, that is what needs to go false, i some reason never reaches an end line. but the txt...
ya i noticed that, but i mean why is it going into an infnite loop when hittin that do-while statement
do
{
if ( c == 50)
{
cout << '\n' << " " << i;
...
Here is the assignment i havent gotten to the puttin stuff in the stat txt i am just focused on makin output right.
Design and implement a Visual C++ .NET program that numbers the lines of a text...
do you mind giving me an example, i think i understand what you are talkin about but it would be very helpful if you can give me an example.
ty very much
can someone please help me with this problem. i need to read the first line of text from a txt file then output it into another txt file, then do the next line of text and so fourth. i also have to...
I am having problem with this project. can some one possibly show me i would be very grateful to you. i cant get it to read a whole line then output the whole line, and im not to sure how to break up...