2,965 Topics

Member Avatar for
Member Avatar for satish2

hi everyone, I am doing my under-graduation in computer science,i am having difficulty in dealing with data structures course,mainly in theoretical part,can anyone please help me in suggesting me a good textbook and book with problems/questions that could help better understanding plz...

Member Avatar for techie1991
0
138
Member Avatar for digital11

Hi. I've been having this problem with Firefox & Chrome where searches are taking me to wrong sites. I've done everything as required with Gmer, Malwarebytes etc. Here are the logs:- GMER One log: GMER 1.0.15.15281 - [url]http://www.gmer.net[/url] Rootkit quick scan 2010-09-20 19:25:09 Windows 6.1.7600 Running: 0g2vzqhn.exe; Driver: C:\Users\BOBBYD~1\AppData\Local\Temp\kwkirpoc.sys ---- …

Member Avatar for crunchie
0
366
Member Avatar for ftl25

Hi, How do I check if a member of a struct is null? I've tried: [CODE]if(ErrorInfo->TestName != NULL)[/CODE] The above method returns true even when [B]ErrorInfo->TestName[/B] contains nothing (debug shows it as 0xccccccc, ""). [CODE](!(strcspn(ErrorInfo->TestName, "") == 0))[/CODE] The above method throws an access violation. I've tried other ways too …

Member Avatar for ftl25
0
10K
Member Avatar for onus

I wrote a small hello world type of character device driver. When I type echo -n "abcdef" > /dev/bond and do a cat /dev/bond then only last "f" of above input abcdef is displayed rest nothing is displayed. I have experimented many things but I am unable to catch the …

Member Avatar for N1GHTS
0
201
Member Avatar for gheorghe gardu

Hi, I have a problem with a java application which should use ArrayLists, and I would like to ask if you can help me. I have created a Person class, and 2 subclasses, Student and Employee. Data attributes common are Name, SSN (social security number), and Age. A student has …

Member Avatar for JamesCherrill
0
104
Member Avatar for qazplm114477

It might seem appropriate to post this in the MySql section but I guess this is also a PHP question. Which is the more efficient way for adding new fields? I haven't written the code yet because I want to get the database structure right before coding. Here's my logic. …

Member Avatar for qazplm114477
0
121
Member Avatar for linlives

Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 9:56:16 AM, on 28/06/2010 Platform: Windows XP SP3 (WinNT 5.01.2600) MSIE: Unable to get Internet Explorer version! Boot mode: Normal Running processes: C:\WINDOWS\System32\smss.exe C:\WINDOWS\system32\winlogon.exe C:\WINDOWS\system32\services.exe C:\WINDOWS\system32\lsass.exe C:\WINDOWS\system32\Ati2evxx.exe C:\WINDOWS\system32\svchost.exe C:\WINDOWS\System32\svchost.exe C:\WINDOWS\system32\svchost.exe C:\Program Files\Common Files\Symantec Shared\ccProxy.exe C:\Program Files\Common Files\Symantec Shared\ccSetMgr.exe C:\Program Files\Symantec Client …

Member Avatar for cottom
0
170
Member Avatar for Chofi

I've been having one problem after another since yesterday morning. The problems started with notifications that an application could not be executed, because the file is infected. I ran Malwarebytes Anti-Malware and that seemed to do the trick, at least until this morning, when problems started showing up. In order: …

Member Avatar for cottom
0
361
Member Avatar for blackrobe

Hey there, I'm having some difficulty understanding how pthreads are used for writing to files and reading from files using a buffer cache. There are two data structures available: 1- The first data structure is just an array of files each index contain information about the size of the file …

0
63
Member Avatar for elavip

Hi, please help me get rid of this nuisance. It opens sometimes in the background, or with an ad or annoying sounds. Logfile of Trend Micro HijackThis v2.0.4 Scan saved at 12:57:18 AM, on 22/09/2010 Platform: Windows XP SP3 (WinNT 5.01.2600) MSIE: Internet Explorer v8.00 (8.00.6001.18702) Boot mode: Normal Running …

Member Avatar for anhbloginc
0
264
Member Avatar for jmainzer

i have done hijack this and the report follows Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 22:00:40, on 18/09/2010 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180) Boot mode: Normal Running processes: C:\WINDOWS\System32\smss.exe C:\WINDOWS\system32\winlogon.exe C:\WINDOWS\system32\services.exe C:\WINDOWS\system32\lsass.exe C:\WINDOWS\system32\Ati2evxx.exe C:\WINDOWS\system32\svchost.exe c:\Program Files\Common Files\iS3\Anti-Spyware\SZServer.exe C:\Program Files\Trusteer\Rapport\bin\RapportMgmtService.exe C:\WINDOWS\System32\svchost.exe …

