Jared

United States

Age: 20

Computer science, computer engineering, and electrical engineering undergraduate student. Typically encountered writing in C, C++, Objective-C, and Python.

May
16
accepted Need help recursively creating a directory tree using the Boost Property Tree library and XML
May
16
comment Need help recursively creating a directory tree using the Boost Property Tree library and XML
You understood perfectly. Sorry about any ambiguity; I wasn't entirely certain about what I was -supposed- to want in terms of using this library. What you gave is extremely close to what I was wanting. I greatly appreciate the example code.
May
15
revised Need help recursively creating a directory tree using the Boost Property Tree library and XML
added 2 characters in body
May
15
comment Need help recursively creating a directory tree using the Boost Property Tree library and XML
Oops. Well, that's embarrassing... Thanks for the catch.
May
15
asked Need help recursively creating a directory tree using the Boost Property Tree library and XML
May
9
accepted Is it possible to use std::sort with a sort function that takes extra arguments?
May
5
accepted How do I build an executable for an application written in Swift from the terminal?
May
5
comment How do I build an executable for an application written in Swift from the terminal?
Works for general cases, but fails when adding lines like import Foundation, where I receive the output: <unknown>:0: error: cannot load underlying module for 'CoreGraphics' <unknown>:0: note: did you forget to set an SDK using -sdk or SDKROOT? <unknown>:0: note: use "xcrun -sdk macosx swift" to select the default OS X SDK installed with Xcode Following the general advice given does not work. Any additional insight?
May
5
asked How do I build an executable for an application written in Swift from the terminal?
May
2
awarded Critic
May
2
comment Why is my selection sort returning a value that is not in the original vector?
There's some low-level intricacies behind it, but it mostly boils down to personal preference. No difference between the two.
May
2
answered Why is my selection sort returning a value that is not in the original vector?
May
2
answered Converting from a char to a long
May
1
comment Classes: Multiple Definitions Compiling Error
I have a feeling your problem isn't in these files, it's in your ThreeVector.h or ThreeVector.cxx file. Also, don't list your header files in your compile command. You should compile with only your source files. This should work for your case: g++ *.cxx -o LorentzVT
May
1
comment C++ Fraction class does not work on negatives
Where are your parentheses when calling print()?
May
1
answered Combining three text files into one text file forming a sentence C++
May
1
comment Get the largest, average and smallest value
@Malina With compilers being so good at optimizing and speed rarely being an issue (especially not here), there's hardly ever a reason to limit yourself to just C. Don't ever make it harder on yourself than you need it to be.
May
1
revised Get the largest, average and smallest value
Simplified code.
May
1
answered Get the largest, average and smallest value
May
1
awarded Autobiographer
1 2 3 4 5