Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * @author Put your name here
- * @date Put the date here
- * @file h11.cpp
- */
- #include <string>
- #include <iostream>
- using namespace std;
- string STUDENT = "amontano17"; // Add your Canvas/occ-email ID
- // Write your function here
- void strip()
- {
- string str;
- bool inSingleCmt = false;
- bool inMultiCmt = false;
- bool inString = false;
- if(inSingleCmt == false && str[i] == '\n')
- {
- inSingleCmt = false;
- }
- else if(inString == false && ch == '"')
- {
- inString = false;
- }
- else if(inMuliCmt == false && ch )
- }
- //////////////// STUDENT TESTING ////////////////////
- int run()
- {
- //cout << "Student testing" << endl;
- strip();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement