2,965 Topics
![]() | |
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... | |
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 ---- … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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: … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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); … | |
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 … | |
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 … | |
![]() | 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 … |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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. … | |
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 … | |
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: … | |
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': … | |
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 … | |
[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 … | |
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 … | |
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. … | |
[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. … | |
//************************************************************************************* // 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 … | |
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 … | |
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 … | |
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> … | |
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() { … | |
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 … | |
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 … ![]() | |
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]; … | |
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 = … | |
[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, … | |
![]() | 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 … |
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 … | |
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? | |
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. … | |
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 … |
The End.