Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. void Conf::set_temp_iface(string iface) {
  2. temp_iface.append(iface);
  3. cout << temp_iface.size() << endl;
  4. }
  5.  
  6. void Conf::set_temp_iface(string iface) {
  7. temp_iface.append(iface);
  8. cout << temp_iface << endl;
  9. }
  10.  
  11. int main(int argc, char* argv[]) {
  12. //некие инструкции
  13. snf.get_config().set_temp_iface(string(argv[3]));
  14. //другие инструкции
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement