Search:

Type: Posts; User: Manish Shrestha

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    1,480

    An Array of Classes

    Thanks for the reply...I found out the error.....well...I just decreased the size of the array to 100 instead of 1000 and it worked!! Thanks for all the help though!!!!!


    PEACE!!!
    Manish
  2. Replies
    9
    Views
    1,480

    An Array of Classes

    I need to create an array of classes; something like; I have a class named calculate, and I need to create an array of the class like:

    claculate array[1000];

    is that possible? I tried...
  3. Here is a simple solution:

    #include<iostream.h>
    #include<string>
    int main()
    {
    const int MAX=6;
    string password;
    int count=0;
    cout<<endl;
    cout<<"Enter a password to gain access to the Calendar Program:"; ...
  4. Replies
    1
    Views
    979

    C++ Timer

    Hi, I need to make a timing device in C++ which calculates the time it takes for two different inputs...I used difftime(end, start) function to find the time diff, in seconds, but, it only gives time...
  5. Replies
    6
    Views
    1,669

    nope..

    Hi thanks for the help...
    I tried that but it didnt work....I am using a unix system...maybe thats the cause....also you said that that will end the program..well, I dont want to end the program...i...
  6. Replies
    6
    Views
    1,669

    How to put a press any key function?

    I wanted to use a press any key to continue type of thing in my program, I used getchar(); but that just clears the whole screen and then waits for a key to be pressed...is there any way I can get a...
Results 1 to 6 of 6