{"action":"created","issue":{"url":"https://api.github.com/repos/wamy4726/Myers_CSCI2270_FinalProject/issues/2","labels_url":"https://api.github.com/repos/wamy4726/Myers_CSCI2270_FinalProject/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/wamy4726/Myers_CSCI2270_FinalProject/issues/2/comments","events_url":"https://api.github.com/repos/wamy4726/Myers_CSCI2270_FinalProject/issues/2/events","html_url":"https://github.com/wamy4726/Myers_CSCI2270_FinalProject/issues/2","id":72874778,"number":2,"title":"Project will not compile","user":{"login":"Kassi-Butler","id":11985096,"avatar_url":"https://avatars.githubusercontent.com/u/11985096?v=3","gravatar_id":"","url":"https://api.github.com/users/Kassi-Butler","html_url":"https://github.com/Kassi-Butler","followers_url":"https://api.github.com/users/Kassi-Butler/followers","following_url":"https://api.github.com/users/Kassi-Butler/following{/other_user}","gists_url":"https://api.github.com/users/Kassi-Butler/gists{/gist_id}","starred_url":"https://api.github.com/users/Kassi-Butler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kassi-Butler/subscriptions","organizations_url":"https://api.github.com/users/Kassi-Butler/orgs","repos_url":"https://api.github.com/users/Kassi-Butler/repos","events_url":"https://api.github.com/users/Kassi-Butler/events{/privacy}","received_events_url":"https://api.github.com/users/Kassi-Butler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-03T22:22:32Z","updated_at":"2015-05-03T23:23:40Z","closed_at":null,"body":"Getting an error that says CardDeck() constructor is defined in multiple places but I cannot find any besides in project_file1.cpp"},"comment":{"url":"https://api.github.com/repos/wamy4726/Myers_CSCI2270_FinalProject/issues/comments/98555868","html_url":"https://github.com/wamy4726/Myers_CSCI2270_FinalProject/issues/2#issuecomment-98555868","issue_url":"https://api.github.com/repos/wamy4726/Myers_CSCI2270_FinalProject/issues/2","id":98555868,"user":{"login":"Kassi-Butler","id":11985096,"avatar_url":"https://avatars.githubusercontent.com/u/11985096?v=3","gravatar_id":"","url":"https://api.github.com/users/Kassi-Butler","html_url":"https://github.com/Kassi-Butler","followers_url":"https://api.github.com/users/Kassi-Butler/followers","following_url":"https://api.github.com/users/Kassi-Butler/following{/other_user}","gists_url":"https://api.github.com/users/Kassi-Butler/gists{/gist_id}","starred_url":"https://api.github.com/users/Kassi-Butler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kassi-Butler/subscriptions","organizations_url":"https://api.github.com/users/Kassi-Butler/orgs","repos_url":"https://api.github.com/users/Kassi-Butler/repos","events_url":"https://api.github.com/users/Kassi-Butler/events{/privacy}","received_events_url":"https://api.github.com/users/Kassi-Butler/received_events","type":"User","site_admin":false},"created_at":"2015-05-03T23:23:40Z","updated_at":"2015-05-03T23:23:40Z","body":"Sure. So when I copied and pasted it into a new project in CodeBlocks, it gave me this error where it says that every method in your .cpp is defined multiple times, then gives me the same line as the error. Like this:\r\n\r\n/home/user/Dropbox/CSCI2270/MyersProject/Final_Project.cpp|16|multiple definition of `CardDeck::CardDeck()'|\r\nobj/Debug/Final_Project.o:/home/user/Dropbox/CSCI2270/MyersProject/Final_Project.cpp|16|first defined here|\r\n\r\nBut when I put it into Geany, it only gives me trouble with the to_string function like this:\r\n\r\ng++ -Wall -o \"Porject_Driver\" \"Porject_Driver.cpp\" (in directory: /home/user/Dropbox/CSCI2270/MyersProject)\r\nIn file included from Porject_Driver.cpp:7:0:\r\nFinal_Project.cpp: In member function ‘void CardDeck::makeDeck()’:\r\nFinal_Project.cpp:77:20: error: ‘to_string’ is not a member of ‘std’\r\n    deck[j]->name = std::to_string(deck[j]->value);\r\n                    ^\r\nCompilation failed.\r\n"}}