Comments (3)
Hey,
The errors you encountered is because of C++11. I haven't tried to use GCC for
a long time; instead, I use LLVM to compile those on my Mac. We had posted how
to compile the program in the "Project Home" page. Let me digest the line for
compiling method for you --- "From the command line, the command to compile C++
source is clang++ -Werror TargetFile.cpp -stdlib=libc++ -std=c++11 -O3". Please
try this and report to us if there is any problem. Thanks!
Original comment by [email protected]
on 27 Mar 2013 at 4:43
from elements-of-programming-interviews.
Thank you. I use clang++ and it worked well.
Original comment by [email protected]
on 27 Mar 2013 at 5:25
from elements-of-programming-interviews.
Original comment by [email protected]
on 27 Mar 2013 at 5:28
- Changed state: Fixed
from elements-of-programming-interviews.
Related Issues (17)
- Broken Link for New Source Code HOT 5
- Patch for /trunk/Sudoku_solve.cpp HOT 2
- Problem 8.10 resize problem HOT 1
- 10.2 Indirect Sort Output Error HOT 1
- Patch for /trunk/Remove_kth_last_list_template.cpp HOT 3
- stringToInt in problem 5.6 accepts invalid input "-" HOT 1
- Solution is incorrect for problem 15.22 Scheduling Tutors HOT 2
- Version 1.3.0, Problem 6.4 (1.) Description is there in the book, but algorithm is missing HOT 1
- Broken links HOT 1
- solution 3.6 error HOT 2
- solution 3.7 error HOT 3
- Introduction algorithm is incorrect, also implementation is missing from HOT 8
- problem 3.7 bugs/suggestions... HOT 3
- problem 3.4 the recurrence equation HOT 1
- Patch for /trunk/Subseq_cover.cpp HOT 1
- Patch for /trunk/Rebuild_BST_postorder.cpp HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elements-of-programming-interviews.