Problem | goodbye |
---|---|
User | angelanglez |
Submission Time | 2024-06-01 16:10:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
goodbye.cpp:5:13: error: empty character constant
5 | string a = '';
| ^~
goodbye.cpp: In function ‘int main()’:
goodbye.cpp:5:13: error: conversion from ‘char’ to non-scalar type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} requested
goodbye.cpp:7:31: error: expected ‘;’ before ‘}’ token
7 | cout << 'Goodbye' << a << '!'
| ^
| ;
8 | }
| ~