{"id":855,"date":"2022-08-30T15:08:18","date_gmt":"2022-08-30T15:08:18","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/09\/microsoft-visual-c-2010-express-how-to-i-fix-error-identifier-cout-is-undefined-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:08:18","modified_gmt":"2022-08-30T15:08:18","slug":"microsoft-visual-c-2010-express-how-to-i-fix-error-identifier-cout-is-undefined-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/microsoft-visual-c-2010-express-how-to-i-fix-error-identifier-cout-is-undefined-collection-of-common-programming-errors\/","title":{"rendered":"Microsoft visual c++ 2010 express how to i fix &#8211; Error: identifier &quot;cout&quot; is undefined?-Collection of common programming errors"},"content":{"rendered":"<p>programming-amp-design Retrieving original web address<br \/>\ndiscoverer: anonymous <img decoding=\"async\" src=\"http:\/\/l.yimg.com\/sc\/28222\/answers2\/images\/a\/i\/identity\/nopic_48.png\" \/> i have recently started programing using microsoft visual c++ 2010 express and the error &#8220;Error: identifier &#8220;cout&#8221; is undefined&#8221; keeps coming up when ever i type cout or cin . also it worked before when i made a simple calculator but it wont work now here is the code : \/\/ project1.cpp : Defines the entry point for the console application. \/\/ #include &#8220;stdafx.h&#8221; #include #include using namespace std; int main () { double num1 , num2 , result,; int choose; cout &gt; num1; cout &gt; num2; cout &gt; choose; if (choose == 1) result = num1 + num2; else if (choose == 2) result = num1 &#8211; num2; else if (choose == 3) result = num1 \/ num2; else if (choose ==4) result == num1 * num2; cout<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-09 22:49:08. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>programming-amp-design Retrieving original web address discoverer: anonymous i have recently started programing using microsoft visual c++ 2010 express and the error &#8220;Error: identifier &#8220;cout&#8221; is undefined&#8221; keeps coming up when ever i type cout or cin . also it worked before when i made a simple calculator but it wont work now here is the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-855","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/855","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=855"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/855\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=855"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=855"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=855"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}