similar to: Using a C++ library to read a binary file

Displaying 20 results from an estimated 80000 matches similar to: "Using a C++ library to read a binary file"

2009 Dec 05
1
R brush for SyntaxHighlighter
Hello, I've written a brush for R for the SyntaxHighlighter JavaScript library. It allows you to display R code on a web page with the proper syntax highlighting. It's available here: http://demitri.com/code Comments and suggestions for improvement are welcome! Cheers, Demitri
2007 Sep 04
1
Variable scope in a function
Hello, I apologise in advance for this question; I'm sure it is answered in the documentation or this mailing list many times, however the answer has eluded me. I'm trying to write a function where I don't want external variables to be scoped in from the parent environment. Given this function: test_func = function() { if (exists("kat") == FALSE) {
2004 Aug 06
2
C++ wrapper for speex
hi Tom, i downloaded your speex wrappers and they're really what i'm looking for! i really cannot worry about container support at the moment because i'm working with real-time audio, and hopefully toward VoIP when everything else is in order. im using waveform to capture data from the microphone. the raw PCM sample is stored in the WAVEHDR structure's member lpData, and this
2004 Aug 06
1
C++ wrapper for speex
hi sirs, i am only recently studying speex and i'm looking for a C++ wrapper for speex that has higer-level implementations for the Encode and Decode functions, to sort of base my initial understaning of how the speex API work. i have in fact created my own, following on the instructions in the speex codec manual, but i havn't really made any positive progress. (a lot of people have
2005 Aug 31
5
"best" c++ matrix library?
Hi folks, I am planning to write some more time-consuming matrix manipulations in c++. What is the experience with the existing c++ matrix libraries? Do you have some recommendations? Are some libraries more compatible with R than the others? All suggestions welcome! Best, Ott
2005 Jul 04
3
How difficult is it to wrap a large C++ library with R?
Dear list, I have developed a forward-time population genetics simulation environment simuPOP, which is a set of C++ (template) classes/functions wrapped by SWIG as Python libraries. R is used extensively as plotting and statistical analysis engine through RPy package. I use Python to wrap simuPOP since most the following can be easily done using SWIG or Python C API. However, since Python is
2006 Jan 09
2
Interfacing R and C++
I have a single c++ file that contains a class and a "wrapper" function that has C-like syntax for interacting with the Class. Basically, this wrapper function just makes an instance of the class and then organizes the data for return to R. #include <math.h> void myFunc(double *data, int *n, double *prm, double* intervals, int* max, double *plot) { ... } myClass::myclass(...)
2005 Aug 03
1
C++ File Decoder position not implemented?
It appears the C++ File Decoder wrapper to the FLAC__File_Decoder_decode_position function has not been implemented. How can I determine what the current sample is being decoded? I note the seek_absolute function is included, so I can go to a particular sample, but I don't know where I am :-) Thanks! Scot -------------- next part -------------- An HTML attachment was scrubbed... URL:
2005 Apr 18
3
A 'true' R-wrapper for C++ classes
Hello I am trying to wrap some C++ classes into R. (1) Comparing the OOP and methods packages, I have came to this conclusion that OOP works much better for this wrapper -- please correct me if I am wrong. One question is why this useful package (OOP) is not included in the official release of R? (2) Choosing the OOP package way, I have carried out the following steps to wrap the C++
2009 Sep 01
0
[LLVMdev] accessing a bitcode library exported from C++ using the JIT
On Tue, Sep 1, 2009 at 4:53 AM, Samuel Crow<samuraileumas at yahoo.com> wrote: > We're using the LLVM Value * class functions to box and unbox values and functions for our stack.  The stack needs to be able to take indexing without changing the stack pointer so we're using a std::vector for that.  The std::string section would be a lot easier to replace than the two I just
2006 Nov 06
2
[LLVMdev] LLVM code emittion and C++ compiler compatibily
> On Mon, 6 Nov 2006, [ISO-8859-2] Žiga Osolin wrote: >> The other thing are the return types. I don't know (it is probably even >> not documented) how VC++ returns smart pointer (boost::smart_ptr), >> or any other type (other basics types, such as int, float, ... are >> probably returned into EAX as with GCC). Once again, we may >> need specific return values
2012 Jun 07
3
[LLVMdev] Is it possible to convert C++ code to C++/CX code via a plugin of clang?
Hello Guys,I am developing a plugin of clang and hope it can convert some C++ functions to C++/CX wrapper classes for WinRT system. If so, it would do a lot of work automatically.Now I have been somewhere. Using clang libraries, I could fetch the elements of C++ code for example, return type, function name, parameter list and others. Should I inherit "clang::Decl" to express C++/CX
2005 Apr 26
2
C++ <-> R mapping
Following my previous post and the intuitive adivces of Duncan Murdoch, I would like to ask some questions regarding C++ to R mapping. Initially, it appeared to me that in order to perform this mapping, the existing object-oriented design of R would be a good choice. This could include both the S3 and S4 classes approaches. However, there were replies about some 'other' approaches. I
2004 May 06
2
AW: AW: Reading OGG embedded in a pack file
yes, you are right. i always search for quick and easy solution and forget in the meantime that vorbis is a low level codec library. so probably a wrapper lib is the right way. but as far as i understand vorbisfile is already a bunch of convenience functions? so to speak a wrapper lib ? so why not enhance a little bit vorbisfile ? and - i did not felt personally attacked. i just wanted to note
2006 Nov 06
0
[LLVMdev] LLVM code emittion and C++ compiler compatibily
On Mon, 6 Nov 2006, [ISO-8859-2] Žiga Osolin wrote: > The problem is this is not possible, because what I would compile to JIT > are actual classes. The integration of C++ and JIT code is very > important; for example we would create our own vtbls with JIT-ed code > addresses as the function call target. Ok. Realize that this ties you to a specific compiler version though. >
2006 Nov 06
0
[LLVMdev] LLVM code emittion and C++ compiler compatibily
On Mon, 6 Nov 2006, [ISO-8859-2] Žiga Osolin wrote: > The other thing are the return types. I don't know (it is probably even > not documented) how VC++ returns smart pointer (boost::smart_ptr), > or any other type (other basics types, such as int, float, ... are > probably returned into EAX as with GCC). Once again, we may > need specific return values per arhitecture. It is
2012 Jun 08
0
[LLVMdev] Is it possible to convert C++ code to C++/CX code via a plugin of clang?
CC'ed to clang ML. You can post clang question on clang ML. :-) On Thu, Jun 07, 2012 at 06:23:15PM +0800, yangzhi0104 at sohu.com wrote: > Hello Guys, > > I am developing a plugin of clang and hope it can convert some C++ functions to > C++/CX wrapper classes for WinRT system. If so, it would do a lot of work > automatically. > > Now I have been somewhere. Using clang
2012 Mar 13
1
Coding C++ in R. What is faster : Using bosst external libraries or R.h header file?
Hi everyone, I have built an R package and for the sake of speed I have decided to rewrite some part of the code in C++. In my original R code I use the pnorm, qnorm, rnorm, pgamma, dgamma, rgamma, rbeta and runif function. First I was thinking in going with the boost libraries, but I noticed the functions described above are available within the R.h header file (or is it Rmath.h?). So my
2009 Sep 01
4
[LLVMdev] accessing a bitcode library exported from C++ using the JIT
----- Original Message ---- > From: Eli Friedman <eli.friedman at gmail.com> > To: Samuel Crow <samuraileumas at yahoo.com> > Cc: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu> > Sent: Monday, August 31, 2009 3:49:01 PM > Subject: Re: [LLVMdev] accessing a bitcode library exported from C++ using the JIT > > On Mon, Aug 31, 2009 at 12:17 PM, Samuel
2008 Aug 12
4
[LLVMdev] CLR or C++/CLI interface to IR building API
Hi Our front end is written in a CLR language, and we're currently interacting with the middle/back-end by writing out .ll files. This was convenient to get started with, but they're getting to a "huge and unwieldy" stage now. I was wondering if anyone's attempted writing proxy/wrapper C++/CLI classes so that the IR API can be used directly from managed languages. Any