Search:

Type: Posts; User: new2tehgame

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    887

    Question on arrays.

    float array[100];

    Is there a way to take the array above a use the [100] in sequence? such as a having it check to see if [0] is used and if so then move on to [1] and so on...

    any help would...
  2. Replies
    9
    Views
    1,355

    this is balance.cpp where the value is stored ...

    this is balance.cpp where the value is stored


    V.p_bal

    And im just postin all of this because there might be more people that had my prob.
  3. Replies
    9
    Views
    1,355

    This is the header file.... #include...

    This is the header file....

    #include <iostream>
    #include <fstream>
    using namespace std;
    void clrscr();
    void MENU();
    class variables
    {
    public :
  4. Replies
    9
    Views
    1,355

    #include "data2.h" int main() { ifstream...

    #include "data2.h"

    int main()
    {
    ifstream bal_i ("balance.cpp");
    bal_i>>V.p_bal;
    bal_i.close();
    ofstream bal_o ("balance.cpp");
    clrscr();
    {
  5. Replies
    9
    Views
    1,355

    thx for the help, and for puttin up with my...

    thx for the help, and for puttin up with my stupidity.... i had used the fstream before but i guess i messed it up.... i rewrote it and now it works.
  6. Replies
    9
    Views
    1,355

    #include "data2.h" int main() { clrscr();...

    #include "data2.h"

    int main()
    {
    clrscr();
    {
    if(V.p_bal == 0)
    {
    cout<<"Please input a starting balance.\n";
    cout<<">";
  7. Replies
    9
    Views
    1,355

    I know how to do that stuff... and i have read...

    I know how to do that stuff... and i have read the tutorials.

    But i left out that i wanted the variable to be forever changing. Based on user input.
  8. Replies
    9
    Views
    1,355

    storing values.....NEED HELP.

    How would i go about storing a value, and everytime that i open my program, it would load that value?

    sry, i just started learning the language.... and i didnt really see anything in the tutorials...
Results 1 to 8 of 8