Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
<SOLVE> harap boleh tolong tengokkan
17-09-2013, 09:06 AM, (This post was last modified: 17-09-2013, 03:22 PM by hard3.)
Post: #1
<SOLVE> harap boleh tolong tengokkan
Code:
#include <iostream>
#include <string>


using namespace std;

class separatefiles
{
    public:
        void display();

};

int main()
{
    separatefiles one;
    cout << "display : " << one.display() << endl;
    return 0;
}

void separatefiles::display()
{
    cout << "hello world" << endl;
}


saya adalah error untuk paparkan class function di bahagian main.harap boleh tolong tengokkan dimana masalahnya.trimas
A word of advice,
don't promise only when u are HAPPY,
don't reply when u are ANGRY,
and don't decide when u are SAD.
Reply
17-09-2013, 03:23 PM,
Post: #2
RE: <SOLVE> harap boleh tolong tengokkan
Code:
int main()
{
    separatefiles one;
    one.display();
    return 0;
}
A word of advice,
don't promise only when u are HAPPY,
don't reply when u are ANGRY,
and don't decide when u are SAD.
Reply
17-09-2013, 04:08 PM,
Post: #3
RE: <SOLVE> harap boleh tolong tengokkan
k dah solved, nak ape lagi ble tanye Thumbs Up
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  mintak tolong requesting connection with C Timon 0 346 02-06-2013, 04:30 AM
Last Post: Timon
  Discount punya calculation... SOLVE - TQ Bro maggotz 10 962 12-04-2013, 07:40 PM
Last Post: maggotz
  aduh,, pasai expression... gagal aku. - SOLVE - Thanks all maggotz 10 829 12-04-2013, 08:34 AM
Last Post: maggotz
  C++- coding yang bertimpa,, loop kot.. solve maggotz 10 1,065 09-03-2013, 01:51 AM
Last Post: maggotz
  C++ - calculation of unit.- solve. maggotz 8 704 07-03-2013, 11:55 PM
Last Post: RFC792
  Tolong pleaseee muhammadjaziem 4 449 15-12-2012, 01:31 PM
Last Post: muhammadjaziem
  <ask>tolong terangkan apa dia buat ni m4f14 6 1,011 27-06-2012, 11:25 PM
Last Post: m4f14
  [help]tolong delete function rosak T.T Timon 0 486 31-05-2012, 03:10 AM
Last Post: Timon
  [req] mintak tolong string Timon 4 1,207 17-05-2012, 02:37 AM
Last Post: akmalhisyam
  tolong algorithm c vquad 4 867 02-05-2012, 02:22 AM
Last Post: otai_g

Forum Jump: