Working with file and directories paths in c++11? [closed] - c++11

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Working with file and directories paths in c++11?
I am trying to catch up, it has been long time since c++.
What should I use: the boost filesystem library, or there are better ways in c++11,
for the following tasks:
get files from directory string
manipulate file/directory paths
...

For now, Boost.Filesystem is your best bet. It's proposed for a future version of C++, but it also doesn't have support for some POSIX features (opened file descriptors, openat) that improve security and performance, so it may change before it gets into the standard.

The standard filesystem library would be best - once it comes out.
Sadly I haven't seen any other currently available c++11 implementations.
Instead, TinyDir is a small c dependency I like to use for these kind of tasks:
https://github.com/cxong/tinydir
I personally really like it's simplicity and portability. (linux + windows)

Related

Haskell alternative to SDL for windows [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Due to the various issues with getting hsSDL to work on Windows, I'm looking for another library that can handle keyboard input and drawing images to the screen. Does anyone know of any?
I've successfully used gloss on Windows in the past without issues. It's also very simple (which I like) and is my go-to recommendation for people who want to use Haskell for simple graphics/ basic games.
Edit: It looks like gloss is having issues building on the Hackage server and as a result isn't displaying documentation. Here is the documentation for version 1.8.1.2, which should be about the same.

How to config vim to make the completion like Xcode? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I found the code completion of Xcode is much convenient,but how to make it for vim?
Any plugins support or how config the vim file?
Vim supports some kinds of completion out of the box: :help ins-completion.
There are several packages that expand this system, most well-known among them being YouCompleteMe and NeoComplete/NeoComplCache.
There are specialised solutions for individual languages, such as eclim for Java (which connects to an Eclipse server, and thus can actually understand Java and provide many IDE features).
But ultimately, as romainl says, Vim is an editor, not an IDE, and if you're trying to use it as an IDE, expect pain.

How to begin programming standalone applications for OS X [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Are there any good resources for beginning writing applications for OS X?
I'm familiar with c++, Java, php so don't necessarily need introduction to programming concepts but don't really know where to start with creating applications for a mac.
I have used Borland for creating .exe files on a PC. Is there a similar system for macs?
If you want to continue in a language you already know, you can use Qt, which uses C++ and supports many platforms, including OSX.
However, the most common programming language for OSX is Objective-C, which you'll be able to find many tutorials on-line.
The most common IDE to use is XCode, which is free in the App Store.

Windows single-user SCM with grep feature? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
For single-user development, I like Fossil because it's a single EXE and has a lot of features.
However, at this point, it doesn't have a grep feature to search for code in the repository. The only way is to write a script with a loop to successively check out each revision and grep through the work files.
Is there another small, good SCM (for Windows) that does support grep to avoid checking out revisions?
Thank you.
Not so small, but good - Mercurial (in form of TortoiseHG). It has power grep.

Ruby version of the TCL-based Expect? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Expect seems to be a very powerful automation tool: http://www.nist.gov/mel/msid/expect.cfm
Is there a Ruby equivalent to that tool?
There's the pty package in the standard library, but that only implements a subset of the functionality of the Tcl package. In particular, it appears to lack the ability to wait for many patterns at once, or to provide interaction at the same time. Maybe this won't matter for what you're doing with it; a great many expect programs never make use of its full power.

Resources