php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pasting my code down # include main () { char endp; char print; cout << "The print p
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1
i am pasting my code down # include main () { char endp; char print; cout << "The print prog" << "\n"; cout << "enter the Character or word to print" << "\n"; cin >> print; cout << print; cin >> endp; } the program ends after taking the first input. Why dont it takes the 2nd input (endp) from user
Reply
#2
Dear Student,
You are facing this problem due to abnormal termination of your output screen. Please add the line system("pause"); before the closing curly brace } of your program.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  how to check include library in Dev C++ Vuhelper 0 3,398 06-09-2012, 06:18 PM
Last Post: Vuhelper
  what is main logic behind turning a register into byte count other than multiplying 2 Vuhelper 0 2,873 05-31-2012, 01:29 AM
Last Post: Vuhelper
  std::cout<<"---"; " and also for cin " std::cin>>x; in C++ 2012 Vuhelper 0 3,210 01-14-2012, 05:46 PM
Last Post: Vuhelper
  Argc(argument count) and argv(argument value) are used in main function Vuhelper 0 2,083 01-04-2012, 10:42 PM
Last Post: Vuhelper
  ASCII code is binary numbers of 0 and 1 in C++ 2012 Vuhelper 0 2,330 01-04-2012, 10:41 PM
Last Post: Vuhelper
  Why we write main rgc,char**argv in C++ 2012 Vuhelper 0 3,071 01-04-2012, 10:36 PM
Last Post: Vuhelper
  int x[10]; x[0]= 1; x[1]=2; if following code is executable in C++ 2012 Vuhelper 0 1,982 01-04-2012, 10:17 PM
Last Post: Vuhelper
  array project code c++ 2011 Vuhelper 0 1,330 12-10-2011, 06:32 PM
Last Post: Vuhelper
  factorial in C++ code 2011 Vuhelper 0 1,006 12-10-2011, 06:31 PM
Last Post: Vuhelper
  ASCII to char conversion code in C++ 2011 Vuhelper 0 1,777 11-05-2011, 05:01 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