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
ඕනම රටකට සෙට් වෙන CV එකක්
ErMurazor
Updated:
Yesterday at 9:50 AM
Hambantota
7 Acres Beachfront Land For Sell DownSouth , PerPerch Price 420 000
1024 Digital
Updated:
Wednesday at 11:57 AM
Baseus PI LITE INDOOR CAMERA
ErMurazor
Updated:
Monday at 12:26 PM
Ad icon
Colombo
Hard Disk For Sale
mazza
Updated:
Oct 10, 2026
land for sale
justasking
Updated:
Oct 10, 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
Hata thunen beduwama keeyada? (60 bedeema thuna)
Post reply
Top
Bottom