2,965 Topics
![]() | |
Hi guys, I'm both new here, and new to c++ so be gentle! Over the past short time we've been looking at c++ on our course, but I don't believe it has been taught too well, and I'm struggling to understand what should really be basic concepts? An assignment we've … | |
Hey. I want to make a packet structure, something like [code=c++]struct Packet { int cmd; /* command */ int len; /* length of body */ char body[30]; /* body (should be length of len though, might use std::string) */ };[/code] Now, if I recieve some data thru a socket (I'm … | |
I'm trying to write a data structure for a basic 3D engine, but for some reason it always crashes when I try to add an index to the polygon vector. Anyone know what may be going on? Thanks [code] #include <iostream> #include <string> #include <iterator> #include <vector> #include <gl/glut.h> #include … | |
How to declare the array and read the array? Must I use data structure? [U]Two array[/U] 1 30 2 20 3 10 4 50 5 15 | |
I'm using delphi 7, if anyone could let me know how to compile this code i would be grateful. thanks. [CODE]unit UIRT; interface uses SysUtils, Classes, Windows, SyncObjs, Dialogs; // USB-UIRT DLL API Constants... const CRLF: string = '\r\n'; INVALID_HANDLE_VALUE: integer = -1; ERROR_IO_PENDING: integer = 997; UUIRTDRV_ERR_NO_DEVICE: integer = … | |
Hi all, Here is the structure of my XML file. [CODE]<?xml version="1.0"?> <data> <key>468</key> <name>pal</name> <option>10</option> </data>[/CODE] I want to read the option tag value, then increment it by 4 and write it to the same location. So at the end XML file content like this. [CODE]<?xml version="1.0"?> <data> <key>468</key> … | |
I am using java.util.map to store some data ( one key and two values , per row ) in java and return it to a python function . What kind of a data structre should I use in python to catch it? (btw I am using Jython as a bridge … | |
:@ I reinstalled that entire PC from scratch (reformated the drive). Something must have come back from a restore because I have this OuterInfo crap on the PC that keeps popping up ads. When try to uninstall it, it asks for me to type in characters from a graphic as … | |
Hey, everyone, I am another student seeking help for a programming class. What I am having trouble with specifically is reading from a file. The program itself involves entering in some store products with information such as: product name, product ID, etc. After everything is entered, the program is supposed … | |
Hello guys, I need some assistance in data recovery. My hard drives "quit" on me...okay maybe it's partly my fault... So one day I noticed my computer's Internet was connecting/disconnecting by itself a lot while I was using my XP. I have a dual boot with XP and 2k. I … | |
I run Spybot to get rid of those nasty Search Engine Redirects but they just come back after a day or so. Can you tell from my Hijack log if it can be fixed? cleartypetuner from MicrosoftLogfile of HijackThis v1.99.1 Scan saved at 8:07:11 AM, on 4/15/2008 Platform: Windows XP … | |
Hi, Not sure if this is the best place to post this but here is the situation: I have 3 instances of tomcat running on each of ports 3030, 3031 and 3032. These all work fine. I'm using IIS as web listener and have installed the ISAPI connector. This works … | |
> Write a program that defines a class to keep track of student grades.The information the student class includes are the student’s first name, last name, a six-digit ID number, and a struct marks the struct marks contains five programming assignment scores, a midterm score, a final exam score, and … | |
Hi guys, I too have a problem with the red circle white x virus, and I have an unamed toolbar in my internet browser that states security tests, scan spyware, remove pop ups, and spam protection. I am also encountering a lot of pop ups, and I have 3 shortcuts … | |
hello all im having trouble with entering data in arrays that are in a structure i was given a task to write the code for the following: 1) define structure tstudent that has the following info about students ---index number (int) ---name (char) ---age (int) 2) define structure tgrades that … | |
Hi, I've question regarding visiting and printing nodes for tree traversal. the main purpose of my program is to create tree for an arithmetic expression and then perform in-order and post-order traversal on the tree. The structure tree need to be hard-coded in the program using linked-list/pointer stored in one … | |
Hello to all, I just recently encountered some issues on my laptop with a Malware Alarm that I keep getting no matter what type of scans I run on the laptop. I've removed several spyware programs using Advanced Spyware Remover, CCleaner and from reading other forums I downloaded Hijackthis and … | |
Hi there, I'm having a problem with adding a data structure to an existing linked list that has highlighted a gap in my knowledge about the latter. Briefly, what I am trying to is add a 'particle' to the end (i.e. appending) of an existing linked list of particles. My … | |
I have this programming but I want to sort the total in descending order... How to make an examid together with total after has sort the output? [code=C++] #include <iostream> // std::cout #include <fstream> #include <iomanip> #include <string> // std::string #include <vector> // std::vector<> #include <algorithm> //std::for each() using namespace … | |
I am unable to view task manager anymore. I get a box saying task manager has been disabled by your administrator. Also I keep getting virus boxes that come up with AVG Free Edition and AVG Antivirus says no threats found however. It seems like this virus is re-creating itself. … | |
![]() | Hello. I am new this website and a beginner in Computer Science. I have very little experience in C++. Recently I have been working on this lab and I am stuck at a point where I don't know what to do. Can any1 help me with this code? Here is … |
Hi Everyone Firstly, I hope I've posted this in the right place, ( mega apologies if I haven't ) even though Ive attached a Hijackthis log at the end because it might help arrive at my Chkdsk solution. I think I have something running which is blocking access to the … | |
hi there i was wondering if any1 could help me with this problem. i am a beginner at c++ and my coursework is asking me to create a program with a hash function and i am lost! could any1 tell me how to implement this? here is my problem - … | |
Hi, I am supposed to read data from an input file with following information 16 //number of destinations// Baltimore //origin city// MD //origin state// Lewes //destination state// DE //destination state// 117.0 //miles b/w previous location and and this one// 160 //estimated driving time// Ferry //place to visit in that location// … | |
Hi All, I Have Some Problem with my PHP Searching Code... I Want to Create Hyperlink of Multipul Data for Ex. :- a user Found example if this query have maney data this show as hyperlink view.... i am using this code....... [code] <?php /************************************************************************************** * Main Search Page - … | |
University of Bahrain College of Information Technology Department of Computer Science ITCS102: C++ Programming Assignment #5 Create a class called BloodDonor that maintains information about blood donors in a blood bank having the following data members: 1. IdNumber, // long int 2. name, //Name of donor 3. bloodGroup//String 4. home_Phone//String … | |
[code=php] <?php if (isset ($_POST['chk8'])) { $req1 = "Service Protection Plan (SPP)\n"; } else { $req1 = "None\n"; } if (isset ($_POST['chk9'])) { $req2 = "Three Product Welcome Kit (Scientific Atlanta)\n"; } else { $req2 = "None\n"; } if (isset ($_POST['chk10'])) { $req3 = "Three Product Welcome Kit (Motorola)\n"; } … | |
My name is Tomoney I am a postgraduate student majoring in Political Science. Within these three days I've got a job. Now I must combine my studies with this work. But it is of highly interest to me, since I apply all my knowledge in this field. The most interesting … | |
I have a project. please help me...... Write a program in C that do the following. 1. Accepts 1 parameter. The parameter is the filename to be processed. If there are no parameters, or if there are more than 1 parameters, show an error message. 2. Opens the file and … | |
I have a project. please help me...... Write a program in C that do the following. 1. Accepts 1 parameter. The parameter is the filename to be processed. If there are no parameters, or if there are more than 1 parameters, show an error message. 2. Opens the file and … | |
My laptop will no longer allow me to open up web pages or im clients.It still says I'm connected but no pages will load.When I check my connection status it shows it is actively sending and recieving data. When I go into system information and run net diagnostics my network … | |
I have a JSP page which displays the data extracted from the database in a normal TREE STRUCTURE.....I am using only JSP codes for this purpose, not javascript..... eg ENGLISH INTRODUCTION (Child Node) PHYSICS MECHANICS (Child Node) MATHS I want the display to be more stylish....using additional characters or symbols … | |
Hello! I'm fairly new to computer science, and I'm working on a program that holds a database in a vector. The data type for the vector though is defined as a class. My header file has this in it: [CODE]class problem { private: string name; //Name of person with the … | |
Hey all. I'm new to the community and I have found it very useful in the past. I have a problem that I cannot find a solution to: Here is the question As a system administrator, your task is to write a computer program for the CompanyINFR1100 to manage its … | |
i am trying to create a program that shows details of 40 different hills. he dteails must include hieght and distance from home. i am trying to show tge details in order of height from smallest to highest but i cant get them in order here is all of my … | |
Hello everyone, I am a new memeber, and I need help in c++ code. Actually I had a code that need kd tree data structure in order to find the nearest neighbour, so I found a kd tree that had been written in c++ as class and there is a … | |
![]() | Hello, I want to put some files together, but I have problem, when I'm trying to write data into opened file from another file. Structure of compiled file: - Head: total count of files in file - Sizes: names and the sizes of the files - File Streams so I … ![]() |
I have some question on structure padding Can any one help me! Structure padding is done for alignment(is it right) 1. Why is it to be aligned? [CODE] 2. struct sfoo { int a; char i; } sizeof(struct sfoo) = 8 // 4+1+3(padding) struct sfoo { //int a; char i; … | |
Hi, Can any one tell me where I can find information about data files? And I am trying to find answers for the following questions: Is there a specific structure for the data file that I use in C++? What is the best way to write a data file for … | |
Need a recommendation on how to proceed with this task...I am starting new in C++ (after taking it in high school 11 years ago it has been forgotten and has changed alot). I have put the code I have below and some sample lines of data...any recommendations on how to … | |
It seems that somehow some kind of spyware got put on my pc and now it keeps saying that I need to buy a certain program in order to get rid of it. When I run my SpyWare Doctor, it keeps saying: Malicious Action Blocked mgmrwmrv.exe is attempting to access … | |
Error message from startup with the message "The specified module cannot be loaded" The cause might be from the deleted spyware, but still have some files in rundll32. I have no idea how to delete them. Image Name PID Modules ========================= ====== ============================================= rundll32.exe 2724 ntdll.dll, kernel32.dll, msvcrt.dll, GDI32.dll, USER32.dll, … | |
I am having with some problems with a project I am working on. I need to output simple statistics of the "ps -ef" using the line "ps -ef | a.out", a.out being my program. To store the information I need to use a Hashtable of Linked Lists, without using STL. … | |
Hello All I an taking a class in C++. Though I have had many years programming, it is an introductory class because one needs to learn the syntax and rules of the new language. I am writing a program that stores data in a file, and retrieves data from a … | |
Part I True/False ( 40 points , 2 point each) 1. If you have created an exception class, you can define other exception classes extending the definition of the exception class you created. 2. Using the mechanism of inheritance, every public member of the class Object can be overridden and/or … | |
Hey out there. Lerner had given me some great ideas for searching (scouring) a string. Only problem I'm having now is I can't get past the error for 'cannot convert const to a std' I also don't think I can use this function like I am within my prgm (at … | |
I'm stuck on my homework trying to deal with arrays of structs. The prof is terrible and just reads off slides from another prof and talks about his weekend. Heres what we have to do: You have been hired as a programmer for Super Sales Company. You are being asked … | |
Hello! i have the following data in a file student_id student_name maths_score english_score physics_score can i use a nested structure to read the file? [CODE] struct student { int id; char name[40]; }; struct score { int maths; int english; int physics; }; [/CODE] if yes, how will i read … | |
i want some tutorials in File structurte and Data structure... can anybody help me?!! i'll tell u my case briefly am asked to do an assignment in ma college depending on the 2 courses (File organization & Data structure) i need to buikl a class that implements linked list and … | |
hello to all! :) i've a trouble in completing the very very very last code for my thesis in computer science. I'm playing with interrupt hooking in 16 bit DOS mode, but my code acts strange: ------------------------- ORG 0x100 ; old int21h mov ax, 0x3521 int 0x21 ; save it … |
The End.