Git Product home page Git Product logo

erica_jos's People

Contributors

choe-jongin avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

backsanghyeon

erica_jos's Issues

(linux/gcc)redefinition ERROR! plz help!!

ERICA_JOS$ g++ -c -o JOS.o JOS.cpp
JOS.cpp: In function ‘void Draw(int, int, const char*)’:
JOS.cpp:79:6: error: redefinition of ‘void Draw(int, int, const char*)’
void Draw(int _x, int _y, const char * _c)
^~~~
JOS.h:36:6: note: ‘void Draw(int, int, const char*)’ previously defined here
JOS.cpp: In function ‘void Draw(int, int, char*)’:
JOS.cpp:86:6: error: redefinition of ‘void Draw(int, int, char*)’
void Draw(int _x, int _y, char * _c)
^~~~
JOS.h:43:6: note: ‘void Draw(int, int, char*)’ previously defined here
JOS.cpp: In function ‘void Draw(int, int, char)’:
JOS.cpp:93:6: error: redefinition of ‘void Draw(int, int, char)’
void Draw(int _x, int _y, char _c)
^~~~
JOS.h:50:6: note: ‘void Draw(int, int, char)’ previously defined here
JOS.cpp: In function ‘int Kbhit()’:
JOS.cpp:103:5: error: redefinition of ‘int Kbhit()’
int Kbhit()
^~~~~
JOS.h:60:5: note: ‘int Kbhit()’ previously defined here
JOS.cpp: In function ‘bool SetValidPos(int*, int*)’:
JOS.cpp:126:6: error: redefinition of ‘bool SetValidPos(int*, int*)’
bool SetValidPos(int * _x, int * _y)
^~~~~~~~~~~
JOS.h:20:6: note: ‘bool SetValidPos(int*, int*)’ previously defined here
extern bool SetValidPos(int * _x, int * _y);

How can solve it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.