|
by: Ajay Daptardar |
last post by:
Hi,
I have the following problem. Consider this:
// codec.h
template <class T>
class codec {
public:
codec(T val);
private:
|
by: Connell Gauld |
last post by:
Hi,
I am having problems compiling a small project in VC++ 6. I have
included the error below and the full project (including workspace) can
be downloaded here:
http://www.freebreakfast.co.uk/Example1.zip
I am new to C++ (esp. using multiple files) and I am not sure I have
structured the files right (with the correct includes etc). Any other...
|
by: blueblueblue2005 |
last post by:
Hi, here is an example I copied from Deitel C++ book. but when I
compile it, always get the above compilation error, no matter how I
change the include order, please help.
here is the files:
Note: this is to practice Proxy classes.
// Implementation.h
class Implementation {
|
by: Mikael S. H. |
last post by:
Header file compilation
I'm coding a small irc bot, and I've noticed that compilation takes very
long when I add certain header files (compared to compilation time without).
I've tried to find out if it is possible to compile a header file, yet I
have only found that it is possible, but not how it is done.
I have RTFM, STFW and searched...
|
by: Marcelo |
last post by:
Hi everybody,
This is my first time with the template class and I have an strange problem. I
have spent all the afternoon trying to understand it, but I don't get the problem...
I have three files:
matrix.cpp (template class)
matrix.h
test.cpp
|
|
by: vitalyt |
last post by:
Hi,
I have cpp file which consist nested templates. Compilation time
without optimization is 1-2 minutes, with -O2 turned on more then 5
hours. :( Could anybody help with that problem?
AIX 5.2, Visual Age C++ 6 compiler
#include <pair>
using namespace std;
// value
typedef
|
by: Jerome Durand |
last post by:
Hello,
I'm trying to write something along the following lines
but I cannot get this to compile.
template <typename derivedstruct Base {
typedef typename derived::valueType valueType;
virtual valueType Value() = 0;
};
|
by: Christof Warlich |
last post by:
Hi,
can anyone tell why line 6 below gives the compilation error:
error: expected primary-expression before '>' token
Everything works fine if MemoryBlockSizes is replaced by a constant,
e.g. an int.
Thanks for any hint,
|
by: Alex Vinokur |
last post by:
Hi,
I have compilation problem on SUN CC compiler with template while
using option -m64 (64-bit addressing model).
No problem while using option -m32 (32-bit addressing model)
$ CC -V
CC: Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
|