2,965 Topics

Member Avatar for
Member Avatar for Cainer

Hi, I am using WinSock library for sending data over network, and I have a problem. I know how to send data in one struct and receive it on the other side, because there is constant size of structure. But what if I have more structures, each one with different …

Member Avatar for Cainer
0
563
Member Avatar for WillT

I've disassembled a program to attempt to understand the application's structure for importing the data files. I have an extensive background is Java and C++ but I can't find any resources explaining importing files and reading them in assembly. What I'm hoping to find is someone who can simply tell …

Member Avatar for AceStryker
0
234
Member Avatar for ronthedon

Hello All, I am having a problem making my program display and output correctly. When i run my program my count will display but my word will just give me some kind of line. Can you please help me correct this? Thanks Ronnie [CODE] #include <iostream> #include <string> #include <iomanip> …

Member Avatar for vidit_X
0
216
Member Avatar for korobaton

SO YEH MY problem is its not reading the whole file and inputing it to the stucture.. i believe that the problem lies in the adt.( the last source code on the bottom) in the private adt search function, insert function, and traversal..... ive been wreking my brains out trying …

0
158
Member Avatar for ezekit

SO im trying to get this source code transformed to a double link list it has two nodes sentinel and header....the source code was used to be a singly linked list..... nyhow i cant seeem to get this whole thing right..... it works fine when it was on its orginal …

0
97
Member Avatar for rutwvu

I am currently working on a project where we must read in a file and then print it back type justified. There must also be a specific number of characters per line based upon user Input with the extra characters being distributed spaces. I am reading in each character from …

Member Avatar for Ancient Dragon
0
190
Member Avatar for daniel1977

Would you help me with this question. Just using basic and easist language. Design a grade average program that will produce the numerical grade average of test scores input by a user. Your program should contain the following: • You must use an Array as your data structure to store …

Member Avatar for WaltP
0
82
Member Avatar for daniel1977

Would you help me with this question. Please use basic and easist language. Design a grade average program that will produce the numerical grade average of test scores input by a user. Your program should contain the following: • You must use an Array as your data structure to store …

Member Avatar for WaltP
0
97
Member Avatar for leighangela

Please help, something is wrong. I've been running Malwarebytes and AVG daily but something still seems wrong. My taskbar is beige as I type this and sometimes my speakers stop working. I don't have the malwarebytes log because I ran it before coming to this forum. Also when I ran …

Member Avatar for crunchie
0
354
Member Avatar for minimi

Here is the instruction to the assignment: [url]http://dl.dropbox.com/u/43732846/Instruction.txt[/url] I think I got up to the part to initialize array and set length to 0 but I'm not sure how to do a for loop to print. I tried like strlen(month), printf(month[i]), etc, but none of them seems to work. And …

Member Avatar for hkdani
0
135
Member Avatar for gomedigap

Hi all. I've been trying to get this code to post to a https url for some time without any remedy. I'll give you all a basic rundown, I have a site that we're trying to generate leads off of, and we have a 3rd party crm system that we …

Member Avatar for gomedigap
0
6K
Member Avatar for Himajin Breaker

Hello everyone. I am having a problem with my program; it is supposed to read values from an input text file, put the data into a structure, then output the data from the structure into a binary file. The first 2 parts work fine, but I keep ending up with …

Member Avatar for Himajin Breaker
0
420
Member Avatar for c++_fem

Hi, Does anyone know a function that prints out binary tree in this form example : ................15 .........12.............17 .......10 14.........16 18 ? my Node class : [CODE] class Node { double Node_Data; Node Left_Child; Node Right_Child; Node Parent; }[/CODE]

Member Avatar for Narue
0
364
Member Avatar for SCass2010

Hi everyone, I'm trying to write a script that will list all files and their details within a directory - so for example, if I have the structure /home/ /home/folder1/ /home/folder2/ /home/folder3/ It will print something like +---------------------------- | /home/folder1/ +---------------------------- | *files here* | *size* +---------------------------- | /home/folder2 +---------------------------- …

Member Avatar for griswolf
0
120
Member Avatar for appytapas

I am a computer science engineer.... I got selected in TCS for ITIS domain & in Infocepts for Business Intelligence & Data warehousing Domain...i am very confused which company to join..!!...plz help guys..!... I hurd bad reviews about TCS-ITIS..but some people say tcs is brand name..!! some ppl say to …

0
28
Member Avatar for edbtzy

I am trying to create a client to connect to a mysql database using sockets. I have the following code but of course, its not working to my advantage. Right now, this code connects to a server file located on a linux machine...i havent coded it yet to connect to …

Member Avatar for gerard4143
0
192
Member Avatar for meme dreame

hey guy's iam a biggner at data structure n there z a program i did it bt everytime i run it doesn't work with me and i dono what is the wrong on it can somebody help me plz [CODE]#include <iostream> #include <string> using namespace std; class student_grades{ private: string …

Member Avatar for meme dreame
0
110
Member Avatar for gotnos

I have tried to structure my program but im stuck at this point. I have a file that contains phone phrases on each line (1-900-WINNING) is one of the phrases, if i get more digits than a phone number requires i must ignore the remainder. This data is coming from …

Member Avatar for WaltP
0
151
Member Avatar for toneranger

I have some stock market price data organized as follows in a structure: struct PriceInfo { string Date; unsigned int Time; double Open; double High; double Low; double Close; unsigned int Volume; }; This struct organizes price data per interval of date and interval of time, where time is measured …

Member Avatar for toneranger
0
855
Member Avatar for LuckyLiza

I am fairly new to the Java lang and this is my first post so if I do it incorrectly please forgive me. Anyways, I am basically trying to find [LIST] [*]MaxInDegree [*]MaxOutDegree [*]MaxDegree [*]MinInDegree [*]MinOutDegree [*]MinDegree [/LIST] of a 2d array with various nodes. Here is what I have …

Member Avatar for hiddepolen
0
232
Member Avatar for bio-grad

Hi, I wrote this script to help me cleanup some data. The value in the 8th column is sometimes empty. When it is empty, I want it to print a zero as in the next part of the script it will be adding a number to whatever is in that …

Member Avatar for bio-grad
0
232
Member Avatar for untechnical

I have been having problems with my laptop, i am redirected to ad sites when searching for something else,i have norton security install,i have run scans but the problem persist.I have also switched web browsers (GOOGLE to INTERNET EXPLORER),problem still persists.Any help will be appreciated. DDS (Ver_2011-08-26.01) - NTFSAMD64 Internet …

Member Avatar for jholland1964
0
164
Member Avatar for swissknife007

What are the settings I require so I can debug line -by line? Or else ,I can identify lines of code where run time errors are occuring.. I want to view exact line number of error in this code/[CODE]#include<stdio.h> #include<conio.h> #include<string.h> struct node {struct node * left,*right; int freq; char …

Member Avatar for gourav1
0
299
Member Avatar for sampson

I scanned initially using MBA-M. It an infection but it was unable to get rid of it. I attached the following logs as requested. GMER did not post initial scan log. I tried twice. Nothing was found by MS malicious software. Nothing was found by MS security essentials. I was …

Member Avatar for sampson
0
237
Member Avatar for guidely

Hi, I get a output result: Segmentation fault: 11 when I tried to do quick sort a time in ship structure Here is my code [CODE] #include <stdio.h> struct harbour { int harbourId; int maxCap; int timeUpload; double amount; }; struct ship { int number; int shipId; int sMaxCap; int …

Member Avatar for guidely
0
4K
Member Avatar for cijeh90

Purpose: To practice writing a simple well-documented (lots of comments) C++ program using repetition structures (loops). Assignment: The power of a repetition structure lies in the fact that a section of code can be executed several times (often using different data) in the same program run. Modify, Laboratory Assignment # …

Member Avatar for azwan91
0
313
Member Avatar for alteran

I'm having a problem with adding the name, dob month, dob day, and dob year to a binary search tree from the information from the GUI. This has to happen after the "Add Person" button is clicked. I should add it inside the brackets of the "if(e.getSource() == addPersonButton)" statement, …

Member Avatar for JamesCherrill
0
192
Member Avatar for TrustyTony

Here unsystematic play with linked list structure Object Oriented style. If you have performance critical code, please do not use this but use the superb faster than list [URL="http://pypi.python.org/pypi/blist/"]blist module[/URL] (including sorted versions of main data structures). As OO newbie (though with some 30 years of other programming), I wanted …

0
217
Member Avatar for nw240x

Use the Node class. Create a tester module that contains the following function definitions and code for testing them. The function definitions are: 1. A function length (not len) that expects a single linked structure as argument. The function returns the number of items in the structure. 2. Define a …

Member Avatar for nw240x
0
425
Member Avatar for anujthefuhrer

If a binary tree can be represented with the array data structure in an efficient way(it means there is no blank key in b/w two non-zero elements) then it cannot be designed uniquely with the help of which of the following traversals? 1.Preorder 2.Inorder 3.Postorder Please answer this question.It is …

Member Avatar for Taywin
0
133
Member Avatar for akemi3

Hello, I'm currently taking AP Computer Science with no prior experience with programming and I am facing a bit of a problem with the last problem on my programming assignment. You see, what I have to do is write a program that displays a name four times either horizontally or …

Member Avatar for akemi3
0
99
Member Avatar for altXerror

ok. so i'm having trouble with the Windows API. i'm just learing how to use it, so i don't know much about it. anyways, i just wanted to create a window and have it displayed then catch the exit message and close, but VC Compiler is throwing errors. 1>c:\users\furrix\documents\visual studio …

Member Avatar for altXerror
0
342
Member Avatar for triumphost

Hi All, I'm making a website for my school project but I have a problem with the pre tag. I used a table to define the layout of my site. But now I want to add content using the <pre> tag and it stays in the center -__- even when …

0
73
Member Avatar for dancks

The original question I posted on Yahoo Answers: [url]http://answers.yahoo.com/question/index;_ylt=Au6uML15p1p500urP_yfL9fsy6IX;_ylv=3?qid=20111002100030AAILsNC[/url] I can't get this code to return anything: In NewVector.java: a class that extends Vector: [code]public Object getSmallest() { Object obj = elementData[0]; try { String a = (String)elementData[0]; for(int i=1;i<elementCount;i++) { String b = (String)elementData[i]; if(a.compareTo(b)>0) { a = b; …

Member Avatar for JamesCherrill
0
200
Member Avatar for ctjh900801

I am using VB.net to develop an application, but there needs to be applied to the dll technology. So come here to seek help. First I will describe the features I need this dll I want to monitor an application's window to get in on a PSD_ENVSTAMPRECT the lParam value. …

Member Avatar for ctjh900801
0
335
Member Avatar for flipboi15

hey guys, I play need for speed world and yesterday my brother was using my computer and when I play games it lags. Im sure its a virus because when I woke up this morning there were ads on my screen. Here are the logs you requested. GMER does not …

Member Avatar for crunchie
0
519
Member Avatar for lastbencher

The following code is given in my Data Structure reference book. [code=c] #include<stdio.h> main() { int i, *pi; float f, *pf; pi = (int *) malloc(sizeof(int)); pf = (float *) malloc(sizeof(float)); *pi = 1024; *pf = 3.14; printf("an integer = %d, a float = %f", *pi, *pf); free(pi); free(pf); } …

Member Avatar for lastbencher
0
156
Member Avatar for neeraj goswami

[CODE]//ASSIGNMENT NO- 4 //EMPLOYEE DATABASE #include<stdio.h> #include<conio.h> //STRUCTURE DEFINATION struct emp1 { int id; int dflag; char name[10]; float salary; }; int main() { //INITIALISATION struct emp1 e[20]={0,0,"\0",0.0}; int accept(struct emp1 [],int); int display(struct emp1 [],int); int append(struct emp1 [],int); int delete1(struct emp1 [],int,int); int modify(struct emp1 [],int,int); int no=0,v=0,u=0,ch=0,count=0; …

Member Avatar for N1GHTS
0
158
Member Avatar for HaNcOoK

Hi everybody, Im pretty new (or u can say that completely new) to python and i try to learn from the very basic. I try to create grid data structure from array. Here i have some code, would you mind to look at it and give me an instruction: [CODE]import …

Member Avatar for TrustyTony
0
152
Member Avatar for eviandc

Hi, I'm a beginning C++ student and have an assignment to dynamically create an array of a struct to store students' first names, last names, and test grade scores, and then pass it via pointer to a function that will sort the grades and names in ascending order. I wrote …

Member Avatar for eviandc
0
1K
Member Avatar for m1n1m3

Hi ! To improve my java programming skills i like to write a really fancy fib. nr. calculator. Did it in C using memory allocation methods and hot to 1M digits in ~10min. So something like Step-Up challenge. The only thing as far as i can see limits my progress …

Member Avatar for NormR1
0
217
Member Avatar for duffy12

Hi am really new with php mysql, i need help pls. I have created a email software in my server, there is a field for inserting email data info. Right now i am inserting these data one by one, but this is annoying and taking hard time. Pls help me …

Member Avatar for duffy12
0
136
Member Avatar for 73formula

Hello; I need help with an annoying virus or malware. My search results display correctly, but clicking on any of the urls in the results takes to me usually to a "How To" page or a list of sales sites related back to the searched topic. To get anywhere i've …

Member Avatar for crunchie
0
368
Member Avatar for falconmick

Now, I know the first thing I am going to be told is that I should add a balance function to my binary tree, well I have asked the group member who created our tree to do it, but he hasn't got back to me yet. So rather than wait …

Member Avatar for mike_2000_17
0
439
Member Avatar for murnesty

I'm currently choosing which data structure to use for my data logging. Just want to ask for suggestion which type of data structure is better. It has limitation on memory either store in microcontroller RAM or SD card. - I can't know the total type of logging it has. (for …

Member Avatar for Narue
0
155
Member Avatar for top_coder
Member Avatar for Narue
0
66
Member Avatar for Nikhar

The following is the problem to which I am attempting a solution (in fact I have found the solution, there's a small doubt in a concept):- [quote] Q4) Given a floating point number, write a program to convert it into its lowest irreducible fractional form. Note that the total number …

Member Avatar for Nikhar
0
236
Member Avatar for jmandumpal

Friends, I would like to reformat a file ( fort.80) to fort.90! For that I used type constructs for reading the input ( fort.80) as well as writing it to output ( fort.90). I can successfully do copying all but one case (dihedral), where the output file looks blank ( …

Member Avatar for jmandumpal
0
188
Member Avatar for Pikachumanson

Ok I have an assignment for school where we are building a compiler step by step each week. This week I have to make a syntax analyzer that picks out the errors from this text file below. In the source code I have provided below I have a lexical analyzer …

Member Avatar for chocolaver
0
2K
Member Avatar for Rupindersingh

Can anyone please debug the following binary tree program, it flashes two errors: 1: Type mismatch in redeclaration of 'strdup' 2: Tpe mismatch in redeclaration of 'talloc' [CODE]#include<stdio.h> #include<ctype.h> #include<string.h> #define MAXWORD 100 struct tnode *addtree(struct tnode *, char *); void treeprint(struct tnode *); struct tnode { char *word; int …

Member Avatar for Narue
0
246

The End.