Search:

Type: Posts; User: Unlockitall

Search: Search took 0.01 seconds.

  1. Thread: ofstream

    by Unlockitall
    Replies
    54
    Views
    6,698

    your program only makes " " and "\n" upper. at...

    your program only makes " " and "\n" upper. at the beginning of your loop you should write it
    with the not operator

    if (! pre == ' ' || pre == '\n')
  2. Replies
    4
    Views
    1,778

    thank you. my program is fine now. I changed the...

    thank you. my program is fine now. I changed the problem part to

    in_stream.open(file.c_str());
  3. Replies
    4
    Views
    1,778

    Using a variable for a filename

    i seem to be having trouble using a variable as a file name for an ifstream.
    i am making a program that is quite simple. all it does is ask for a filename, reads the file and displays it to the...
  4. Replies
    20
    Views
    2,392

    thanks for the help, and i thought id post...

    thanks for the help, and i thought id post another project i finished, this one solves quadratics

    #include <cstdlib>
    #include <iostream>
    #include <math.h>

    using namespace std;

    int main(int...
  5. Replies
    20
    Views
    2,392

    ok thanks i get the point, ill research stuff...

    ok thanks i get the point, ill research stuff first next time:)
  6. Replies
    20
    Views
    2,392

    and it happens to...

    and it happens to be..................*cough*....................*ahem*..............................*ack*.............
  7. Replies
    20
    Views
    2,392

    still, does anyone know if C++ has a way to do...

    still, does anyone know if C++ has a way to do exponents and square roots?
  8. Replies
    20
    Views
    2,392

    does anyone know if C++ can do square roots? im...

    does anyone know if C++ can do square roots? im thinking about making a quadratic function program
  9. Replies
    20
    Views
    2,392

    the echos create spaces between things, and my...

    the echos create spaces between things, and my while loop works, at least i think it does
  10. Replies
    20
    Views
    2,392

    thanks for all the help, i now have a finished...

    thanks for all the help, i now have a finished product to sell to seventh graders at my school

    #include <cstdlib>
    #include <iostream>

    using namespace std;

    int main(int argc, char *argv[])...
  11. Replies
    20
    Views
    2,392

    thanks peoples, it works great

    thanks peoples, it works great
  12. Replies
    20
    Views
    2,392

    Help with algebra code

    im making a code that will solve a simple algebra problem in the form of y=mx+b, and im not sure how to assign the value of the math done to x

    #include <cstdlib>
    #include <iostream>

    using...
  13. Replies
    6
    Views
    1,527

    program not staing open

    im very new to c++ so i might be missing something but when i try to run a very simple hello world program...

    #include <stdio.h>
    int main()
    {
    printf("Hello World\n");
    return 0;
    }
    ...
Results 1 to 13 of 13