Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Colombo
RidhMathraa ’26 🎶✨
Tmadhusanka
Updated:
Wednesday at 11:58 PM
Ad icon
Colombo
PXN V10 Pro Direct Drive Racing Wheel (Under Warranty)
Abdur Rahman
Updated:
Wednesday at 10:23 PM
Ad icon
USDT ණය සේවාව - USDT Loan Service
පුරවැසියා
Updated:
Wednesday at 4:54 PM
Ad icon
🎮 INDIAN PSN GIFT CARDS AVAILABLE NOW! 🎮
madukaperera
Updated:
Tuesday at 12:57 PM
🚀 Google AI PRO – 18 Months | Rs. 850 Only
lkkolla
Updated:
Monday at 4:56 PM
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Help
C++ help need ...
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="crazycombo" data-source="post: 4307304" data-attributes="member: 110733"><p>machan that cout function is in iostream namespace. so you have to import that before compilation. thats why you got an error saying cout - undeclared identifier.</p><p></p><p>and getch is using to hold up the screen while key is pressed. otherwise Hello world will print. but the screen will pop and vanish in seconds. getch function is in conio namespace. so you better import it. </p><p></p><p>after importing the namespaces, you ve to use the keywords "using namespace" to bring the actual functionality out. then the program allows you to use any function in the std namespace. (in this case which is cout.)</p><p></p><p>you press F6 or build solution after this. and then press start debugging or press F5.</p><p></p><p>hope this helps.</p></blockquote><p></p>
[QUOTE="crazycombo, post: 4307304, member: 110733"] machan that cout function is in iostream namespace. so you have to import that before compilation. thats why you got an error saying cout - undeclared identifier. and getch is using to hold up the screen while key is pressed. otherwise Hello world will print. but the screen will pop and vanish in seconds. getch function is in conio namespace. so you better import it. after importing the namespaces, you ve to use the keywords "using namespace" to bring the actual functionality out. then the program allows you to use any function in the std namespace. (in this case which is cout.) you press F6 or build solution after this. and then press start debugging or press F5. hope this helps. [/QUOTE]
Insert quotes…
Verification
Awruddata maasa keeyada?
Post reply
Top
Bottom