Member Avatar for crunchie
0
280
Member Avatar for duke_swh

I have a table in SQL Server with the following structure: DateRated, Parameter, Rating, UserID Sample Data DateRated Parameter Rating UserID 10/01/2010 Flexibility Good User101 10/01/2010 Efficiency Average User101 10/01/2010 Value For Money Below Average User101 I want to create a query that will make it like this: DateRated Flexibility …

Member Avatar for duke_swh
0
258
Member Avatar for sajohnson05

Below you will find my code for a form. I am trying to do Regular expression. I have the expression but when i enter something that is not right it will still post. I believe the reason is that i am still calling the $_POST of original not taking into …

Member Avatar for timhysniu
0
101
Member Avatar for samm22

My professor has given me the code and I wanna run it. I use Visual Studio2008. Code contains data structure "queue". He defines one queue as "queue<int> Q;" But my compiler gives an error and says "error C2065: 'queue' : undeclared identifier" Do we need any separate header file to …

Member Avatar for Fbody
0
260
Member Avatar for litsluv

Ok, Here is the problem in the book; You are developing a database of measured meteorological data for use in weather and climate research. Define a structure type measured_data_t (which I have done) with components site_id_num (a four digit integer), wind_speed, day_of_month, and temperature. Each site measures its data daily, …

Member Avatar for Adak
0
209
Member Avatar for chun0216

Hello, I am trying to run a program that uses raw file as an input file and then use a function that requires input file data into uint8_t array type argument. The problem is that when I use the sample input raw file, it works perfect but when I use …

Member Avatar for chun0216
0
138
Member Avatar for happygeek

The likes of Norton these days make much fuss about just how quick installing a security suite is, but you can forget all claims of being done in 60 seconds when it comes to Trend Micro Titanium Maximum Security. Think less of speedy rocket-powered installations and more of slow and …

1
722
Member Avatar for pawan_sharma777

i make this project what i unable to use file handling[CODE] #include<iostream.h> #include<conio.h> #include<dos.h> #include<stdlib.h> #include<stdio.h> #include<string.h> #include<fstream.h> #include<ctype.h> #include<bios.h> #include<ctype.h> int menu(int,char a[25],char b[25],char c[25],char d[25],char e[25],char sl1[2],char sl2[2],char title[40],char under[2]); void lbyl(char a[50]); void main_menu(); void student_menu(); void mark_menu(); int records=0; void lbyl(char a[50]) { int l,i; l=strlen(a); …

Member Avatar for nbaztec
0
155
Member Avatar for NH1

i get an error when i try and do this. [code=c] private void button2_Click(object sender, EventArgs e) { DataSet ds = new DataSet(); DBconnect db = new DBconnect(); Global.GlobalVar = textBox1.Text; string Co = new Password('J', textBox1.Text).SetSql(); ds = db.GetDataSet(Co); DataTable dt = ds.Tables[0]; if (dt.Rows.Count == 0) { if …

Member Avatar for Lusiphur
0
153
Member Avatar for dennis.d.elston

Hello everyone, I am currently in a C class and I am having trouble with the following exercise. I have started but I am stuck, can anyone help? You are developing a database of measured meteorological data for use in weather and climate research. Define a structure type measured_data_t (which …

Member Avatar for litsluv
0
247
Member Avatar for BrentA

Hi, Helping a friend with their computer. They're currently having a problem accessing internet. In Internet Explorer they get message "Internet Explorer cannot display the webpage". Can only use Windows Messenger on internet. A couple days ago started getting all kinds of porn pop-ups. * Ran Windows Malicious Software Removal …

Member Avatar for crunchie
0
342
Member Avatar for Talguy

I am trying to boost the performance of the startup of my realtime application. I have the interfaces laided out in a xml file that are parsed in and created into a data structure. Would it be worth while for me to struture my program so that once the interface …

Member Avatar for Talguy
0
87
Member Avatar for sokolovic

I have a JTree looking something like this: Student Group [INDENT]Group 1[/INDENT] [INDENT][INDENT]Student 1[/INDENT][/INDENT] [INDENT][INDENT]Student 2[/INDENT][/INDENT] [INDENT][INDENT]...[/INDENT][/INDENT] [INDENT][INDENT]Student n[/INDENT][/INDENT] [INDENT]Group 2[/INDENT] [INDENT][INDENT]Student 1[/INDENT][/INDENT] [INDENT][INDENT]Student 2[/INDENT][/INDENT] [INDENT][INDENT]Student 3[/INDENT][/INDENT] [INDENT][INDENT]...[/INDENT][/INDENT] [INDENT][INDENT]Student m[/INDENT][/INDENT] Is there any way to achieve following: 1) Add a new Student Group (let's say, Group 3) without selecting parent …

0
27
Member Avatar for SBA-CDeCinko

I have the following scenario and am looking for the best way to structure things. I am finding lots and lots of conflicting advice online. [LIST] [*]I have a user control on my home page for a simple search. [*]I have a user control on a search page for a …

Member Avatar for MichaelWClark
0
109
Member Avatar for Gekitatsu

In short, I've created a program that when a user left clicks it will create a dot at that location (cursor position). After doing some debugging (reviewing coords printed) it doesn't appear to be a coord problem (not sure though), but a perspective problem (may be displaying improperly). The problem …

Member Avatar for Gekitatsu
0
140
Member Avatar for csguy11

[code] def index_dir(self, base_path): num_files_indexed = 0 allfiles = os.listdir(base_path) #print allfiles num_files_indexed = len(allfiles) #print num_files_indexed docnumber = 0 self._inverted_index = {} #dictionary for file in allfiles: self.documents = [base_path+file] #list of all text files f = open(base_path+file, 'r') lines = f.read() # Tokenize the file into words tokens …

Member Avatar for TrustyTony
0
486
Member Avatar for qwrobins

Hi. I've seen this same question in another thread, but I'm actually trying to figure out how to make this work and I keep getting hung up. Here is what I'm trying to do: You are developing a database of measured meteorological data for use in weather and climate research. …

Member Avatar for gerard4143
0
133
Member Avatar for Stefano Mtangoo

Seeing we can do it with structs, why do we need classes? See the code and quote from [URL="http://publib.boulder.ibm.com/infocenter/comphelp/v8v101/index.jsp?topic=/com.ibm.xlcpp8a.doc/language/ref/cplr054.htm"]Link[/URL] [QUOTE="IBM Developer"]The C++ class is an extension of the C language structure. Because the only difference between a structure and a class is that structure members have public access by default …

Member Avatar for LordNemrod
0
102
Member Avatar for lucaazori

hi, here is my data base structure: [ATTACH]17124[/ATTACH] i try an sql command that return for each examen its number of tests, so i tried: [CODE]Dim sqlQRY1 As String = "SELECT Int_Exa,count(*) as 'TOTAL' from TEST T1,TEST T2 where T1.Int_Exa=T2.Int_Exa"[/CODE] that`s did not work, so i tried to do that: …

Member Avatar for lucaazori
0
116
Member Avatar for udev

Hi! In every iteration of reading a file I populated a dictionary and appended it to a list . A part of that list looks like this : . . . Key Doc ID freq line number {'Emin': ({'file13.txt': 1}, {'Emin': [38]})} {'Gun': ({'file13.txt': 2}, {'Gun': [43, 71]})} {'I': ({'file13.txt': …

Member Avatar for udev
0
130
Member Avatar for hiproverbs

Good morning. I read and followed the instructions posted on this site. I ran the Microsoft Malicious software removal tool and it identified the Alureon.h virus. I could not fully delete the virus as I was unable to access the Internet and get the rest of the manual steps to …

Member Avatar for crunchie
0
175
Member Avatar for super-duper

[CODE]//************************************************************************************ // // This program keeps track of speakers' bureau. // It displays a menu, where the user can add info, // view the info of another speaker that's already in there, // and etc. //************************************************************************************* #include "stdafx.h" #include <iostream> #include <iomanip> #include <cstdlib> using namespace std; //************************************************************************************** // function …

Member Avatar for Fbody
0
414
Member Avatar for deanem

For our homework in our Computer science class, we were tasked to research by asking expert advice on database forums. We were first asked to download Census data to be analyzed using Microsoft Access. The data contained facts about 1% all people living in large US Cities at the time …

0
74
Member Avatar for robertmacedonia

Hi again. I just wrote here to ask for a little help yesterday, so I got the help and worked that out, and I'm just curious about something I am going to do in the following couple of days, as soon as I work the network part of this project. …

Member Avatar for JamesCherrill
0
120
Member Avatar for lionaneesh

[B][I][U]Introduction[/U][/I][/B] Hey guys today I am writing a tutorial on Lists and tuples in Python.... So lets get started... [B][I][U] Layout:- [/U][/I][/B] 1.What are data sturctures? 2.What are tuples? 3.What are lists? 4.inbuilt functions on lists and tupples [B][I][I][U] What are Data structure?[/U][/I][/I][/B] Anybody familiar with programming or Actually Computers. …

Member Avatar for redyugi
1
3K
Member Avatar for super-duper

//************************************************************************************* // This program keeps track of speakers' bureau. // It displays a menu, where the user can add info, // view the info of another speaker that's already in there, // and etc. //************************************************************************************* #include "stdafx.h" #include <iostream> #include <iomanip> #include <cstdlib> using namespace std; //************************************************************************************** // this is …

Member Avatar for super-duper
0
182
Member Avatar for asa88

i made a vector class "MyVector" inherited from a base class "arrayList" which is derived from a base class linearlist. whenever i compile i get a fatal error: [COLOR="Red"]LINK : fatal error LNK1561: entry point must be defined[/COLOR] [CODE]// abstract class linearList // abstract data type specification for linear list …

Member Avatar for asa88
0
217
Member Avatar for Nith01

Hello, I'm trying to scrape a website using XPath and am running into a little trouble. This is the first time I've played with XPath so I'm a little rusty :/ The relevant source code of the website I'm trying to scrape is: [CODE=html]<span id="ctl00_ContentPlaceHolder1_lblEvents"> <div class="contentmain"> <div class="textArea1"> <strong>14 …

Member Avatar for Parthmishr
0
94
Member Avatar for MVideoGms

I keep getting this error and I can't figure out what is wrong. error C2227: left of '->capacity' must point to class/struct/union/generic type 1> type is 'int *' Here is the class header and declaration that I am working on. [CODE]#ifndef MYVECTOR_H #define MYVECTOR_H #include <iostream> //#include <sstream> //#include <string> …

Member Avatar for Ancient Dragon
0
185
Member Avatar for titan_31

I wrote this simple program in C to generate binary search tree, but i am unable to go beyond level 0. Note that I have not incorporated the printing part. [code] #include<stdio.h> #include<malloc.h> struct node { int data; struct node *lc; struct node *rc; }*start,*link,*tmp; int a[100]; int main() { …

Member Avatar for Narue
0
177
Member Avatar for happygeek

Warnings have been issued today not to complete a customer satisfaction survey that appears to come from McDonald's and promises cash for your answers. A bit like fast food itself, something that looks appetising and promises a quick fix is often not actually that good for you. [attach]17019[/attach]IT security and …

1
351
Member Avatar for AutoC

Hi, Here's my scenario. I am given records and the datastructure of each column in the records at runtime. A sample looks like this, [code] char[] | int16 | int32 | double abcd | 2 | 96 | 1024 ghi | 3 | 104 | 2048 [/code] I cannot predefine …

Member Avatar for embooglement
0
114
Member Avatar for falconwise

Original Problem I have an existing 2D array that is already filled with data for a matrix. I also have a structure that has a pointer looking like this double ** pointer. That being said. Here's a miniature version of the problem [CODE]#include <stdio.h> int main (){ int stuff [2][2]; …

Member Avatar for falconwise
0
114
Member Avatar for dflatt

I can't decide what data structure to use for a program I'm making. the program I'm making is a football table, the variables used so far are; string team; int played = 0, goalsfor = 0, goalsagainst = 0, goaldiff = 0, win = 0, draw = 0, lose = …

Member Avatar for dflatt
0
112
Member Avatar for Juzaguy

[CODE]/* Round Robin Scheduling Simulation*/ #include <stdio.h> #include <stdlib.h> ////////////////////////////////////////////////////////////////////////// /* Process Data Structure */ struct process { int pid; /* Process ID */ int burst; /* CPU Burst Time */ int priority; /* Priority */ int working; /* Working time, for round-robin scheduling */ int waiting; /* Waiting time, …

Member Avatar for Juzaguy
0
232
Member Avatar for aidin_36

Dear All! I want to introduce a useful tool for ORMs, called Entity Extractor. It was originally wrote to use with Storm, but then it extended in a way that can be use for any kind of code generation from any kind of data-source. The main idea behind this tool …

0
43
Member Avatar for rockfloyd

hello everyone, any help or insight would be greatly appreciated. thanks in advance :) i've been having a problem with my connection recently. since the past two weeks or so i've been having really lousy internet(slow as a snail).although the browsing speed has been ok. the download/upload and streaming speed …

Member Avatar for BlackFetus
0
335
Member Avatar for shbk

inpstr label byte maxlen db 100 actlen db ? string db '$' dda db 10 if I place data after structure(dda), it will be overlapped by this structure i don't know why it happens. Does anyone have ideas?

0
45
Member Avatar for rajshkhr

Hello to all, I am using MS SQL 2005. I have created 5 databases in it will same tables structure. The table contains the data in same structure. Now I want to merge all the databases in one database so that I can have all the data in respective tables. …

Member Avatar for kinetikit
0
59
Member Avatar for newbie_to_cpp

Hi All Can someone pls help me on this one. Under nested 'if' conditions inside 'case', i have 2 sections. If i choose to go to section 1 or 2, when i am done, how can i return back to the primary 'if'. Any help will be highly appreciated. This …

Member Avatar for newbie_to_cpp
0
125

The End.