ChicoState / ChicoState/InputCPP

Warning and errors of implicitly-defined namespace

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
0
Forks
25
PR merge metrics
No merged PRs in 30d

Description

Compilation error I receive is:
main.cpp:1:17: warning: using directive refers to implicitly-defined namespace 'std'
using namespace std;
^
main.cpp:11:5: error: use of undeclared identifier 'cout'
cout<<"Enter a whole number: \n";
^
main.cpp:12:5: error: use of undeclared identifier 'cin'
cin>>num1;
^
main.cpp:13:5: error: use of undeclared identifier 'cout'
cout<<"Enter another whole number: \n";
^
main.cpp:14:5: error: use of undeclared identifier 'cin'
cin>>num2;

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.