Virtualbox users may want to consider using vmware if possible instead of vb; I just read an article on /. this morning about the complaints from the kernel developers about vb and how bad the code...
Type: Posts; User: interval1066; Keyword(s):
Virtualbox users may want to consider using vmware if possible instead of vb; I just read an article on /. this morning about the complaints from the kernel developers about vb and how bad the code...
You don't think using a char pointer would be faster than using a string object?
This is hardly rocket science. This is probably the fastest way of doing it short of inline assembler, and no 3rd party library needed;
int nlParen = 0;
const char *p = str.c_str();
for(int n...
C++ is a great language, and I find its lack of features one of its strengths; you're not locked into any particular garbage collecting library, you're not locked into any particular library at all....
Libcrypt, OpenSSL, Crypto++, Botan, & LibTomCryptall have implementations if your looking for C/C++ impls. I'm not even going to bother posting the links, these are all well known and easy to find...
Its not supposed to prevent anything, this comes from writing code on Windows that was designed on Unix. I'm not coming down on Windows, just sayin'. Here's another example; earlier today I posted an...
Might want to describe what help you need.
Oh, this tool will encrypt your porn folder just fine.
@worksofcraft: Thanks for the good words. I'm confused about one thing though, you should be able to use natural language words for passwords though. One of the modifications I made to Dr. Gladman's...
I've written an application for encrypting individual files or directories of files; I've designed it to be easy to use with the Gnome desktop. Distributed with full source, of course. I'm not...
The design goals of C++ are that everything is an object, so anything that needs to be "global" should be an object and put in the global namespace. How well or not you want to stick to this design...
I'm packaging a few bash scripts with my application, this is my first time doing this. I'm using autotools, of course. I'm trying to use the AC_CONFIG_FILES macro in my configure.ac file;
...
I've written file encryption utility; I know there are a bunch out there but I wanted one that was really easy to use for quick encryption/decryption. I'd never knock TrueCrypt; this is for use...
You don't nessessarily (or even usually) need to re-compile the kernel to get a device accessible to it. Often a loadable module is sufficient, and safer.
Just a guess, have you tried passing the file name through the URLencode/Decode class (I forget the full class path to that class, or even if its "URLencode/...", but I know there's such a class. Its...
You don't have to, I mean, you continue to code in plain C, and be perfectly happy, but there is just such a wealth of smart objects out there that will make your life so much easier you'll start to...
This is a big topic and depends on what kind of application you're writing. If this is a gnome desktop app you'll want to at least be familiar with this info;
...
Stop being an ***. I've not found maintaining header files to be that much of a bother. Too bad for you if you have. I mean, REALLY TOO BAD FOR YOU. You must be a simpleton, because they really...
I don't quite understand your issue with header files. I've never had problems "synchronizing" headers with the rest of the source, I'm not exactly sure what that means... a header files is just a...
Might need kernel-package & build-dep (apt-get install both).
Emacs is still kind of heavy for some. Gedit (if you're using the Gnome desktop) has syntax coloring and is already installed. Then if you don't mind installing something you can try Geany which has...
Take a look at the dbus interface and libnotify.
Think on this example; what is the answer to the mathematical question "x / 0 = ?"
The official, mathematical answer to this question is "undefined". If you don't believe me, look it up. I dare...
Not too sure what you mean by "pulse." If you want to write a pulse generator, you need to solder up some simple hardware, which is outside the scope of this forum. If you want to read to or write...
This is what I did when I needed to time stamp output with a command line utility I recently wrote:
#include <time.h>
time_t timer;
struct tm *ptm;
time(&timer);