2,055 Topics

Member Avatar for
Member Avatar for shaynerossum

I'm trying to allocate memory delete it and then allocate it again with more, less, or the same. I've tried this several different ways, but I don't know how to do it or if it can be done with any similarity to my attempts. In my test program it should …

0
84
Member Avatar for kegathor

Hi, Im inserting data into a SQL2000 table with breaks/paragraphs and returning it on an ASP (VBScript) page without the breaks. The information is going into the table as follows; The quick brown fox jumps over a lazy dog. The quick brown fox jumps over a lazy dog. But its …

Member Avatar for chsab420
0
85
Member Avatar for LED555

I'm trying to INSERT a zip file into an MSSQL table. The table structure is such: [CODE]CREATE TABLE [dbo].[zips]( [id] [int] IDENTITY(1,1) NOT NULL, [timestamp] [varchar](50) NULL, [inserted] [varchar](50) NULL, [filename] [varchar](50) NULL, [raw_file] [varbinary](max) NULL ) ON [PRIMARY][/CODE]...nothing too fancy. When I insert a text file, everything is well …

Member Avatar for LED555
0
536
Member Avatar for shaynerossum

Hi, first of all I would like to thank you for taking the time to look at my problem. I'm trying to input to a multidimensional character array. The error occurs on the second array. I tried to understand the problem by varying my input, but it always occurs on …

Member Avatar for shaynerossum
0
338
Member Avatar for shashikant.v

