Results 1 to 3 of 3

Thread: C++ how to program, 5/e (deitel) kay liye compiler

  1. #1
    Join Date
    19 Jan 2009
    Location
    Sarai Saleh Haripur and working job in Karachi
    Age
    36
    Posts
    177
    Threads
    21
    Credits
    955
    Thanked
    0

    Default C++ how to program, 5/e (deitel) kay liye compiler

    hellow dosto...

    plz sabb C++ expert logon se sawal hai.

    tum logon men se kafi saron ne ye book parhi hogi C++ how to program, jismen gradebook wali example hai .... code ye hai

    #include <iostream>
    5 using std::cout;
    6 using std::endl;
    7
    8 // GradeBook class definition
    9 class GradeBook
    10 {
    11 public:
    12 // function that displays a welcome message to the GradeBook user
    13 void displayMessage()
    14 {
    15 cout << "Welcome to the Grade Book!" << endl;
    16 } // end function displayMessage
    17 }; // end class GradeBook
    18
    19 // function main begins program execution
    20 int main()
    21 {
    22 GradeBook myGradeBook; // create a GradeBook object named myGradeBook
    23 myGradeBook.displayMessage(); // call object's displayMessage function
    24 return 0; // indicate successful termination
    25 } // end main

    iss gradebook wali example kay saray program visual studio 2008 men error dete hain....for example int main() function use karne par error aata hai C++ does not support default int....plz mujhe suitable compiler batao...ya ye batao men apne code men kya change karoon jo ye porogram run ho sakain....

  2. #2
    Join Date
    13 Jan 2009
    Location
    Islamabad
    Gender
    Male
    Posts
    1,265
    Threads
    142
    Credits
    983
    Thanked
    52

    Default

    grade ka code c++ dev ka hoga. Visual C++ ki book ha ya c+ ki pehly ye confirm kro.

  3. #3
    sayhellotoit's Avatar
    sayhellotoit is offline Senior Member
    Last Online
    23rd September 2017 @ 07:51 PM
    Join Date
    01 May 2009
    Posts
    1,003
    Threads
    5
    Credits
    53
    Thanked
    127

    Default

    Use BorlandC++ or DevC++.

Similar Threads

  1. me apny ofice k liye ek program bnana chata ho help me.
    By amjab bozdar in forum Ask an Expert
    Replies: 22
    Last Post: 17th October 2014, 11:03 PM
  2. Expired Compiler For HTC EXPLORER
    By sonumh in forum Mobile phones problems and Help Zone
    Replies: 9
    Last Post: 5th September 2012, 12:52 PM
  3. for c++ compiler
    By ghulamnabi in forum Solved Problems (IT)
    Replies: 1
    Last Post: 25th June 2006, 06:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •