php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
C++ main program likhta hn magar wo run ni hota
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#2
Dear student, you have not provided the complete code. Anyways it is a simple code which has 3 variables x, y and z. Values of x and y are added up in the variable z.

using namespace std;

Code:
#include <iostream> main() { int x =5; int y= 10; int z = 0; z= x+y; cout<<"x="<<x<<endl; cout<<"y="<<y<<endl; cout<<"z="<<z<<endl; system ("pause"); }
Reply


Messages In This Thread
C++ main program likhta hn magar wo run ni hota - by sana.pari - 04-24-2011, 05:15 PM
C++ main program likhta hn magar wo run ni hota - by Support - 04-24-2011, 05:16 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  c++ program on unix varup 0 7,697 10-10-2012, 06:16 PM
Last Post: varup
  i take input from getchar(); function in program in C++ 2012 Vuhelper 0 3,134 05-31-2012, 01:40 AM
Last Post: Vuhelper
  what is main logic behind turning a register into byte count other than multiplying 2 Vuhelper 0 2,921 05-31-2012, 01:29 AM
Last Post: Vuhelper
  program Output in C++ 2012 Vuhelper 0 3,090 01-06-2012, 12:28 AM
Last Post: Vuhelper
  Argc(argument count) and argv(argument value) are used in main function Vuhelper 0 2,140 01-04-2012, 10:42 PM
Last Post: Vuhelper
  For running C++ program from command prompt “gcc” and “g++” compilers are used. Vuhelper 0 6,489 01-04-2012, 10:41 PM
Last Post: Vuhelper
  Why we write main rgc,char**argv in C++ 2012 Vuhelper 0 3,122 01-04-2012, 10:36 PM
Last Post: Vuhelper
  Function (Retrun push)for what purpose use in the program. ? Vuhelper 0 1,964 11-05-2011, 05:03 PM
Last Post: Vuhelper
  C++ Help with Template class program 2011 Vuhelper 0 928 07-23-2011, 05:40 PM
Last Post: Vuhelper
  A simple pthread program runtime error in c++ 2011 Vuhelper 0 1,008 07-23-2011, 05:39 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support