2,965 Topics

Member Avatar for
Member Avatar for stevo356

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 …

Member Avatar for Ancient Dragon
0
125
Member Avatar for hacker9801

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 …

Member Avatar for hacker9801
0
111
Member Avatar for Icetigris

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 …

Member Avatar for Laiq Ahmed
0
106
Member Avatar for nurulshidanoni

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

Member Avatar for nurulshidanoni
0
104
Member Avatar for isi4h

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 = …

Member Avatar for Duoas
0
149
Member Avatar for eranga262154

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> …

Member Avatar for eranga262154
0
111
Member Avatar for heshan

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 …

Member Avatar for bumsfeld
0
56
Member Avatar for mickeybr

:@ 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 …

Member Avatar for crunchie
0
174
Member Avatar for Phan

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 …

Member Avatar for vmanes
0
109
Member Avatar for Drixoman

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 …

Member Avatar for another guest
0
115
Member Avatar for karenb2001

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 …

Member Avatar for crunchie
0
162
Member Avatar for Belisarius

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 …

0
51
Member Avatar for amhadi

> 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 …

Member Avatar for ithelp
0
145
Member Avatar for mebriers

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 …

Member Avatar for jbennet
0
141
Member Avatar for black_adder

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 …

Member Avatar for Ancient Dragon
-2
92
Member Avatar for peachslasher

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 …

Member Avatar for Salem
0
152
Member Avatar for antitrust_281

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 …

Member Avatar for crunchie
0
197
Member Avatar for hobbsalex

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 …

Member Avatar for Salem
0
97
Member Avatar for nurulshidanoni

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 …

0
61
Member Avatar for nrp46e

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. …

Member Avatar for nrp46e
0
152
Member Avatar for cscode001

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 …

0
45
Member Avatar for stephen conway

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 …

0
118
Member Avatar for buvnut

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 - …

Member Avatar for Narue
0
110
Member Avatar for Sh13

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// …

Member Avatar for jephthah
0
94
Member Avatar for hemgoyal_1990

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 - …

Member Avatar for hemgoyal_1990
0
141
Member Avatar for CE Student

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 …

Member Avatar for hacker9801
0
150
Member Avatar for jaydude23

[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"; } …

Member Avatar for ultra vires
0
156
Member Avatar for Tomoney

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 …

Member Avatar for Tomoney
0
164
Member Avatar for cd0712

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 …

Member Avatar for jephthah
0
141
Member Avatar for cd0712

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 …

0
45
Member Avatar for acorte2696

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 …

Member Avatar for vinay_vs
0
178
Member Avatar for shashipkiran

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 …

Member Avatar for jwenting
0
72
Member Avatar for hyperzero4

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 …

Member Avatar for bugmenot
0
99
Member Avatar for DaveCachia

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 …

Member Avatar for vmanes
0
119
Member Avatar for buvnut

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 …

Member Avatar for Ancient Dragon
0
89
Member Avatar for sheree

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 …

Member Avatar for sheree
0
5K
Member Avatar for Thew

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 …

Member Avatar for Thew
0
2K
Member Avatar for modaslam

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; …

Member Avatar for modaslam
0
370
Member Avatar for zargare

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 …

Member Avatar for VernonDozier
0
69
Member Avatar for TylerTCF

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 …

Member Avatar for vijayan121
0
172
Member Avatar for vegasgal

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 …

Member Avatar for Thom74656
0
643
Member Avatar for EdgarWinter

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, …

0
33
Member Avatar for mattieu

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. …

Member Avatar for mattieu
0
148
Member Avatar for Waseemn

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 …

Member Avatar for Narue
0
100
Member Avatar for sayso36

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 …

Member Avatar for Ancient Dragon
0
370
Member Avatar for guitarrick

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 …

Member Avatar for guitarrick
0
131
Member Avatar for brdoolit

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 …

Member Avatar for brdoolit
0
91
Member Avatar for dkwantee

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 …

Member Avatar for dkwantee
0
495
Member Avatar for samer.daur

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 …

Member Avatar for Ancient Dragon
0
134
Member Avatar for TheClue

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 …

0
61

The End.