2,055 Topics
![]() | |
is there still a point in learning classical data structures and algorithms when the dot net framework and even the java API has collections which can do everything that these classic algorithm does? the reason why i ask is that i do not want to waste my time learning them … | |
Hello, I am having trouble creating a double linked list within an array of pointers. Right now actually, I am just trying to make a linked list. Line 267 is where I get a complier error. I understand the error (cannot convert `std::string' to `wordList*' in assignment ), but I … | |
Hey Sorry to bug you guys again. I had one more question. As i am developing this program now i realize that i have no clue how to save the data to the database. basically the whole point in making this program was to be able to export a table … | |
I am working on a product reviews site using php and mysql, and have a table set up for product data, as well as review data. I am trying to get a list of top rated products within the last 24 hours to show up on the front page. This … | |
I am want to know the difference of window xp vs. vista.Please discuss of the difference of window xp vs vista . About the difference of register,algorithm,data structure,skeduler and a good or bad of each windown.Thank u for detail. | |
I have a web based program that I am trying to create, in which I will have a user create a profile, which optionally includes a homepage URL and/or blog URL. Since not every user will have a blog or a homepage to enter, I have moved that information to … | |
Hi all I'm experimenting with win API gui stuff, and I've run into a problem with dialog boxes. Currently, when the "Show DialogBox" option in the menu is pressed, the dialog box pops up. I then need for this dialog box to be draggable/moveable, and to "hide" when its close … | |
[B]Hello Guys Can anybody here answer my this question. How we can show Latest Categories from this Sql table. Here is the Table [code] -- -- Table structure for table `jos_afm_cats` -- CREATE TABLE `jos_afm_cats` ( `cat_id` int(11) NOT NULL auto_increment, `parent_id` text NOT NULL, `file_id` int(11) NOT NULL default … | |
hi iam study data structure by c++ and begin to doing the project , iam using microsoft visual stdio 6.0 ,found (18) error in the project ,can anyone help me to finish the project :'( ... the project found in the link !!?? :$ [URL="http://usasamm.googlepages.com/k.rar"]click here[/URL] | |
Hi, I can't seem to find any information at all...about how I can assign an Array into TStringList. I'd like to do something like that : for i:=0 to 10 do begin vArr[0] := intToStr(i); vArr[1] := intToStr(i + 1); vAStringList.addObject(inttostr(i), vArr); end; I'm trying to build a data structure … | |
Hi, i have been making a program that tests a computer owner's firewall. It gets input from the client i made, and does a system() with it. Is there any way to make the firewall not block the program right when i make a scocket? Oh, im using Dev-C++ 4.9.9.2 … | |
modularize program code by using functions. You will produce two solutions: a) using global access functions, and b) using classes and member functions. a) Using Access Functions Write five Invoice access functions: setInvoice(), computeAmount(), getAmount(), printData() and a global client function computeAmount(). Function setInvoice() has five parameters of types Invoice, … | |
Hi to all , I have a problem i can't see my message box. Here is the TEST2.cpp [code=c++] #include <windows.h> #include <winuser.h> #include "TEST2.h" BOOL EndDialog(HWND hDlg,INT_PTR nResult); /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM); BOOL CALLBACK ToolDlgProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM … | |
modularize program code by using functions. You will produce two solutions: a) using global access functions, and b) using classes and member functions. a) Using Access Functions Write five Invoice access functions: setInvoice(), computeAmount(), getAmount(), printData() and a global client function computeAmount(). Function setInvoice() has five parameters of types Invoice, … | |
Hi i have a problem i can't see my menu. So thanks for reading. It is not finished but the compiler done it . So i wana test drive before complite it. File name Test1.cpp [code=C++] #include "resource.h" #include <windows.h> #include <winuser.h> /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure … | |
After writing out the main functionality for my templatized data structure, I am stumbling with the syntax to allow for Compare (so the user can provide a definition for less). If I am not mistaken, I need to add at least another constructor. I tried reading the STL implementations for … | |
modularize program code by using functions. You will produce two solutions: a) using global access functions, and b) using classes and member functions. a) Using Access Functions Write five Invoice access functions: setInvoice(), computeAmount(), getAmount(), printData() and a global client function computeAmount(). Function setInvoice() has five parameters of types Invoice, … | |
Hello, C question here (running on Linux, though there should be no platform specific code). After reading through a few examples, and following one in a book, for linked lists i thought i would try my own small program. The problem is, I seem to be having trouble with memory, … | |
Hi, A friend of mine was asked a question during a CS exam about finding and maintaining the minimal element in a linked list in constant time, as elements are randomly added to and deleted from the list. He could not answer it, and after he related this to me, … | |
Am trying to write a structure to store weather data for a particular month. total rainfall High temp Low temp Average temp Am trying to calculation but not getting anywhere. I need help please. (1)Not sure how to add the 12 rainfall to get the total rainfall and the average … | |
Dear all, Currently I am working on a project that has to do with logging visitors traffic. Let's say, every time a visitor has visited the website, one row will be inserted into a table. Thing is, just like OneStat, Nedstat or whatever, this project retrieves it's input from a … | |
[code=c++] #include<stdio.h> #include<conio.h> #include<alloc.h> #include"C:\windows\desktop\input.h" #define MAXBITS 32 #define MAXNODES 512 #define MAXSYMBS 256 int hmin(void); void hinsert(int,int); //First structure struct codetype{ int bits[MAXBITS]; int startpos; }; //second structure struct nodetype{ int freq; int father; int isleft; }; //The structure defined typedef struct hlist{ int pos; int hfreq; struct hlist … | |
Yes, another controversial thread by me :) First of all, Let me just say that I am NOT racist, and that this thread is dedicated to the theory that there are genetic differences among the different human races. Don't be an ignorant fool and simply post 'oh this is bull!!'. … | |
Hello, well this portion of code is basically just the structures from the program. everytime i compile the program i get an error at the INFOstructure. i am using these structure in a program that read from a file and prints the data to the screen. my problem is that … | |
I'm having trouble writing a function that searches through an array of structures for a string value. The structure looks like this: [code] struct Computer{ string Model; string Brand; int Price; }; [/code] For some reason I have no problem finding the Price values, but the function that is supposed … | |
[code] Public Class Form1 Dim xpos As Integer Dim ypos As Integer Dim i As Integer Dim tempTotal As Double Dim dblTempTotal As Double Dim dblSum As Double Dim dblGrandTotal As Double Dim Printer As PrintDialog Const MAXNAMES As Integer = 50 Structure ItemInfo Dim Name As String Dim Price … | |
hi all, i have a table whose structure is as below: Name Null? Type ----------------------------------------- -------- ---------------- NEWSLETTER_ID NOT NULL NUMBER SUBJECT_VC VARCHAR2(255) MAILTYPE_VC VARCHAR2(50) CONTENT_TXT CLOB SCHEDULE_DT VARCHAR2(50) SYSTEM_HOOK_VC VARCHAR2(50) NSTATUS_SI NUMBER TEMPLATE_ID NUMBER i want to insert data in this table. below is my php script i m … | |
Good day. I would like some suggestions/recommendations as to what type of project i could do...so basically you guys get to assume the role of a professor...here it goes: Write a program that uses an array of structures. lt can be on any topic or subject you wish to choose. … | |
Hey folks. I am working on a program (really its 2, but they go hand in hand). The first one takes a text file which contains the following: last name first name SSN Salary Years employed There are 7 entries in the text file to be read in... The program … | |
For an assignment I've been asked to program a Java command line application that reads in from an ASCII file the structure of a maze, the program should then identify whether the maze is solvable hence have a beginning and an end. Example below: [code] ### # # # # … | |
Hey all, I'm working on a project for school and I'd appreciate it if I could bounce a few ideas around. Part of the project requires taking in a list of data with each value consisting of an xyz position in space and a uvw magnitude. The initial part of … | |
hi for all pl, if any can do the folowing: " Write a cross-reference program which constructs a BST with all words included from a text file and records the line numbers on which these words were used. These line numbers should be stored on linked lists associated with the … | |
Guys, without saying anything much, I have such data at hand (rows from a database table): [code]111 | xyz | a, b, c[/code] Following someone's wise words, I would love to have this transformed to : [code] 111 | xyz | a 111 | xyz | b 111 | xyz … | |
Before I write this, I realize there are way better ways to accomplish what I am asking, but I am JUST wondering if it is possible to do it the way I am asking. I have a main function called system. The system has a menu and depending on input, … | |
Hope there are some good gurus out there that can lend a hand to this discussion. Can anyone here give me some advice on methods and strategy for maintaining and upgrading existing Access DBs as my VB6 (not NET) application develops and/or grows? The story goes like: MyApp.exe and my … | |
hi all, right now i'm trying to migrate from db2 running under linux to mysql v5.1. i manage to export out the db2 structure & data into a del (ascii) file. but when i try to load the data from the del file to mysql table, it generate an error. … ![]() | |
Hi everyone. I'm having trouble getting groups working in a list box.I'm trying to have two groups. One will be "Done", and the other will be "todo". I'm getting these errors: [QUOTE] In function `LRESULT WindowProcedure(HWND__*, UINT, WPARAM, LPARAM)': `ListView_EnableGroupView' undeclared (first use this function) (Each undeclared identifier is reported … | |
Ok, I need help getting started. I know the rules and such so I'm not asking for anyone to tell me answers or anything like that. I can do Dijkstra's algorithm no problem on paper with a graph, but when it comes to the java implementation I have a harder … | |
I've know that a pointer to some dynamic memory must be deleted to prevent memory leaks. Now if say a struct/array or some other data structure, each with its own dynamic memory parts. If that structure (class, file...etc) contains the data structure goes out of scope does that automatically free … | |
My Task is....(this is in pascal code by the way i am using a software called pascal7) Produce a program that: [B]*reads in, from a text file, the names and dates of birth of 5 people *stores these names and dates of birth using a sensible data structure *determines which … | |
Hi everyone. I am new to PHP and MySQL. I am trying to create an RSS feed that gets content from more than one database table. The database tables are "categories". And I want to retrieve the latest content from those categories for the RSS feed. I want to retrieve … | |
Am not able to display the polynomial. Thr some problem in display function. Please help me out in this. [code=cpp] #include "stdafx.h" #include <iostream> using namespace std; // Creating a NODE Structure struct node { int coe,exp; // data struct node *next; // link to next node and previous node … | |
Hi, I have the following structure to read the file data with fixed format of my binary file. Now I want that every time my ReadFromFile function is called with 'counter' variable it should 1. return me frame specified in the 'counter'. 2. The file needs to be closed only … | |
[QUOTE]A. PROBLEM The purpose of this project is to equip students with skills of manipulating an array as a data structure to store and process information, using the C++ object structure construct: struct. The problem is poised as follows: create a data structure to hold a term of a polynomial … | |
Hi I am reading a file with number of frames. frame 1 distance [3072] intensity [3072] amplitude [3072] w_amplitude [3072] frame 2... Now I want to read the data in structure form so that I have:- frame[0].distance[0] frame[0].distance[1].... ... frame[0].amplitude[0] ... frame[1].distance[0] and so on. My code is below and … | |
Define a structure called Class with the following data: title (class title), units (number of units) and grade (letter grade received for the class). Define a structure called Student with the following data: name (for student name - can include spaces), gpa, and classes which is an array of Class … | |
I have been assigned to create a program to simulate a soft drink machine. The following structure is supposed to be used to store the following data: Drink Name Drink Cost Number of Drinks in machine I am suppose to create an array of five structures and initialize the elements … | |
I could really use some help here. I can't figure out what's the problem is, so I've assumed it's all C's fault. I have a function: [code]pf_plot32(Uint32 data[], Uint32 dl, pfplot pattern[], Uint8 pl, Uint32 pr, struct pf_path32 *path)[/code] ..Which takes a pointer to a structure: [code] struct pf_point32 { … | |
Hi, I write program whitch read data from more industrial PC by SNMP. In program I use functions SnmpMgrOpen(agent, community, timeout, retries); SnmpMgrRequest(*session, requestType, &variableBindings,&errorStatus, &errorIndex) and SnmpMgrClose(*session). Problem is in read data. From first 3 pc data is readed correctly, but from next pc no. Function return no error, … | |
I'm working on a simple program. It will compile,but whenever I press the delete button a message pops up and says it needs to close. I looked at the error details and It's error code was 0xc0000005. This is where I think the problem is: [CODE] for(i= 0; i < … |
The End.