Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http://aibyjeffreyandge.htmlplanet.com/cgi-bin/login #91

Open
aibyjeffreyandgecompactron opened this issue Nov 28, 2024 · 0 comments
Open

Comments

@aibyjeffreyandgecompactron

=== compile output ===

main.cpp:1:1: error: unknown type name 'function'
function generateCodePower(code) {
^
main.cpp:1:28: error: unknown type name 'code'
function generateCodePower(code) {
^
main.cpp:2:3: error: unknown type name 'let'
let output = "";
^
main.cpp:3:8: error: unknown type name 'let'
for (let i = 0; i < code.length; i++) {
^
main.cpp:3:23: error: use of undeclared identifier 'code'
for (let i = 0; i < code.length; i++) {
^
main.cpp:4:16: error: expected unqualified-id
const char = code[i];
^
main.cpp:6:9: error: expected expression
if (/[A-Za-z]/.test(char)) {
^
main.cpp:6:12: error: expected ',' or ']' in lambda capture list
if (/[A-Za-z]/.test(char)) {
^
main.cpp:17:7: error: C++ requires a type specifier for all declarations
const code = "5=<8> ∆ quartz 13=12 or +1 temporary code power by JEFFREY +[1]9:46 quartz CARAT POWER ALPHA ROM AI 25 VOLUME OF A PRISM PNEUMATIC CAT RING";

main.cpp:18:1: error: use of undeclared identifier 'console'
console.log(generateCodePower(code));
^
main.cpp:19:1: error: unknown type name 'function'
function generateCodePower(code) {
^
main.cpp:19:33: error: expected ';' at end of declaration
function generateCodePower(code) {
                                ^
                                ;
main.cpp:36:1: error: use of undeclared identifier 'console'
console.log(generateCodePower(code));
^
main.cpp:37:1: error: unknown type name 'function'
function generateCodePower(code) {
^
main.cpp:37:33: error: expected ';' at end of declaration
function generateCodePower(code) {
                                ^
                                ;
main.cpp:54:1: error: use of undeclared identifier 'console'
console.log(generateCodePower(code));
^
main.cpp:55:1: error: unknown type name 'function'
function generateCodePower(code) {
^
main.cpp:55:33: error: expected ';' at end of declaration
function generateCodePower(code) {
                                ^
                                ;
main.cpp:72:1: error: use of undeclared identifier 'console'
console.log(generateCodePower(code));
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant