I’m a beginner web developer and I’m looking for place where you can find free template. Can you give me some recommendations? My close friend gave me an advice, that I should check [Gavick](http://www.gavick.com) offer. Have anybody heard of it?

Member Avatar
Member Avatar
+0 forum 2

Hi Guys, I have a big problem. I want to merge two oft/msg outlook templates. when I try to open my oft/msg outlook template with: Outlook.Application oApp = new Outlook.Application(); Outlook.MailItem newMail = (Outlook.MailItem)oApp.CreateItemFromTemplate(path); newMail.Display(); It works - pictures are visible.. The problem is that I need to merge two templates into one email. I tried to copy one HTMLBody to string and to add it to other HTMLBody It works - but pictures dissapear :( IS there any way to achieve that including the pictures?? HELP!

Member Avatar
Member Avatar
+0 forum 6

Hello! I was creating a custom array class as an exercise in my exploring of class and function templates. Here's my header file: #include <iostream> template <typename el> class Array { friend std::ostream &operator<<(std::ostream&,const Array&); friend std::istream &operator>>(std::istream&,Array&); public: Array(const int& arraySize=0); //set all members of array with size arraySize to NULL Array(const Array&); ~Array(); //destructor size_t getSize() const; //return size const Array &operator=(const Array&); bool operator==(const Array&) const; bool operator!=(const Array&) const; el &operator[](int); //returns modifiable lvalue el operator[](int) const; //returns non-modifiable rvalue private: size_t size; //ptr-based array size el* ptr; }; After I created the header file, I …

Member Avatar
Member Avatar
+0 forum 15

Howdy Daniweb, I've been doing some research and granted, there's some evidence that changing your template design in Wordpress can hurt your SEO, but there's little to no indication that pre-designed / template purchased websites are not optimzed properly, which can hurt your SEO. Does anyone have any insight to this?

Member Avatar
Member Avatar
+0 forum 1

Hi, i am new to this forum and Email Markting professional from India, New Delhi working with **[iCubes](http://www.icubes.in/index.php)** which is the Best Email Marketing compaies of India and, here to share my email marketing knowledge withyou all and moreover to interact with any professional of email marketing about my queries.

Member Avatar
Member Avatar
+0 forum 2

Hi Any one ever wrked on live helper chat? [This](http://livehelperchat.com/) This is following template structure may be symfony or smarty and I am looking to change some form labels, but cannot figure out where to chage? Thanks in advance for help

Member Avatar
Member Avatar
+0 forum 2

Hi all ...( warning : i am a total newbie to web development ) i am planning to develop a website... i have all the content to put into the website...and i already have a fanbase for the website. I have created the structure of the website in localhost. just need some help with some things , please ? first of all , i wanted to know whether it's advisable to use a framework like twitter bootstrap/bootstrap 3 for building the website or starting the website from scratch? Because i am still not sure with my design. whether it's advisable …

Member Avatar
Member Avatar
+0 forum 2

Hi Guys, I am trying to teach myself templates and I keep getting lost in all these compilation errors. Here is the latest // This is the interface for the base class template<class V, class I =int> class Array{ private: vector<V> myStore; public: Array(); Array(I size); Array(I size, V value); ~Array(); int size(); const V& element(I index); V& operator[] (I index); void print(); }; // This is the interface for the derived class template<class V, class I=int> class NumericArray: public Array<V,I>{ public: NumericArray(); NumericArray(I size){} NumericArray(int size, double value){} ~NumericArray(){} // void print(); }; This is my implementation for the …

Member Avatar
Member Avatar
+0 forum 5

Hi Guys, I am trying to teach myself templates in C++. My current assignment is to create a matrix class by using vector of vectors. I have got most of it done but my code is crashing when I try to overload the random access operator in my matrix class. Here are the relevant code snippets // This is the array class and I think this works fine template<class V, class I =int> class Array{ private: vector<V> myStore; public: Array(); Array(int size); Array(int size, V value); ~Array(); int size(); const V& element(I index); V& operator[] (I index); }; // This …

Member Avatar
Member Avatar
+0 forum 3

Hi, Please help me debug this code. I made a Stack template with two parameters: type and size. I am using it two times: first in conversion from infix expression to postfix (here, <char,50> stack is used), then in evaluation of postfix expression (here, <long double, 50> stack is used). There is an error while using 2nd stack. how to debug it. #include <iostream> #include <cctype> #include <cmath> using namespace std; template <class T,int size> class Stack { private: int top; T *nodes; public: Stack (); int empty (void); void push(T &); T pop(void); T pop(int &); ~Stack (); }; …

Member Avatar
Member Avatar
+0 forum 4

This demo will show a PHP script using a Smarty template. It assumes basic installation. In the folder where you copy the script, there should be a smarty folder containing the Smarty files. You should create a writable `cache` and `templates_c` folder, and a folder called `templates` where the `.tpl` file should be. For example: /smarty-demo/ smarty/ templates/ arrayTemplate.tpl templates_c/ cache/ using-smarty.php The code below shows both files, so make sure you split them. The demo is using arrays and array notation in the template. It is possible to use objects and object notation as well, but I've excluded that …

Member Avatar
Member Avatar
+2 forum 4

---------------------------------------------TSet.h------------------------------------------------------ #include <iostream> using namespace std; template <class V> class TSet { public: TSet(); TSet(int size); ~TSet(); void add(V new_item); void remove(V item_to_remove); int num_of_items(); bool isFull(); bool is_item_in_set(V item); friend bool operator==(const TSet<V>& left, const TSet<V>& right); friend bool operator!=(const TSet<V>& left, const TSet<V>& right); friend ostream& operator<<(ostream& outs,const TSet<V>& list); private: V *item_list; int size_of_list; int current_size; }; ----------------------------------------TSet.cpp----------------------------------------- #include <iostream> #include "TSet.h" using namespace std; template<class V> TSet<V>::TSet() : size_of_list(0), current_size(0) { item_list = new V[0]; } template<class V> TSet<V>::TSet(int size) : size_of_list(size), current_size(0) { item_list = new V[size]; } template<class V> TSet<V>::~TSet() { delete [] item_list; …

Member Avatar
+0 forum 0

I have a template in a 1-file .h file, and I need it to be adjusted and modified to work properly with only a partial amount of the items in it used. The testArray.cpp file I include is how I test if it works properly. As it is now, it displays garbage data for the first 5-6 runs through, then it properly displays numbers. I just need it to work 100%. A lot of the problem is within the += operator I feel, I don't know how to properly amend it. Here's the .h: // File: Array.h // Template array …

Member Avatar
Member Avatar
+0 forum 4

So im having issues with a sorted list template, heres how I implemented it enum RelationType {LESS, EQUAL, GREATER}; template<class ItemType> struct NodeType { ItemType info; NodeType<ItemType>* next; }; template<class ItemType> class SortedType { public: SortedType(); ~SortedType(); bool IsFull() const; int GetLength() const; void MakeEmpty(); ItemType GetItem(ItemType item, bool& found); void PutItem(ItemType item); void DeleteItem(ItemType item); void ResetList(); ItemType GetNextItem(); private: NodeType<ItemType>* listData; int length; NodeType<ItemType>* currentPos; }; template<class ItemType> SortedType<ItemType>::SortedType() { length = 0; listData = NULL; } template<class ItemType> bool SortedType<ItemType>::IsFull() const {/* NodeType<ItemType>* location; try { location = new NodeType<ItemType>; delete location; return false; } catch(bad_alloc exception) …

Member Avatar
Member Avatar
+0 forum 2

how much dynamic a template could be ? dynamic , in terms of modifications !! e.g i purchase a template for my website and further i want to modify it for my own satisfaction and requirements ? that how much it could be modified ? At large extent ? or restricted ?

Member Avatar
Member Avatar
+0 forum 9

I have problems to find inspiration in making simple designs. It's so anoying, I lose lot of time messing with styles instead of writting php code. Are there any tricks that people do to make design better and make quick layout. I don't look for something special, just simple design. But when I make it looks so ugly that I decide to start over.

Member Avatar
Member Avatar
+0 forum 5

I'm trying to write a simple linked list program. The header files are compiling successfully, but when I try to compile my driver program to test the program, I'm getting an error. Here's my driver program: #include <iostream> #include "Node.h" #include "List.h" using namespace std; template <typename T> void fill(List <T> &listObject) { T value; cout << "Enter value (or 0 to end): "; cin >> value; while (value != 0) { listObject.insertAtBack(value); cout << "Enter value (or 0 to end): "; cin >> value; } } int main() { List <int> integerList; fill(integerList); } The error is flagged in …

Member Avatar
Member Avatar
+0 forum 5

Hi, I'm writing a database for a computer shop and need some examples to look at. (It's not for a real shop, just a little project of mine) Where Can I find some templates for Access Database templates for a business like this?

Member Avatar
Member Avatar
+0 forum 6

Hi everyone, Wondering if anyone could help with a minor problem... I have a class that contains a std::map that stores pointers to various objects as a void pointer and a name for the object, so within the class I have a template function where the object type is passed, as well as the object name in order to find it - if found, it will cast the void pointer to the corresponding object pointer type. So the function call looks like MyClass* new = objectHolder->getObject <MyClass> ("MyClassname"); But is it possible to do it like this MyClass* new = …

Member Avatar
Member Avatar
+0 forum 3

Hello everybody, I am trying to teach my stl and after writing some basic programs I have hit a road block. I have an iterator which I am trying to pass to a function template Here is my function template template <class T> void display(typename vector<T>::iterator start, typename vector<T>::iterator end){ cout<<"My display "<<*start<<endl; } Here is the call to this function vector<int>::iterator myBeginIterator; vector<int>::iterator myEndIterator; myBeginIterator = myVector.begin(); myEndIterator = myVector.end(); display(myBeginIterator,myEndIterator); Howevert this code refuses to compile. The compilation error is error: no matching function for call to ‘display(__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >&, __gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >&) I …

Member Avatar
Member Avatar
+0 forum 4

Hi there I am trying to center my website template to the middle of the page...currently at the left. Cant find which part of the CSS files it goes with...can anyone help? http://home.comcast.net/~waynetorrance/roomies/index.html

Member Avatar
Member Avatar
+0 forum 3

Hello, I have a problem with a header I'm trying to make. In Main.cpp, I have this function to store the combinations of the elements of vector S: [CODE=c++]template <class T> vector<vector<T> > combinations(vector<T> S, ll k) { vector<vector<ll> > combs = ncombinations(S.size(), k); vector<vector<T> > setcomb(combs.size(), vector<T>()); for(unsigned int i=0; i<combs.size(); i++) { for(unsigned int j=0; j<combs[i].size(); j++) { setcomb[i].push_back(S[combs[i][j]]); } } return setcomb; }[/CODE] It works fine when it's inside Main.cpp, but when I try to put it inside a header "comb.h", I get an error. The header is like this: comb.h [CODE=c++]#define COMB_H_ #include <vector> #define ll …

Member Avatar
Member Avatar
+0 forum 2

i'm testing out a template function i created for a header file i'm writing, but it will not compile for some reason. it's giving me problems with iosfwd, although i'm not using it. [CODE]#include <iostream> using namespace std; template <class LOGICAL_AND> LOGICAL_AND __and(x, y) { return x==y ? 1 | 0; } int main() { int a = 24; int b = 7; int c = 12; int d = 12; char x[2]; //use to close program and show values cout << __and(a,b) << endl; cout << __and(c,d) << endl; cin.get(x,2); return 0; }[/CODE] i would post up the errors …

Member Avatar
Member Avatar
+0 forum 10

guys I've been trying to write this lab for my comp sci class for three days now. i've got to the point where it compiles but when I try to run it a table pops up that's says there's an error somewhere in the program that causes it to abort. the program is a simple one, it uses pointer based lists. Basically I'm supposed to write a code for a parking lot with two lanes. When a car arrives I have to find a spot for it on either of the two lanes. And if a car departs I remove …

Member Avatar
Member Avatar
+0 forum 1

Since I decided to reinvert the wheel and write a growing MVC, I though having a template class will be cool. Now I have never done any complex templating apart from simple include kind of templating. Now I wrote this base class and here is my concept is explained below. Is this right way/concept of writing web page templates? [B]Concept[/B] "Any Template class will extend this class. The Controller will modify single part or all. If controller will modify the content only using set action, then the page will change only one component and other parts will remain the same …

Member Avatar
Member Avatar
+0 forum 5

Hi Friends, I am new to this XML & XSL. I want to write a template which takes two arguements and it should take the node name and node value. in template i want to format the input value. Please share if any one can guide me on this. The below values i want to format the float values each with different formats. for example first two values should be always 3 digits format. and 3rd node i want to display always 3decimals. 4th node i want to display always 4 decimal values. 5th node i want to display always …

Member Avatar
+0 forum 0

this is a piece of my header file that is a template and my implementtion file that is using it.I keep getting errors and dont know why,any help would be appreciated. [CODE]template<class T> class List { public: private: T *list; int size; int numElements; bool isValid(int location) const; }; [/CODE] This is the implementation file [CODE] template<class T> bool List<T>::isValid(int location) const { return (location>=0 && location<numElements); }[/CODE]

Member Avatar
Member Avatar
+0 forum 3

I keep getting errors and i dont know what im doing wrong.I've included just pieces of these three files. The compiler is giving me errors and i dont know what's wrong. this is my header file List.h not all but some of it. [CODE]#include <iostream> using namespace std; #ifndef INTEGERLIST_H #define INTEGERLIST_H template <class T> class List { public: List(int sz); //Constructor create array with sz capacity //The big three ~List(); //Destructor List(const List &initList); //Copy constructor List &operator=(const List &rightSide); //Assigment operator //Name: getSize //Description: returns the number of elements in the array //Parameteres: none //Return: number of elements …

Member Avatar
Member Avatar
+0 forum 3

I programmed this vector class to support different types and different amount of dimensions. (class T,int D) D is the dimension. I don't use templates much and I'm running into an error, my constructors aren't working. Here is my class [CODE]#include <stdio.h> #include <stdarg.h> template <class T,int D> class Vector { public: Vector(); Vector(...); Vector(const Vector<T,D>& vec); ~Vector(); const Vector<T,D>& operator=(Vector<T,D>); Vector<T,D> operator+(Vector<T,D>); Vector<T,D> operator-(Vector<T,D>); Vector<T,D> operator*(Vector<T,D>); Vector<T,D> operator/(Vector<T,D>); const Vector<T,D>& operator+=(Vector<T,D>); const Vector<T,D>& operator-=(Vector<T,D>); const Vector<T,D>& operator*=(Vector<T,D>); const Vector<T,D>& operator/=(Vector<T,D>); bool operator==(Vector<T,D>); //bool operator==(T); //bool operator> (Vector<T,D>); //bool operator< (Vector<T,D>); //bool operator>=(Vector<T,D>); //bool operator<=(Vector<T,D>); //bool operator> (T); //bool operator< …

Member Avatar
Member Avatar
+0 forum 3

I'm trying to build my first template function, but it generates a compile error when lines 21 and 22 are not commented. What I'm trying to do is to have a template function that can return multiset<int>, multiset<double> or multiset<string> depending on the attribute I want to extracto from the vector. Each element of vector has several member names of Voice. Please see: [url]http://codepad.org/WpLEvSez[/url] Can I build such a template? The broader problem is this: I have a database where there are several tables, each with dozens of fields and I want to build a clustering algorithm. The first step, …

Member Avatar
Member Avatar
+0 forum 8

The End.