i get error c2886( when i use using std::cout; using std::string;) and when i change to (using namespace std;
using namespace std;) i got error c2059
#include <iostream>
#include <string>
#include "Vector.h"
#include "Car.h"
//using namespace std::cout;
//using namespace std::string;
using namespace std;
using namespace std;
class...
User Profile
Collapse
-
donthomasino started a topic i get error c2886( when i use using std::cout; using std::string;) i change to usingin Ci get error c2886( when i use using std::cout; using std::string;) i change to using
-
donthomasino replied to i just wanna know wht hapen on array and for loop and what is result of that programin Cso wht will going to happen after the going through the loop and array cause is push and pop wht will be the result of that?... -
donthomasino started a topic i just wanna know wht hapen on array and for loop and what is result of that programin Ci just wanna know wht hapen on array and for loop and what is result of that program
Code:#include <iostream> #include <queue> using namespace std; void main() { int encode[8] = {3,1,1,1,3,1,1,1}; queue<char>myMagicWord; myMagicWord.push('c'); myMagicWord.push('o'); myMagicWord.push('n'); myMagicWord.push('v'); myMagicWord.push('e'); myMagicWord.push('r'); myMagicWord.push('s'); myMagicWord.push('a'); myMagicWord.push('t');
No activity results to display
Show More
Leave a comment: