2,965 Topics
![]() | |
Hi to everyone I'm new here!!!! Initially my problem started with no sound after reboot & internet disconnection after few minutes of reboot. Now since I turn windows audio service to automatic, sound related issue seems to be gone. I tried everything that I know from google searching like scanning … | |
Hello.....I had some nasties on this laptop that had no protection....I installed Kaspersky Anti-Virus and cleaned things up a bit....ran ATF Cleaner and Malwarebytes Ani-Malware- see log below....also see my HJT below.....can someone please take a look and see if I am still infected? Thanks very much.....JD Malwarebytes' Anti-Malware 1.41 … | |
This is the problem: In this exercise you have to write a program to manage items in a super market. Suppose that the data about each item includes: • Item’s ID: ID of the item, it is an integer which ranges from 1 to 9999 • Item’s type: Its value … | |
There is little doubt that one of the most daunting tasks in all of computer programming is that of developing your own algorithms. Indeed, it is here where the term Computer Science comes to the fore as it is virtually a step-by-step process, so intricate and precise it truly is … | |
here's what i currently got [code]# Reading the .csv file energyFile = open("EnergySources.csv","r") stateDict = {} for line in energyFile: line = line.strip() fields = line.split(",") if fields[0] == "State" or fields[0] == "": continue state = fields[0] total = fields[-1] float(''.join(total)) coal = fields[1] float(''.join(coal)) naturalgas = fields[2] float(''.join(naturalgas)) … | |
Hi there, Being a newbie to C#Net 2003, I am having problem trying to retrieve data from a specific clicked row on the DataGrid to display the data on the TextBox on the FORM. This is the structure of the DataGird:- Col0 = CustomerId Col1 = First Name Col2 = … | |
hi, i have been unable to solve a problem related to C (i'am a newbie girl). I've googled around and maybe I have a flat learning curve :-( the fact is that i need to write a program that reads from a .txt file and print the output to another … | |
Hello I am trying to read a node that will find the longest word in a tree. So, my method is a public static int word(Node d) So how would I have to find the length of that node? Would I just use the string that was made in the … | |
Hi, I am writing a program which needs to extract data from a file. Sample file Adder: 4, yes Mult: 6,yes .... i want to extract this info into a structure { Int interval (4 should be entered here) bool pipeline (if yes then 1 else 0) } i read … | |
I am having a small problem... I can connect to a local MySql Database using: [CODE]SQLConn.ConnectionString = "Data Source=servername;" & _ "Initial Catalog=databasename;" & _ "User ID=username;" & _ "Password=userpassword;" [/CODE] Where servername is "localhost". I need to make a connection to an online database (same data structure). What should … | |
I'm writing code for an address book that the information will be output to a text file in alphabetical order. I have most of the code, and I have done this kind of thing before, but it has been over a year since coding. So, just a start would be … | |
Ladies and Gentlemen: Project one with my expert analyses I find myself have Visual problems with Inartificial Intelligent. In developing H.D.V.H.O. high definition Visual holographic optics for short Visual Intelligent the program was basically just A.I. Artificial Intelligent that can move the image that would appear as 5in’ tall human … | |
So, I have to write a public static method add, which takes a parameter, and adds up all the values in the N-ary tree it represents. Characterize the traversal order: preorder. - what does that mean???? So, can someone explain to me how I would do this??? thanks. | |
Hello guys.. I am really new to OOP (object-oriented programming) with C++. I am trying to make a simulation window program. I have a bit confused about apply linked-list inside the class. I mean, I am trying use linked-list to do adding item menu. Yes, I make the lists of … | |
Unfortunately, I couldn't find a suitable thread already so please forgive me if there is one already... but! This was a project due today which I just bit the bullet and left out one part of. Here is my problem: I am building a circular doubly linked list with a … | |
[code]#include <windows.h> #include <commctrl.h> #define IDD_DIALOG1 101 #define IDB_TREE 134 #define IDB_FILE 135 #define IDI_ICON1 136 #define IDC_TREE1 1059 #define IDC_DELETE 1061 #define IDC_ADDROOT 1062 #define IDC_CHILD 1063 #define IDC_DELALL 1065 /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM); /* Make the class name into a … | |
THis is my assignment question... MyCar Sdn. Bhd. sells new cars. The manager of MyCar wants to develop a system that can do storing, searching, modifying, deleting and printing all information of all selling cars by the company. As a programmer, you are required to develop a system that can … | |
Hi... I'm a new user here. I've stumbled across this place on a couple occasions in the past, and it worked out to my advantage when I needed a little help with some coding assignments. My Data Structures class is working on stacks right now, and that is our current … | |
Hi- My brother gave me his old laptop, but it's really slow. I got a Hijack This report to see what could be slowing it down but I don't know much about computers. Can anyone take a look at this and help me out? ---- Logfile of Trend Micro HijackThis … | |
Will someone please check this and tell me if I did this problem correctly. The question is presented bold; I also need help with push. I couldn't figure out how to complete the definition or routine for it. I am not very good at big o notation to determine if … | |
In the mid-'90s I wrote in Quick Basic some lab simulations for science classes I was teaching. I want to rewrite them in VB and thought that I could just paste old QB code into VB... not so, of course. I want to know how to read data from within … | |
Found it useful for myself [URL="http://www.slideshare.net/Acronis/continuous-data-protection-2149693"]http://www.slideshare.net/Acronis/continuous-data-protection-2149693[/URL] There is an examination of the two data protection solutions that will always complement a CDP investment – near-continuous data protection (near CDP) and traditional file-and-folder – and show where each is best applied. | |
1. Write a program to implement a static circular queue. It should include the following functions: i) Enqueue – To add an element to the end of the queue [4] ii) Dequeue – To remove an element from the front of the queue [4] iii) IsEmpty – To check whether … | |
I got the following code out of Carrano's Walls & Mirrors. I made a few changes but have tested it and it works. I'm really confused by line 19 in the .h file. Why is it structured like "void (*FunctionType)"? Why not (void*) FunctionType? or void* FunctionType? What is the … | |
Hi, I am currently taking a class on data structures(analyzed in C++) at a university and I really find our current text book, Data Structures and Algorithm Analysis by Mark Allen Weiss, hard to follow. Does anyone know any good data structure books that pulled you in? Thanks for your … | |
Hi. I have a recursive public static method search that takes a Tree node (any arbitrary binary tree, not necessarily a search tree) and returns whether or not that tree satisfies the order property for a binary search tree. So, my method is [CODE]public static boolean search(TN t) { if … | |
I've just started started socket programming so there's a few things I'm wondering about: I found a set of socket programming codes here: [URL="http://cs.baylor.edu/~donahoo/practical/CSockets/textcode.html"]http://cs.baylor.edu/~donahoo/practical/CSockets/textcode.html[/URL] And the thing I don't really get is here in TCPEchoClient.c: [CODE]while (totalBytesRcvd < echoStringLen) { /* Receive up to the buffer size (minus 1 to … | |
I am fairly new to mysql and wanted to practice making a database and tables. As well as filling the tables with made up data and then practicing queries. I wanted to emulate a real life database project. So I decided to make a database for a Car Dealership. the … | |
Hi All, i am trying to write an application that will take an XML file that has been saved from an XLS spreadsheet and display the data. I will be ok with how to display the data i just dont know how to get the data from the XML. I … | |
My code so far opens a text file in a particular format and reads in the data into a structure called salesRecord. There is no problem there. The problem arises when I write the data to a new binary file. Here is the structure: [code=CPP] struct salesRecord { int custNo; … | |
I keep getting this error whenever I stop my program and I am wondering am I freeing memory right. This is my structure and I created a global array named day. [CODE]typedef struct { int hour; int minute; } Time; typedef struct { Time startTime; Time endTime; char subject[20]; char … | |
Hi, I am newbie to network programming in C. I want to implement a file transfer program in C on a Linux environment . I am sending the file name to the server and tries to print it on the server. But the server doesn't print it. I think I … | |
Hi all I am in the process of designing a database structure for a very common use: to store client data such as names, addresses, company information, etc. I have been reading up a lot efficient database design and am trying to normalise to 3NF. As I am new to … | |
Basic structure of main.c: int main () { Open the file data.txt and obtain the file handler fh; Create a thread my_thread using pthread_create; pass fh to my_thread; Wait until my_thread terminates, using pthread_join; Print out how many lines exist in data.txt. } Basic structure of thread_function.c: void *count_lines(void *arg) … | |
Write a C program that can be used as a database of student’s information for the statistics and computer science department. Populate the database with 10 records. The program should be able to dynamically allocate or deallocate storage for the student’s records using linked lists. The database should have the … | |
Yes I know its a long code and it will get longer but there is a compiler error in the [COLOR="Green"]int main ()[/COLOR] First Visual C++ 2008 Express edition error [QUOTE] ------ Build started: Project: MAC ADDRESS, Configuration: Debug Win32 ------ Compiling... MAC ADDRESS.cpp warning C4603: '_WIN32_WINNT' : macro is … | |
Below is the code that I have to find the Mac address of any pc (physical host ID) I struggle to make it print to a file but now i have a problem... It prints MAC Address: XX-XX-XX-XX-XX-XX to C:\\Physical-Address.txt but I only want it to print the XX-XX-XX etc … | |
Hey guys. I need help with these questions please :( 1. Write a function that takes as a parameter a queue of integers and returns a copy of the queue with all the elements stored in reverse order. Use a stack as a helper data structure. [code]queue<int> reverseQueue(queue<int> q) // … | |
Hi I'm using the Pascal language and I need help with the following problem. You need to find the most common word read in by a user of arbitrary length and then display the amount of times its found in the input. I placed all the words into a linked … | |
Hello, I am terribly confused on how to start my most recent programming assignment. I am to use an abstract class (shapeO) to create a child class (animShapeO). The program is supposed to create rectangles and moving them (hypothetically as there are no graphics involved) across the screen and when … | |
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 … | |
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 … | |
NEED HELP - I stepped into some NASTY stuff! **Please note - I am a novice at this, so I am hoping someone will be able to work with me and possible "dumb it down". I have posted on other sites and the answers I received were absolutely no help … | |
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 … | |
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 … | |
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 = … | |
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 … | |
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 … | |
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 … | |
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, … |
The End.