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
iphone x used
AssassiN1
Updated:
Sunday at 10:30 PM
කිතුල් තලප
Manoj Suranga Bandara
Updated:
Saturday at 7:04 PM
Ad icon
ව්යාපාර, Tuition පන්ති සහ Personal Portfolios සඳහා Web Setup එකක් රු. 9,099/- කට (වාර්ෂික renewal ර
thathsilura
Updated:
Thursday at 6:17 PM
AWS Certified Solutions Architect-Associate + AWS Certified Cloud Practitioner
Sanjeewani95
Updated:
Aug 19, 2026
🚀 එක පැකේජ් එකයි - මාසෙටම Unlimited Internet! 🌐
sayuru bandara
Updated:
Aug 18, 2026
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
Haya warak paha keeyada? (haya wadi kireema paha)
Post reply
Top
Bottom