Consider a plain Win32 dialog with listview control (in report mode) written in C++. Upon a certain event all items and all columns are deleted and new columns and items are created. Basically, as content changes, columns are automatically generated based on content.
When old items/columns are removed and new ones added, listview flicke...
Hello all
i need to create high volume of pdf's as output from c++ application
what is the recommendation on fast pdf creation lib ?
the pdf's forma is simple ( invoice's )
...
Hi guys
Does anyone know any code in ns2 which can give us residual energy of a node and also something for measuring the signal strength when we recieve a message. I'm very confused just let me know as soon as posible. Thanks in your advance.
...
Hi.
I have to create a 3-Dimensional array, wich gets allocated at object creation. I've done such stuff before with normal arrays.
typedef unsigned char byte; // =|
byte ***data;
...
Hello there,
I have something like that (simplified)
class A
{
public:
virtual void Function () = 0;
};
class B
{
public:
virtual void Function () = 0;
};
class Impl : public A , public B
{
public:
????
};
How can I implement the Function () for A and the Function() for B ?
Visual C++ lets you only define the s...
Hi,
i am trying to integrate a scripting mechanism to my existing project.However i could not understand how to pass objects to lua with luabind.
For example i have an entity class and i want to update them in lua files.
#include <stdio.h>
#include <ctime>
#include <iostream>
#include <string>
#include <list>
using namespace std;
ex...
Dear all:
I'm getting a little rusty in scripting languages, provided they're popping like mushrooms lately :)
Today I thought that it would be nice to have a scripting language that talks seamlessly to C++, that is, could use C++ classes, and, the most important for me, could be compiled into C++ or some DLL/.SO (plus its .h) so that ...
In the course of finding a way to interoperate between C# and C++ I found this article that explains about P/Invoke.
And I read a lot of articles claiming that C++/CLI is not exact C++ and requires some effort to modify from original C++ code.
I want to ask what would be the optimal way when I have some C++ objects (code/data) that I ...
i'm trying to index an mp3 file with only one ID3 frame. using CLucene and TagLib. the following code works fine:
...
TagLib::MPEG::File file("/home/user/Depeche Mode - Personal Jesus.mp3");
if (file.ID3v2Tag()) {
TagLib::ID3v2::FrameList frameList = file.ID3v2Tag()->frameList();
lucene::document::Document *document = new lucene...
I am using the ICU library in C++ on OS X. All of my strings are UnicodeStrings, but I need to use system calls like fopen, fread and so forth. These functions take const char* or char* as arguments. I have read that OS X supports UTF-8 internally, so that all I need to do is convert my UnicodeString to UTF-8, but I don't know how to do ...
I am looking for OLE DB driver to acces SQLite. Is there any? I need it to use under MFC, not .NET.
I have found this but it is .NET driver: http://CherryCitySoftware.com/ccs/Home/Default.aspx
and this but I have no references to this: http://www.newobjects.com/product.asp?Category=71
Thanks
...
The goal is to control which types of users are allowed to perform which operations at the UI level. This code has been in place for a while; I just want to improve it a bit.
The file which I am trying to improve should probably be auto-generated, but that would be too big of a change, so I seek a simpler solution.
A file which we shall...
I have a strange problem with object serialization.
in the file documentation it states as following
The lead in starts with a 4-byte tag
that identifies a TDMS segment
("TDSm"). The next four bytes are used
as a bit mask in order to indicate
what kind of data the segment
contains. This bit mask is referred to
as ToC (Ta...
Is there any free C/C++ code to flowchart generator tool available on the net for download?
...
Hi,
Is it allowed to delete this; if it the delete-statement the last statement that will be executed in that instance of the class? Or is it maybe allowed to delete that instance in a method called at the last statement in that class? Something like:
void doStuff()
{
//blah blah, stuff, you know...
delete changeModule(new Ma...
...well, I got strange results!
I was curious about the performance of std::vector vs. that of a dynamic array. Seeing as there are many questions on this subject already, I wouldn't have mentioned it if I didn't constantly get these 'contradictory' results: vector<int> is somehow faster than a new int[]! I always thought that if there ...
Is there anyway to dectect available DVD burners in a windows system using c++? I know how to detect all available drives but I would like to be able to detect which ones have the ability to burn DVD media.
...
I am looking to retrieve the raw query bytes from an Oracle statement and copy them directly into a POD C structure. The reason for this is due to legacy code that must be ported to using Oracle from Informix. I'll illustrate what I basically need below. I have been looking into using the Oracle Template Library (OTL) but I have been una...
Hi, I am having some trouble with building my programme. I am working on Windows 7 professional 32-bit with Visual Studio 2008. I have the Cuda SDK and my project is set up with all links to cudart.lib etc. My problem is when I try to build my project it returns the following errors:
1>crowdSim.obj : error LNK2019: unresolved externa...
I'm traversing a text file line by line adjusting the text so that the file eventually will match the syntax required to be run on a MIPS simulator (MARS). My issue is that whenever I see a line with the string "blezl" in it, I want to do several things. First I need to insert some lines of text following the line containing this word. T...