2,055 Topics
![]() | |
can any1 help me,what is wrong with these coding.values change from client are not shown at server's form.but if i put only 1 value,it show.why is that so?? [INLINECODE] Imports System.Net Imports System.Net.Sockets Imports System.Text.Encoding Public Class frmMain Private Structure CAR_STATS Dim IP As String Dim Speed As String Dim … | |
Hi all i was wondering wheather someone could explain how i would extract the string data in bold from the xml line bellow? <countrydata> <stateid="point"><name>[B]Sligo[/B]</name><size>2</size><loc>[B]54.28,-8.48[/B]</loc></state> </countrydata> I am using an xReader to read the file in another program but the structure is very different, the code i use for the … | |
I'll explain my issue in this way. I've use a structure to get some data of a byte stream as follows. [CODE] 1. struct pac_cont 2. { 3. unsigned int des_list ; 4. unsigned int mem_ID ; 5. unsigned char dm_con ; 6. unsigned char ser_ID ; 7. unsigned short … | |
Hi, I'm having trouble to get the value of a certain tag which seems have a complicated data structure. Object: To pull data from a data and print it out to a report file. Problem: Getting the data from array of hash and pass it to a hash of hash … | |
![]() | ******I need help with my project. Here's the specs********** CS123 MP2 Database Table 1. On Load of the program it will read all files and put its data to the memory. a. Data file - this must be in CVS (Comma Separated Values). The first line is a header that … ![]() |
How can I make this print the text in the edit box when you push the button instead of "You pushed a button." I have looked all over but I can't figure it out. [CODE] #include <windows.h> #include "resource.h" HWND hWndButton; HWND hWndEditBox; HFONT hFont; /* Declare Windows procedure */ … | |
If I were to implement a heap constructed of integer values, does it matter that the root is not the smallest value? In my algorithm book it always shows the root being the smallest value given. But the [URL="http://en.wikipedia.org/wiki/Heap_%28data_structure%29"]Wiki entry[/URL] shows the root as being the largest value. | |
Hi, I am writing a desktop application. It would make my life easier if the application can save all it's data in a database software. Do typical desktop applications come packaged with 3rd party database software or do they rely on internal serialized data structure? If 3rd party database applications … | |
1.Show that X^62 can be computed with only 8 multiplications. 2.Programs A and B are analyzed and found to have worst-case running times no greater than 150NlgN and N^2, respectively. Answer the following questions, if possible: 1. Which program has the better guarantee on the running time, for large values … | |
I am doing cross compiling between C++ and C compiler for header files and desperately need help on figuring out namespace issue error generated by C++ compiler. Here are two header files:abc1.h, abc2.h and a C/C++ file containing the main(). When I compile this code on C, it works fine. … | |
Variables in the data structure changes when they were sent to CreateRawDataBUFR at runtime. With gdb debugger, just one line before CreateRawDataBUFR, I print the value of rdi.sIdentName, rdi.sRawDataFilePath and rdi.sRawDataFileName to the screen, they are "IST" and "data/" "IST050906125859.RAWADM9" accordingly. They are true. But after i send the address … | |
i am a web designer. i have been asked to create a web app for use on a company intranet. the problem is i have a treeview (those that dont know asp a simple menu structure) on my page which allows the user to pick records they wish to view. … | |
hi! i'm new to the C#. net and need a help for my application, thanks in advance,problem is i have an application which has to read the data which is like this -------------------------(white spaces which is in the file) --------- abc ---------- d----------- efd----------- de xxx----- 25.80---------12.10--------180000.0--------11111 yyyyyyyy---------------709.-----------.03------------------- zz-------------------------------------1426.------------------------- and … | |
Hello! I want to implement a avltree using C++,and I have do most of it,except the remove() algorithm. My question is when should I rotate the tree in remove(). I hope that any body can represent the situation for me using the Pelple's language,because the implemented code depend on the … | |
hey all, I'm new to this forum, and really start to like it :). Here we go. I have some trouble helping a "tute" of mine (I normally give physics tuitions) with one of his assginments on C++. As I did C++ years ago, I was feeling confident with it. … ![]() | |
hai this is the most important and use full material on C++ and data structures. it is usefull for bot Engineering and Graduate students. Links: <url snipped> Download it as a free Enjoy | |
Hi, i 've recently done a university project requiring me to construct a data structure{ a heap}.... Now that i 've finished the programming task , i am thinking how can i measure the programm's performance..... I will populate my data structure with 2 million random elements, and i will … | |
Hi, my name is Andrew. I believe this will be my first post on daniweb so please bear with me. I'm working on a compression algorithm (miniSEED steim 2 compression if anyone is interested, its for seismic lossless compression) in C so I do a lot of bit manipulation of … | |
I have two tables A and B. I want to update rows in Table A depending on the back up data stored in Table B. [code]Table A = most current table of data Table B = 5 day old back up of table A[/code] Structure of both Table A and … | |
BulkData structure is this: [code] #define MAXSIZE 64 typedef struct bulk_data { char data[MAXSIZE]; struct bulk_data * next; }BulkData; [/code] In my program, I'm mallocing a pointer in 16 bytes: [code] BulkData * bdWaitingToBeCopied = malloc(16); bdWaitingToBeCopied->next = NULL; [/code] So, is this a overflow? And another question: if it … | |
[code] RadarData * rd = NULL; rd = GetRadarData(sFileName); /* Here the debugger says that : rdp->llBdContent.bdContent.next = 0xa13f080. This is ok,but... */ CreateHVFERadarBUFR(&rd); [/code] GetRadarData is here: [code] RadarData * GetRadarData(char * sFileName) { short int nRadarSubtypeInFile; short int nRadarTypeInFile; /* Radar Data Structure */ RadarData rd; /* Radarin … | |
Hi....... I have a complicated homework...... I have a data which is csv file. I have to take this data from csv file and do sum calculations on these data's elements. But my problem is I cant take data from csv file to do this... I can take data from … | |
Hello. I'll get to the point. I need to add new rows to table2 depending on the data found in table1. I've tried a small query I wrote up myself but I doubt it will work and can't risk screwing this database up. Note: These tables are extremely long, one … | |
I have to make a program as shown below: Design a program that creates and uses a file to store experiments' data for any number of experiments as requested by user. The program should use the following structure type: struct data { int experiment; float value; }; The program should … | |
I need to create a data structure of data structures, but I can know "how many structs I need" only at runtime. [CODE=c]typedef struct tagPredefinedStruct{ int iSize; int iCount; } PREDEFINEDSTRUCT; int x; x = GetNumberofStructs(); //x is known only at runtime. typedef struct APIStruct { int iNumber; PREDEFINEDSTRUCT PreDefStruct[x]; … | |
can you help me plz in these 2 assignments: assignment1: Create a new string ADT (using a dynamic array). The data members of the String class are a pointer to the start of your string and an integer representing the length of that string. The following methods should be provided: … | |
Please take some time to read my questions. Thank you. My current C++ exercise project is a win32-console text-only MUD engine. (MUD = "Multi-User-Dungeon" referring to the game genre in which the player wanders around in a 'map' of 'rooms' and can interact with many 'items' and 'characters'. In the … | |
We want to build a C++ program to help a professor in grading a True/False class test. The description of the system is as follows: • The students’ IDs and their answers are stored in a file. • The first entry (header line) in the file contains the number of … | |
I am trying to learn about databases and at the moment starting to read general stuff about multidimensional database design. The trouble is, I don't even know the basics about databases, like what is natural key (same as primary key made of single components?) or surrogate key... Could anyone explain … | |
I need some advice from the pro's :) I am building an application that has data from several places. The structure is all the same but the data is specific to a user. 1 such a feed can consist of 50,000 rows but on average it's more between 500-2000 rows. … | |
Dear Experts, to give a better picture i will explain the directory structure first the files have the same naming convention and the only difference is the first letters which is the title of that account, there is a total of 210 files only the bold letters change for each … | |
Hi All, I'm completely new to XML & SOAP so please bear with me if I sound stupid. I regularly write code in VBA and VB6 and have been asked to create a function that will link to a webservice (that requires a Username and Password) via SOAP and extract … | |
[LIST] [*][quote]Write a program which finds the factorial of a number entered by the user. (check for all conditions) (Beginner).[/quote][/LIST][code=C++] void findfactor(const unsigned int number) { unsigned int n = number; printf("The factors ot the input number are:\n"); if (0 == n) { printf("%d\n", n); return; } for(unsigned int i … | |
[I][B]Hi To all,i used progress bar control of 7 array i.e 0 to 7 ProgressBar(PB) with same name pb1 ,but how to write code for each .My code is working if i select 1 PB and there is any other event for pb that i should not click on pb … | |
Dear all, plz help me regarding this C++ Questions. Q.1 Write a simple structure named Students. This structure consists of three variables Name, GPA and TotalMarks. Now write three variables of data type Students. Get value from user for these three students and show them on screen. Q.2 Create a … | |
First of all, hello! I've been reading the forums for quite a while now, but this time I need real help. To summarize things: I'm building a parser which has to consolidate data based on variables contained in an array. The source file contains a set of tab-separated-values, and those … | |
Hi! I would like to use a webservice which offers to layout a graph structure automatically. Regarding the WSDL description it looks pretty simple: [url]http://cmap.ihmc.us/xml/LayoutWebService.html[/url] You input the graph data, and you recieve back graph data including the optimal x/y coordinates. Please note that this webservice requires the data in … | |
Hi all, I have to do this question to prepare for my "structure of Telecomm" subject final exam this week. this is the question: - What effect will cellular phones have on small business in the next 10 years? This is what i did so far: [code] Cell phones are … | |
Hi, I'm wondering how to give a map a fixed size like you can give an array a fixed size by just "byte data[SIZE*DATASIZE]".. or if it's possible anybody know.. struct Table { map<int, int> table; // }; struct Table *flightChart; The reason I have to give this a fixed … | |
I have a database (myDB1.mdb) that contains related data in seven tables. Using vb6 existing in a separate application, I would like to find a way to archive this data into a new database (myArchive1.mdb) located in the same location as the main database. I understand how to use the … | |
Hello community,, I have been developing a yahoomessenger chat client for nintendos handheld gaming console 'nintendo ds'.Till now i have finished laying out the user interface and wifi access via router. I found the yahoo protocol in many places from a google search but i am unable to understand how … | |
[COLOR=red][U]its about Data Structure[/U][/COLOR] [U][COLOR=#ff0000][/COLOR][/U] [COLOR=#ff0000](in doubly link List )[/COLOR] [COLOR=#ff0000][/COLOR] [COLOR=#ff0000]this is my function [/COLOR] [COLOR=blue]bool search( T item) { nodetype <T> *cur; bool found; cur=first; while(cur!=NULL && !found) { if((cur->info).name==item) return true; else cur=cur->next; }[/COLOR] [COLOR=blue] return found; }[/COLOR] [COLOR=#ff0000][/COLOR] [COLOR=#ff0000]and this is the error :[/COLOR] [COLOR=#ff0000][/COLOR] [CODE] … | |
hello everyone,, first i wanna tell that i am a new membor and i heard alot about this usefull forum.. and today i want ur help guys... in this question i dont know the causes of the error : the topic is doubly link list which is soted.. the type … | |
hi folks - i'm quite new to c++ and have written a program where i have used a linked list to simulate 3 printers working in a queue according to their priority. After much blood, sweat and tears I got that bit working. Now I'm onto the second "easy" bit...I … ![]() | |
Well, I'm working on a simple project but I've hit a snag in my progress so far. I'd like to take a file that has text which will be something similar to: [code] Placemarker 1 = words/numbers Placemarker 2 = words/numbers Placemarker 3 = words/numbers [/code] so you'll have a … | |
Hi, Can Anyone help me in pseudo code or algorithms to write InsertAt() method for LinkedList. Basically when this method will be called it will ask user where he want to put that data somewhere in the middle of nodes and then that data will be inserted in between the … | |
Hi All, I am working on linked list application which the structure is as: [code] public static void Main(String[] args) { Console.WriteLine("Please Enter the data to be Inserted in the LinkList..."); Object obj = new Object(); node n = new node(); linklistImp llist = new linklistImp(); ArrayList ast = new … | |
In the thread programming environment on the C language, we have to create a "struct" data structure if more than one arguments are needed. I need a two dimensional array on that struct. I got a syntax error when I declare it! The following is the code: [code=c] #include<stdio.h> #include … | |
Are there any ways to create a two dimensional array within a "struct" data structure? | |
Hi all, I am a self learner and getting dificulty to solve this. Can any body help me out and let me know where I am going wrong. Thanks in advance............................... Write a program that can be used by a ski resort to keep track of local snow conditions for … |
The End.