2,055 Topics
![]() | |
hi there, i'm quite the beginner at c++, just got to my last project for my course to do. The project asks me to create a family tree using linked list. It says the tree and its components should be templated so it can have a family tree of any … | |
hey, got a quick question regarding template classes. I've made several data structures that I've found to be very useful (using template classes) but it's getting tiresome making a new explicit specialization every time I implement it in a new way. Such as if I want to do this in … | |
Hello everyone. I'm now working on a banner software which allows admins to see full statistics of banner displays, clicks and other information in selected time interval by minutes, hours, days etc. I want to consult any experts who have experience using large tables with JOIN queries and optiomize my … | |
Hi There, I'm tinkering with an idea of a database structure for the company i work for, i'm currently compiling a client list using mysql and accessing it via php. The problem i have come across yet not solved is, when i search the database for a surname i would … | |
I've got a problem with a web application that runs slow when called by JQuery? Below I will be summarising the structure of the application, but just to say that it is hanging inconsistently and unpredictably as if the (dedicated) webserver runs out of memory or too many database connections … | |
In this work you will materialise a algorithm that solves the problem of Stable Marriage. In this problem we aim at "n" men and "n" women and our goal is the contracting of constant marriages between men and women. Obviously each man can be wedded only one woman and one … | |
Heya, i'm learning c at the moment and have a project i need to complete. I'd like to start of by saying that the course i'm on is pretty poorly taught. They taught us scanf printf basic arrays basic structures and fflush which doesn't even work on my compiler. We … | |
im given an very tuff assignment like this a. Introduction we have read all input from q sql file.the name of sql file should be read by a command line.please any body help me to do? i tried some. support of SQL of your ADT table to CREATE TABLE, DROP … | |
Hi, I got homework about tree data structure professor wrote his own tree stuff which are: binnode.h and bintree.h the actual file is tree.cpp binnode.h [code=c++] #ifndef BINNODE_H #define BINNODE_H #include <math.h> #include <iostream> /*******************************************************\ template node class for binary tree \********************************************************/ template <typename dataType> class binNode { private: dataType … | |
Hi guys, I think I may have complicated matters for myself with this one. I'm making an image gallery, which is built based on a hierarchy. I have no problem outputting the images directly in their specific category. The problem I'm having is I'm trying to call 1 thumbnail from … | |
hi, here I has data on my localhost it's update from user and hosting data with thensame structure of data. how do I to make sync my update data in my localhost to hosting data with schedule time's??? some advice please.!! thank's :idea: | |
have recently migrated my ubb forum website([url]http://2aforum.com/[/url]) to a new web hosting server, i have placed the files on new server and i think directory structure is right and also set up the database through phpmyadmin, and changed config file accordingly but still i am getting this error [COLOR="Red"]UBB Message … | |
I like to script php, and lately i was looking for a way to create a 100% dynamic page in php, with the least possible overhead and create a rich user experiance. I say this is a "New" PHP structure because I have come up with the idea myself, that … | |
Hey Guys, I am new to the concept of Arrays and I need a little help. I have included the instructions for the problem as well as the code that I have so far. Can you help me with what I am doing wrong? Thanks! Write a program that asks … | |
Hello, I'm trying to get the STL equal_range function to work on a data structure I've designed, but I may be trying to use the equal_range function in a non-standard way. Is there a way to get this to work? Basically, I have a vector of vectors of structures (elements) … | |
I'm trying to create a simple advertisment booking system for a community newspaper. The paper is published (printed) every two weeks and relies on local small businesses taking out small ads. We want to keep track of all of our customers, and their bookings both past and future. Each issue … | |
Somebody help me build this program, its sort of challenging...Instructions say to store player's name, number and points scored by each player...Program should keep an array of 12 of these structures, each element is for a different player ona team...program should ask user to enter the data above for each … | |
I have a very hard programming challenge and i need help... I have nothing so far, so im hoping somebody could help me build it... Im to write a program that uses a structure to store student name, student ID number, pointer to and array of test scores, average test … | |
Hey, I'm new to win32 and basically, I want to create a program that reads commands from a text file and then does the command. So, say if I wanted to write some text on an application window, i'd just have to write: [CODE] lable.caption huuhaa [/CODE] I have done, … | |
Long story short, writing a multithreaded honey pot, and am having issues starting the honey pot servers. I'll get straight to the code, then explain the issue: Structure defs: [code=c] typedef struct __GENERIC{ int sock; char buff[MAXBUFF]; char ip[17]; int status; int port; int max_conns; // dMaxClients (Master = max … | |
I have a very hard programming challenge and i need help... I have nothing so far, so im hoping somebod could help me build it... Im to write a program that uses a structure to store student name, student ID number, pointer to and array of test scores, average test … | |
I have a very hard programming challenge and i need help... I have nothing so far, so im hoping somebod could help me build it... Im to write a program that uses a structure to store student name, student ID number, pointer to and array of test scores, average test … | |
Hi.. i want to know how do we access a web site's data to be displayed on my application e.g. like i want to create an application that looks up some investing site and displays current stock and share values on my desktop. I have already in mind that the … | |
hey, I got a question regarding functions returning a linked list. Here's the data structure of my linked list (just in case it deviates from the standard way of doing it) [CODE] template <class T> class Link { private: unsigned int size; Link<T> *nextRow; Cell<T> *firstCell; public: Link(); ~Link(); //functions … | |
Hi guys, I need a help on my assignment. [B]Background[/B] A data transmission system typically breaks a large message into smaller packets. In some systems, the packets can arrive at the destination computer out of order, so that before the application requesting the data can process it, the communications program … | |
Hey, i'm writing a client-server, so far i've got this: my structure [CODE]typedef struct mesg{ long type; pid_t pid; char data[64]; } MSG;[/CODE] the client [CODE]int main(int argc, char *argv[]){ int MSGid, msglen, mpid; MSG m; MSGid = msgget(KEY, 0600); while(1){ memset(&m, 0, MSGLEN + sizeof(long)); m.type = 1; mpid … | |
Before I state my problem, which is in bold text, I need to give you a little bit of background. I'm working with 3 binary log files of about 35mb each. Each one holds approximately 65000 records. Each record, which is about 400 bytes, holds information containing the date, transmission … | |
I am a new user on this C and have a hard trouble with I/O's. If you could let me know what I am not clarifying. Thank You! [code] #include <stdio.h> #include <stdlib.h> // employee structure definition // struct year2009Data { float SSN; // employee social security number // char … | |
Hi all, So I've got an assignment of creating a priority queue using a heap data structure. I've read lots of pages online about the heap data structure, but I keep coming up with questions. In my class, I got the impression that a heap was structured similarly to a … | |
Hi, I'm doing this programming exercise for my C++ class. I'm using Microsoft Visual C++. for some reason, the program wouldn't save my data. Can someone please take a look at my code and tell me what I did wrong? [code] /* Chapter 12 HOMEWORK Dung Tran CS 116 C++ … | |
Please help me, I am new to Java . My xml file structure is as follows--- <Procedure> <SP> <ID>100</ID> <Name>Employee</Name> <Inputs> <Input NAME ="asasa" DATA="sasas"/> </Inputs> </SP> <SP> <ID>101</ID> <Name>Display</Name> <Inputs></Inputs> </SP> </Procedure> I have generated the classes for the xml file using the commmand xjc. Now I need to … | |
Hello, Iam working on website, technically this is my first j2ee website .. so iam trying my best here .. I tried to make simple front-controller technique using servlets + JSP .. and this is wat i done : index.java [CODE] Map event = new HashMap(); event.put("cats", new cats()); event.put("login", … | |
[COLOR="Red"]Hi guys :?: I'm in my final year and I'm supposed to do an eCommerce assignment, but I'm new to eCommerce world. So I just need some hints and guidance to work on this assignment. I have very short time to do it, so I just need your kind help … | |
PARTITION ROTATION PROBLEM CASE - Once a day application pupulates table which is used during the day. Next day the data are purged and replaced with the fresh set of rows. The table is relitevly big - about 1GB of data. Application does truncate the table and repopulates it anew. … | |
Thanks in advance for your help. Ok...the last part of this program is where I am stuck. I am supposed to read data in from a file and sort by gender. But the output is supposed to read department, gender, first, last names, job title and salary -- then to … | |
hello, quick question regarding template classes and pointers. I'm making a linked list kind of container system, and I'm running into trouble with it when I (don't know if the terminology is 100% correct here) declare an instance of it. An example would be best to explain what's happening: I … | |
Guys i am working on a desktop application idea, using the visual paradigm to draw uml diagrams then export them to an XMI file. the problem that i am facing is that i need a uml 2.0 meta model data structure to use with C#.net. i was wondering if any … | |
hi guys, im new at the forum and would like to ask for assistance with a programming assignment. First the Question.. [COLOR="Green"]DEVELOPMENT OF A C++ PROGRAM FOR A STUDENT RECORD SYSTEM. You are to develop a student record system that makes use of the C++ structure and classes. The record … | |
Hi, I'm trying to read certain values from a text file and store them in a variable/string so that I can populate a combobox with the values. I have my read stream etc, but I'm unsure about how I would pick out certain data from the text file that I … | |
Hello, I want to create a tree structure in haskell so that later I can do a depth first search on it to find something. Here is an example I have thought of to try and understand the concept - [CODE]data Tree a = Nil | Node a (Tree a) … | |
Hi, I have managed to get a nested query to work partly, but i need to somehow add another nest, which i cannot get to work. To explain more, i wanted to firstly find records that did not exist in another table, to which i used the following [CODE] SELECT … | |
Hi, I am still rather green when it comes to C++ so be gentle with me. I am trying to create a dynamic array of objects (class Structure), each object represents a geometric (physical) structure. But for the sake of simplicity let's consider only one such object. Within each instance … | |
Hello, I just started C++ and I have this assignment to write. I started writing it but I can't seem to get this one thing and that is [U]how to create a new contact and store it in a file. [/U] I need to know if I used the structure … | |
When i tried to make the structure members(res_name,res_loc) as char pointer, i am getting error. i don't know how to convert res_name[25] to pointer.plz help me in this [icode] #include<stdio.h> #include<stdlib.h> #include<string.h> #define MAX 10 struct resource { int res_type; char res_name[25]; // i want to use this as char … | |
Help me to implement file concept in this problem , i want to save the structure data to a file and Display from file.Please help me. [CODE] #include<iostream.h> #include<string.h> #include<iomanip.h> #include<dos.h> #include<conio.h> #include<stdio.h> #define max 20 struct employee { char name[20]; long int code; char designation[20]; int exp; int age; … | |
[url]http://www.mindmedia.com/brainworks/profiler[/url] Seems to be right on! My results: Your Brain Usage Profile: Auditory : 56% Visual : 43% Left : 36% Right : 63% You show a slight right-hemisphere dominance with a moderate preference for auditory processing, an unusual and somewhat paradoxical combination of characteristics. You are drawn to a … | |
I have a number of files in a folder that are number as 1, 2, 3, 4, 5, 6, etc. I also have a text file in the same folder that identifies each of these numbered files and gives their path location. The text file looks like this: 1 C:\system\Apps\file1.exe … | |
I'm building my first real C# project, and need just a little guidance about the best way to do it. The website is pretty simple, pretty much just a few static pages, but one is going to be a nearly 300-item survey of the activities a person enjoys. The data … | |
Hi everyone, I just had a quick question on how to go about getting data populated from a data grid view to an array of structures? I have a data grid view with 6 fields and 10 records that match elements in my array. I declared a list of songs … | |
ok so i have some code that works perfectly with visual studio 2003, but when i move it into my project which is using visual studio 2008, the compiler spits out 9 errors. compiler output: [CODE]1>Compiling... 1>main.cpp 1>.\main.cpp(3) : error C2011: '_STORAGE_QUERY_TYPE' : 'enum' type redefinition 1> C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winioctl.h(641) … |
The End.