public class OpenMenuListener implements ActionListener { public void actionPerformed(ActionEvent ev) { if(ev.getSource() == a) { f2 = new JFrame("shashikant verma"); p2 = new JPanel(); f2.getContentPane().add(p2); String str = "<html>"+"<h>"+"<P ALIGN = \"CENTER\">"+"<i>"+"<font size = \"10\">"+"<font color= \"#800080\">"+"CORRECT DEFINITION AND<br>"+"STRUCTURE OF FUNCTION y = f(x) "+"<br>"+"</i>"+"</h>"+"<P ALIGN = \"LEFT\">"+"<font size = …

Member Avatar for shashikant.v
0
219
Member Avatar for vignesh_ramji

Heyy im a 12th grade student trying 2 put pictures in my cricket project i have 2 display pics of all players i have a code but it works only for some pictures at times it crashed down and pc shuts down any1 has a proper code to display 256 …

Member Avatar for vignesh_ramji
0
188
Member Avatar for Talguy

I am creating a scripting engine that would execute my own scripting language. The engine does a double pass through the script, the first pass parses the file and builds the data structure and the second executes the script. The error I am getting is when I try to read …

Member Avatar for Talguy
0
118
Member Avatar for karthik.u

Hey guys need some help with this. I m kinda new to c++. I m trying to insert a structure into a set. and when i compile this i m a gettin an error. i guess i need to add a comparator function please let me how do i do …

Member Avatar for Tom Gunn
0
2K
Member Avatar for hny_lyn

To begin, we were asked to make a TREE... It says that we should traverse the left subtree of the ROOT/NODE in postorder and then make a copy of it... Next is to traverse the right subtree of the ROOT/NODE in postorder and then make a copy of it... Lastly, …

Member Avatar for quuba
0
533
Member Avatar for Whilliam

Hello. I'm not getting the desired output for my program. The problem is specifically in the file. I can get it to save and load but when I try displaying it, its gonna have a General Protection Exception error. Here's my code. Please help [code=c] #include<stdio.h> #include<conio.h> #include<string.h> #include<stdlib.h> #define …

Member Avatar for Tom Gunn
0
151
Member Avatar for Bhavanajoshi

Sir, I have feedback logs generated by systems in txt file for various programs. Given below one example ***************** Feedback Sheet, 50415301 - OME6110&6130 for I&C, date and time - Sat Jun 14 17:00:16 GMT+05:30 2008 Trainer - Xavier Course Duration - June 12-14 2008 TD I = 87.2 : …

Member Avatar for happygeek
0
187
Member Avatar for rstep21

I have a level 2 programming class i have to take for my major, even though i'm on the IT track and not programming. I struggle alot with programming and was looking to get pointed in the right direction. Below is the directions for my assignment but i honestly have …

Member Avatar for wheel
0
118
Member Avatar for mainoffender

Hi everyone! My name is Max and I’ve been an ABAP programmer for 6 years now. Since my work is closely connected with SAP I have to face the very same annoying problem pretty often. The thing is, sometimes it is vital important to know the base data model and …

-1
49
Member Avatar for csgirlie

I'm trying to store or arrange three sets of two-dimensional data into three 2xN matrices that are stored as NumPy arrays. [CODE] 1. import os # for file handling functions 2. import numpy as np # for array/matrix processing 3. import matplotlib.pyplot as plt # for general plotting 4. from …

Member Avatar for woooee
0
317
Member Avatar for ellimist14

Sorry about a n00b question but I'm having trouble. I'm messing around with linked list to try to get a good handle on them for the program I have to write. The program below was intended to fill a link list with structures then print out each structure. Instead it …

Member Avatar for ellimist14
0
116
Member Avatar for IAMEMINEM

i am developing a website in ASP.NET(VB) and SQL Server my website is basically a product based website in which visitors will come and buy products from my website they will be able to add different products in their carts, could to a good search for products listed in the …

Member Avatar for IAMEMINEM
0
112
Member Avatar for BlackPhoenix

Hi everyone, I have an [U]extremely complex topic[/U] to discuss/ask about. I'm hoping what I have already done is the WRONG way to do it, so that I can implement a more simplistic approach to this issue. To start, here is some background information on my project. I want to …

Member Avatar for BlackPhoenix
0
110
Member Avatar for vivekarora

Hello Friends, I have a huge program having multiple malloc & free. At the end of my program, I wish to print the memory leak which has occured. There are obviously many solutions to this problem. e.g. Simplest one: 1) When you allocate the memory, keep the allocated memory pointer …

Member Avatar for vivekarora
0
283
Member Avatar for incomer

First off, I am kind of new to database design, so please take that into account. I have a project that I am working on for my work place. It's something to make my life easier. I'm a new parts man at a diesel mechanics shop. They have hundreds of …

0
74
Member Avatar for rajuchacha007

Hello all, I am working on a Java project which uses mysql for database. I want to design code for a data loading module which will define database schema and consume actual data. I want to know whether there is any way to run this load data infile command dynamically? …

0
52
Member Avatar for milhero

Hi, I have posted about receiving email before and this is a follow up of my progress. I have only one form and it consists of 2 buttons, one for downloading messages from the server, the other, to disconnect the connection. I also have one listview and one textbox to …

Member Avatar for milhero
0
280
Member Avatar for mmonaco27

If you search Google for information on how to create roaming profiles in Windows XP you find some pretty intricate nity-gritty guides such as this one: [url]http://computertips.toups.info/roaming/RoamingXPPro.htm[/url]. It is fairly complicated with a lot of obscure settings. Thus IMHO it is inelegant and should be avoided. My system is a …

0
77
Member Avatar for happygeek

The [URL="http://www.parliament.uk/parliamentary_committees/lords_s_t_select.cfm"]UK House of Lords Science and Technology Committee[/URL] are currently [URL="http://www.parliament.uk/parliamentary_committees/lords_s_t_select/internet.cfm"]investigating [/URL]personal Internet security, something that would normally be a dull as dishwater parade of civil servants and former civil servants now consulting for private sector business giving boring ‘evidence’ to a committee of half asleep geriatrics. But something …

Member Avatar for happygeek
0
247
Member Avatar for happygeek

Some would say blue, given the amount of sex that can be found on the web. Others might go for black, thinking along the lines of increasing online crime. To many the whole idea of Internet technology is a grey area. But, my friends, thanks to researchers at the Chinese …

Member Avatar for Maidomax
0
645
Member Avatar for Intrade

I'm sure this has already been done, but to practice understanding Data Structures better I decided to try making one of my own, given only an idea of what type of functionality I want, a pencil and some paper (as well as .txt file, modified into a .java file =p …

Member Avatar for Intrade
0
129
Member Avatar for sahasrara

Hi ladies and gentlemen This program is a sample of data structure for information of students . this data structure is Linked List that include public & private filds. Its private has the other class which i named it node. node builds physical structure of linklist class. node class consist …

0
175
Member Avatar for GreenDay2001

This would let you store different things of same type into one data structure, here its a list. A good and popular example would be file and folder hierarchical structure in your computer. Perhaps this is what this code demonstrates. The code has two classes [INLINECODE]File [/INLINECODE]and [INLINECODE]Directory[/INLINECODE](derived from File). …

0
298
Member Avatar for Siersan

Array based skip lists are a pain to work with. They are error prone and difficult to follow. Worse, they are difficult to extend so that the data structure is deterministic rather than probabilistic (a desirable property). The following implementation uses a linked structure instead of arrays for the levels.

0
147
Member Avatar for SYST3M4T1C

OK I'm trying to help my friend out with this template he has but the contact form is not working. Here is the XML document contactFormConfiguration.xml [CODE] <?xml version="1.0" encoding="utf-8"?> <!-- -- Please read this information to learn how to set up the contact form integrated -- into the template. …

Member Avatar for cwarn23
0
162
Member Avatar for MaestroRage

sorry for the long title, but it pretty much sums it all up. I have a 2 test structures, and in one I have a 2d char array, which is essentially a 1d string list. However I can't seem to interact with it on the same level as I can …

Member Avatar for Tom Gunn
0
2K
Member Avatar for mahela007

I'm trying to learn the very basics of HTML parsing in python. Through these forums I learned what a parser is. [I] " Parsing often means "perform syntax analysis" on a program or a text. It means check if a text obeys given grammar rules and extract the corresponding information. …

Member Avatar for mahela007
0
125
Member Avatar for Nathan Campos

Hello, I'm learning C++ and i was trying to use the [i]zlib[/i], but i'm getting some errors when trying to compile my little project. Here is the code: [code=cplusplus]#include <string> #include <stdexcept> #include <iostream> #include <iomanip> #include <sstream> #include <zlib.h> using namespace std; std::string compress_string(const std::string& str, int compressionlevel = …

Member Avatar for Nathan Campos
0
496
Member Avatar for Nathan Campos

Hello, I'm learning C++, and recently i was searching for an implement of the [i]zlib[/i], that is a library to zip and unzip files, but i found a sample code in [url=http://idlebox.net/2007/0328-ZLibString.blog]this site[/url], but i want to know two things, first: How i can change this code to only compress …

0
69
Member Avatar for dazzyg

Hi, I need a bit of help with the java app I have. I am trying to have a tree structure that contains 2 different types of nodes..] a simple node called 'SimpleNode' - to hold a name and url strings and another node called TreeNode that act as folders …

Member Avatar for JamesCherrill
0
107
Member Avatar for basketball4567

I need to read information from a text file into a struct array. Im writing a program to make a list of favorites that the user will input. When they close the program, the array will write to a file. The next time the program is ran, i need to …

Member Avatar for Ancient Dragon
0
493
Member Avatar for atplerry

Hello i want help on saving large text into the database and the structure of the data should be maintain i.e the paragrah,insertion point, list example if i enter a an html code structure in a textbox on saving and retriving it to display i should retain the structure, I …

Member Avatar for sknake
0
127
Member Avatar for grr

Is it possible in any way to modify the wordpress permalink structures so that you can create a page using a script to find the page? Example: You want to make a page on [url]http://www.yoursite.com/1/2/3/4/post[/url] or whatever... You don't want to use wordpress's the_post function to display the data. Instead, …

Member Avatar for grr
0
91
Member Avatar for forestwwq

I wrote a few code to test fork like following: [code]#include <stdio.h> #include <stdlib.h> #include <assert.h> #include <signal.h> #include <errno.h> #include <unistd.h> int DemoFork() { pid_t pid,par_pid; par_pid = getpid(); pid = fork(); switch (pid) { case -1: printf("failure!\n"); break; case 0: printf("I am child!, parent is %d(\n",par_pid); break; default: …

Member Avatar for forestwwq
0
76
Member Avatar for jp071

Hello, I Could not Display data from Serial port. Please check my code and help me how to display data from serial port. The error is "error C3861: 'ProcessChar': identifier not found". I understood, it need to write some code for ProcessChar function to access data. could anybody help me …

Member Avatar for Nick Evan
0
334
Member Avatar for tyliang

I need to print to data stream to an output file but I'm not sure how to catch the data. Given example inputfile.txt has 20 data with a structure Michael 000000 m [email]abc@123.com[/email] 50 60 70 [code] #include <stdio.h> #include <string.h> void scanData(struct student data[]); void avgMaths(struct student data[]); void …

Member Avatar for jianna
0
120
Member Avatar for ultra vires

Hey guys need your help here. I will go ahead and describe my problem and what i intend and what i am getting. Platform for SQL Queries : MS Access There are 2 identical table in terms of table structure, they contain information ( RAW Data) about month, money i …

Member Avatar for ultra vires
0
113
Member Avatar for Lioshenka

Hiya, I've got a lickle program here which reads data about people into structures and then saves their surnames in a Binary Search Tree. There is more stuff to go to that program, that is why I need structures, but at the moment [B]I can not understand why it doesn't …

Member Avatar for tux4life
0
162
Member Avatar for jooa

I have written two classes, one the GrabPixels class which takes an image and extracts the pixels from it. The FFT class then tries to call grabPixel. The problem I get is that img in this line [CODE]grabPix = new GrabPixels(img);[/CODE] is null. I'm not too sure why. Could someone …

Member Avatar for quuba
0
206
Member Avatar for staticvoyager

I did see some other posts on this project, but nothing seemed to help. I just keep getting more confused. =P I coded all my issues into the comments, as this project is already late, and I'm going to have to hand it in - whether it works or not …

Member Avatar for staticvoyager
0
109
Member Avatar for Lioshenka

Hi, I already asked but haven't had an answer. What I am trying to do is to write a program which will read the data from the file into BST with the ability to search by surname (surname is the key). After sleepless nights I have managed to do something, …

Member Avatar for Tom Gunn
0
70
Member Avatar for sandipan.rcciit

hello, i want to create a program to fetch the xml files data to mysql database. here is my code [CODE] <?php include 'mysql-connect.php'; $m=1; $n=".xml"; while($m<6) { $str=$m.$n; $doc = new DOMDocument(); $doc->load( $str ); $params = $doc->getElementsByTagName('BookData'); // Find BookData $k=0; foreach ($params as $param) //go to each …

0
85
Member Avatar for psyb0rg

I have a main.php page with multiple divs. I load whole pages in these divs using AJAX. Some of these pages have forms with submit buttons. The structure of the pages is like so: For acc_settings.php [CODE]<form enctype="multipart/form-data" method="post" action="acc_settings.php" > . . <button type='submit' name='update' >UPDATE</button> </form>[/CODE] So the …

Member Avatar for psyb0rg
0
138
Member Avatar for nileshgr

I have two class modules namely DbConnection and Database. Database has all methods which are required to manipulate the tables (Insert, update, delete, move). And DbConnection has connection related methods (Connect, Close, StartTrans, CommitTrans, RollbackTrans) I have a global instance of DbConnection in a standard module and I don't initiate …

Member Avatar for nileshgr
0
82
Member Avatar for slacke

I have lots of Drytek > Vigor 2700,2800 routers on the public net. I manage this networks and since this type of routers has Log support I write an application on my linux box to collect those logs. The routers are sending UDP datagrams to a configurable address and port. …

Member Avatar for slacke
0
211
Member Avatar for Hiroshe

Hey guy's. I've never really cared for game dev befor, but it sounds kinda fun. I'm expecting a spair class next year and need to have something to do in my spair time. I'm thinking of making a clone of rogue (the 80's unix rpg). I'm wondering what the best …

Member Avatar for Hiroshe
0
136

The End.