Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. int main() {
  2. char const* path = "/bla/bla";
  3. struct zip *teste;
  4. int *errorp;
  5. &teste = *zip_open(path, ZIP_CREATE, errorp);
  6. return 0;
  7. }
  8.  
  9. main.cpp: In function β€˜int main()’:
  10. main.cpp:11:50: error: lvalue required as left operand of assignment
  11. &teste = *zip_open(path, ZIP_CREATE, errorp);
  12.  
  13. int main() {
  14. char const* path = "/bla/bla";
  15. int *errorp;
  16. struct zip *teste = zip_open(path, ZIP_CREATE, errorp);
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement