Search:

Type: Posts; User: LavaLamp27

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    2,246

    yo....make sure you use #include ...

    yo....make sure you use

    #include <fstream>

    then you can declare things like

    ofstream out;
    ifstream in;

    and use a file for your in and out by opening it
  2. Thread: Connect 4

    by LavaLamp27
    Replies
    1
    Views
    1,255

    Connect 4

    At the bottom of the following function where it says STARTING HERE I am trying to code an algorithm that will place a computer move, denoted as -1, into a board. My program has a pointer called...
  3. Replies
    1
    Views
    1,052

    Oh and BTW for many of those who have given me...

    Oh and BTW for many of those who have given me examples of how to do this in the past week (thanks), I need something far less complex as I am just a beginning programmer.

    Thanks again - Rob
  4. Replies
    1
    Views
    1,052

    How do I input this?

    Specific Example:

    im inputting the following into a character array:

    42.5 + 7 - 3 =

    i want to separare the float and char from the char array into two separate stacks and also stop at the =...
  5. Replies
    2
    Views
    1,171

    Stoping my array

    I have the following:

    char super[30];
    for(nt = 0; nt < 30; nt++)
    cin >> super[nt];

    I am inputting a line such as 24 + 5 - 2 =
    and I want the array to stop letting characters in once someone...
  6. Replies
    2
    Views
    1,407

    Still string problems

    I am still having problems so I have decided to use another route that I cannot figure out :-( how do I convert string to int?
  7. Replies
    2
    Views
    1,199

    Reading a string

    I am writing a stack program to evaluate infix expressions and I have everything done and ready to go except one hurdle I cannot seem to pass. Let's say I have a string test; now I read in 4 + 3 5...
Results 1 to 7 of 7