Search:

Type: Posts; User: stanleyw

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    1,009

    re: if statement

    please note that if u have more than one line of code following your if statement these lines must be enclosed in matching {}

    example:

    if(word==word1)
    {cout<<"abc";
    cout<<"xyz";
    }

    else
  2. Thread: hex dump

    by stanleyw
    Replies
    1
    Views
    1,985

    hex dump

    how do i hex dump a binary file i created using c++

    thanks
    stanley
  3. Thread: strcmp

    by stanleyw
    Replies
    2
    Views
    1,104

    strcmp

    i have assigned a character array of 10 to hold a password.

    then i ask for the user to input a password and then compares the new password with the original to validate its authenticity.
    ...
  4. Replies
    1
    Views
    1,352

    searching for a specific item in a C++ file

    hey,

    i have a written a C++ class to a file. i can print the entire contents of the file eg.

    ID NAME ADDRESS AMOUNT
    100 John China 100.00
    200 Tom Iran 500.00
    300 Ann ...
  5. Replies
    1
    Views
    1,194

    writing a C++ class to file

    can i write a C++ class to file ?? if the answer is yes....how do i do it ??

    thanks
    stan
  6. Replies
    1
    Views
    1,614

    searching thru a c++ class array

    so i have gone thru my c++ class array and entered all the info needed.....

    class student
    {
    private:
    int ID;
    etc....
    };

    student stan[10];
  7. Replies
    2
    Views
    2,385

    array of classes in C++

    After i create an array of a class object how do i access a private member of an element of the array ??

    example:

    class student
    {private:
    int ID;
    char name;

    public:
Results 1 to 7 of 7