2,965 Topics
![]() | |
Generic Double Linked List [CODE="C++"]/* These are generic Functions for a Generic List * Note:-Only Functions not including a Menu and an Interface * You could use these Functions for your own Benefit*/ #include <iostream> using namespace std; template <class X> struct node{ //Template Structure X data; node* next; node* … | |
Hii Group, This is samuel Like to hav a small suggestion from you hope u ppl do. "[B]I would like to copy dat from one table to another of the same database in a give timestamp,I mean when system time equals to the feild time then the entire data should … | |
The garage has a number of regular customers who have their vehicles serviced annually whereby the vehicle is checked over for faults and standard items like oil are replaced. The charge for this service is based upon the type of vehicle being serviced, with different rates for motorcycles, cars, buses … | |
Hi, So I got one of these facebook virus's that is going around and now I cant seem to run AVG anymore. The malware I can tell of is Virus Trigger and Security Toolbar 7.1. If anyone can help me get rid of this stuff so I can get a … | |
Hi, My laptop has been doing weird stuff. It seems random and sometimes I can reboot it and everything works perfectly. Other times however I get a whole bunch of windows popping up about errors in windows or files or applications, etc. There's not one thing that always pops up … | |
Here's the problem, questions at the bottom. Write a program that uses a structure named MovieData to store the following information about a movie: Title Director Year Released Running time (in minutes) Include a constructor that allows all 4 of these member data values to be specified at the time … | |
I need help with something that’s infected my computer and I can't remove. I first noticed something was wrong when any internet search engine links are re-directed to other suspicious sites. Additionally, my browser was unable to contact any anti-virus sites, responding with an unable to connect message. My anti-virus … | |
We have a system where analysts can upload various financial metrics about a stock from Excel to SQL2005. Multiple clients use the system and each require collecting differing metrics. Currently we have all of the metrics as columns in a table. Each client obviously has a different table structure. Not … | |
i have this given structure: [code] struct Tempscale { double farenheit; double centigrade; }; struct Reading { int windSpeed; double humidity; Tempscale temperature; }; [/code] i am then asked: define a Reading structure variable is this ok: Reading data; write statements that will display following data: wind speed : 37mph … | |
Hello, I found this class at phpclasses dot org. It retrieves emails from pop3/imap servers. It works wonderfully. But I would like to learn how it works. I emailed the author but did not receive any response. So I'm placing my questions on daniweb because I know how intelligent this … | |
Hey all.. i am working on a assignment for class currently, and am having a few difficulties. Right now i have a file that i am reading in, for each value read, i call my insert() function. This insert function push_bakc(item) into a vector, and then i call a function, … | |
Hi there, This is my first post and I have already found this post extremely helpful. It's made a tough situation a lot easier. I bought a brand new PC last week and was online last night. Everything was going fantastically. The PC was running slickly and I was being … | |
I am having a major problem with a really simple File I/O operation. I have a pretty simple datafile filled with a list of names and courses. [CODE=text] Happy Singing Dopey Dancing Sneezy Etiquette Slimey Math Grumpy Mining Slinky Karate Happy Mining Dopey Mining Doc Singing Doc Math Doc Medicine … | |
Well i didnt really know where to post this =(, if you think its wrongly placed just move it =P I don't know if other Pascal versions show each code error, but FPC doesn't. If you got one this encouragement killer errors use Ctrl+F with your error code number. 001: … | |
Hi, I Have data stored with the following structure: Version Month Amount 1 Brand1 Jan 100 1 Brand1 Feb 200 1 Brand1 Mar 150 1 Brand1 Apr 500 .. .. .. Id'like to transform it in the following table: Version Jan Feb Mar Apr May ... Dec 1 Brand1 100 … | |
right i am really really sorry i have left it until the night before hwk is due in i need to make a program that; inputs student data outputs students data edits previously inputted student data deletes previously inputted student data if anyone can help me, give me a basic … | |
I am currently learning about heaps and specifically their relevance to priority queues. I don't seem to understand a couple concepts and was hoping someone could clear these up. First of all I don't understand the remove function. I get that it replaces the root with the last external node … | |
Hi, I have some text file like with following structure (also attached). I want to extract only data in the form of an array: ------------------------------------------ 2048 52 429 425 398 200.000000 0 638 940 921 906 25 26 27 25 61 4096 213 1116 1371 398 200.000000 --------------------------------------------- Could you … | |
Hi again. I wrote 4 instances of a structure to a .dat file. I called them north, south, east, and west. I created a new program to read that file and display the data. I am using the below loop. I am trying to JUST read the north data. I … | |
Hi guys I am trying to implement a buddy system using C, I've free the memory using myfree() and i've allocated memory using mymalloc(). I've tried to run the program, but it keep on generating segmentation error, would you guys please see the code, and tell me if you've spotted … | |
Hi, I'm implementing linear block coding and need some ideas on how to go about storing the cosets. i.e. If i have an alphabet C={000,101,010,111} I need to perform C+000={000,101,010,111} C+001={001,100,011,110} C+010={010,111,000,101} C+011={011,110,001,100} etc... observed here is that there are only 2 sets and it keeps repeating.So, i need to … ![]() | |
![]() | Hi everyone, I posted this in the wrong forum area before...hope this is correct. When using Firefox 2.0, I keep getting Internet Explorer windows popping up. This seems to happen once every 2-3 minutes, and it is very annoying. Is there anything that can be done? The log is listed … |
I'm currently writing a program in vb.net 2008, that is split into the main program and several DLLs (of which the user can select 1 to use). In the DLL, I have a function that reads data from a filestream into a structure, then returns the structure. While trying to … | |
Hi to all game programmers :icon_cool: I want to implement the following: Short description: [B]A* Star for partitioned space combined with an adaptive partitioning in 3D.[/B] Detailed description: A. Assume that in the 3D space I have an Object (myMovingObject) that I want to it to move from one initial … | |
I'm having to redesign a web-based data-entry page; as I had the original set up, it would have caused a high degree of duplicated information in the database I am working with. The original design called for a single form, in which a given set of data would be specified. … | |
Hello- I am hoping that I can get some help on a pesky issue I have going on. Pardon my ignorance here folks. We trying to open IE, I get an error message. It says: Microsoft Visual C++ Runtime Library Buffer Overrun Detected! A buffer overrun has been detected which … | |
I have studied sql. I know what is relational database. I wanna konw how we store the data in a relational database and how to query the data when we emplement a "select" statement Is there a open source relational data base? I wanna konw the data structure of the … | |
I'm working on a movie class for a project. I think I've got it reading in movies from a file. I want to test it using the overloaded subscript operator, but the Driver file will not let me enter a movie title to search for. I can't think of a … | |
Over night, my computer downloaded the automatic windows update and restarted. Once I logged back on, my browser would not connect to the internet. I knew i was online because I was running AIM. I restarted my computer and I was able to connect my browser to the internet. Soon … | |
I am new to the world of compiled programming languages. I do most of my work with Perl and bash scripting. I was recently asked to pursue a listener to the Asterisk Manager Interface that will be able to pull out caller ID information based on the extension that the … | |
Hello! I'm new to Ajax (coming from PHP world), and I've been able to find plenty of examples of Ajax being used to display data from XML on a web page, but I haven't found many examples of Ajax being used to update/edit the content or structure of an XML … | |
I've been trying to work it out for more than 10 hours already and still can get pass this The basic skeleton is like this [code] class BST { public: .... void insert (const device & aDevice); ..... private: ..... }; class device : public BST { ..... }; [/code] … | |
how can this be done? do i have to pointer the database in the structure first to make it able to be use from a text file for some C program ..example.. a measurement converter?? | |
HI my project involves making an index structure for a corporate or intranet. hence i need to store the urls in one file and then one by one count the frequency of a pre-specified word in each of these urls. i haev already made a package containing classes to count … | |
Here I go with yet another of my don't-get-the-syntax-problems. For some reason I tend to get a lot more from putting a question here than reading through a few dozen pages of documentation, which I have once again done. Say I have a dictionary as a basic data structure in … | |
Hi i am new to C++ I am have a error like the one above: on a linux working in the termial commands c++ round.cpp -lpthread -o moo.exe -- build file ./moo.exe -- running file get *** glibc detected *** ./moo.exe: free(): invalid pointer: 0xb7f226ec *** then shows ======= Backtrace: … | |
after i tried many times to solf this program i couldnt do it this is the sorce of my program and it is about sell and rent a care. my problem is when i run do progrm it works but when i try to see the car i want buy … | |
Hi! I am doing a project which tries to simulate a DBMS. The records for a relation(table) are saved in a file on disk. What I wish to do is - Specify the block to which each record be written / Save the content block wise Reason for doing this- … | |
Hi I've got the virus that won't let me change my background, so I ran the registry and enabled desktop under properties again, etc. There was also a mysterious icon on my desktop that said "setup1" that wouldn't delete (I'm assuming it was part of the virus), but once I … | |
Hi all. I am trying to write a template class queue for an "assignment" and I got stuck by what I think is a syntax error. To be honest, the assignment was MUCH easier than that but after having it completed I thought to be interesting to explore new possibilities... … | |
I had completed my code for my project, then decided to change it. I now have an error that I do not understand. C4715 which according to MSDN.com is 'function' : not all control paths return a value. The specified function can potentially not return a value. I have included … | |
hi all, today for no reason that i can think off i have pop-ups opening every few minutes and 1 or 2 porn icons appear on my desktop. teh pop-ups seem to be alert this and virus that, i even have norton pop-up with explorer allow or block so at … | |
I've gone through the "Read me before posting a request" thread and here are the requested log files. I am also including a hijackthis log. Your help is greatly appreciated! Thanks. Malwarebytes' Anti-Malware 1.28 Database version: 1234 Windows 5.1.2600 Service Pack 3 10/6/2008 11:18:34 AM mbam-log-2008-10-06 (11-18-34).txt Scan type: Full … | |
please tell me algorithm or code for following character sorting (Ascending) problem. For example Text file contains following data: 001, PSTR, abcdef, h.no.222 abcdefghik lmnopq rstuv, student, A-level 002, MKTO, abcdef, house. 2 abcdefghik lmnopq rstuv, student, rtv 003, LORR, abcdef, h.number.210 abcdefghik lmnopq rstuv, student, O-level 005, ASMP, abcdef, … | |
a generalized list structure can be declared in C as follows: [code=C++] typedef struct element{ bool sign; union{ char data; element* link; }; element* link; } [/code] as you see in this approach an element can have either "data" or "element* link"(the last link is included in every element) and … | |
I create the simple template structure like this [CODE] #include <iostream> template <class info> struct box { info data; }; int main() { box<int> b1; b1.data = 1; std::cout<<b1.data; return 0;typedef box square; } [/CODE] Now i want to use the typedef for this template structure. I could not figure … | |
I am a little confused with class scope. Lets say that you have a class. [code] //file.h struct B { int BB; char CC; }; class A { public: struct B *getStructure(); private: int number; }; [/code] I dont understand what is the difference between putting struct B inside the … | |
Hi i am new here and trying to fix a relative's computer First it would not boot windows so i had to reinstall the boot files from winxp cd then once i was able to boot i ran over 6 scans from different companies (avg8, ad aware, pc doctor) i … | |
Unforunately, i was caught off guard and got the facebook virus and have noticed kenny18.exe running on my pc and have been searching for a way to get rid of it. I've been reading another thread here about it, but i didnt want to cause any confusion in that thread … | |
I can only asume that my habit for p2p servers is what's destroyed my computers speed and created this pop up and internet problem. Explorer and firefox keep opening and closing by themselves and my computer tells me that it NEEDS to connect to networks that I am unfamiliar with … |
The End.