php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
# include main() { cout<< "How are u? welcome to my program"; }
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#2
Dear student!
Correct program 1 is
#include<iostream.h>
main()
{
cout<< "How are u? welcome to my program";
system("pause");
}
Correct program 2 is
#include<iostream.h>
main()
{
int age1, age2;
age1=25;
age2=15;
if(age1>age2)
{
cout<<"person 1 is older than 2nd one";
system("pause");
}
}
Try these programs and compare them with posted programs to check your mistakes.
Reply


Messages In This Thread
# include main() { cout<< "How are u? welcome to my program"; } - by Support - 04-24-2011, 04:48 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  c++ program on unix varup 0 7,684 10-10-2012, 06:16 PM
Last Post: varup
  how to check include library in Dev C++ Vuhelper 0 3,450 06-09-2012, 06:18 PM
Last Post: Vuhelper
  i take input from getchar(); function in program in C++ 2012 Vuhelper 0 3,124 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,909 05-31-2012, 01:29 AM
Last Post: Vuhelper
  std::cout<<"---"; " and also for cin " std::cin>>x; in C++ 2012 Vuhelper 0 3,257 01-14-2012, 05:46 PM
Last Post: Vuhelper
  program Output in C++ 2012 Vuhelper 0 3,080 01-06-2012, 12:28 AM
Last Post: Vuhelper
  Argc(argument count) and argv(argument value) are used in main function Vuhelper 0 2,123 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,479 01-04-2012, 10:41 PM
Last Post: Vuhelper
  Why we write main rgc,char**argv in C++ 2012 Vuhelper 0 3,114 01-04-2012, 10:36 PM
Last Post: Vuhelper
  Function (Retrun push)for what purpose use in the program. ? Vuhelper 0 1,956 11-05-2011, 05:03 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