2,965 Topics
![]() | |
I would like to make a selection menue for 2 programs that i have. A menu similar to the one below. [CODE]import sys print """Menu 1) Random 2) Search""" answer = raw_input("Make a selection> ") if "1" in answer: print "This will contain program 1" elif "2" in answer: print … | |
I thought I knew this but I don't. Currently I use RegCreateKeyEx to create a key, and then I call RegSetValueEx. Now what happens is that I create another key (folder in the regedit GUI), and I set the default value for that key (folder). But how do I add … | |
Hi, I have a datagridview.And as per my requirement the data is supposed to be filled from three different tables in database.I have created the query and is succesfully able to populated the data in it with the cross join. Have a look at my structure. Table1,Table2,Table3. table1 has 2 … | |
I have to design a database where one requirement says "For each project, for each user, for each skill, store the marks gained". Initially, i had a table where each skill was a column(proj_id, user_id, skill1, skill2, ......., skill_N) I felt this was a bad design because the number of … | |
I have to design a database where one requirement says "For each project, for each user, for each skill, store the marks gained". Initially, i had a table where each skill was a column(proj_id, user_id, skill1, skill2, ......., skill_N) I felt this was a bad design because the number of … ![]() | |
I'm a newbie in C.For a month or so i have started learning and a friend is giving me tips and homework.My newest homework is something like this: I have a garaje with 3 floors,each with 10 parking spaces.Each hour cost 5$.Only the cars who have left pay. The problem … | |
Hello everyone, I’d created mlm website which is working fine but the only problem i stop that how to show horizontal tree view, or how to show binary tree. I’d already checked this [url]http://www.codeproject.com/KB/vb/SimpleBTree.aspx[/url] [url]http://forums.asp.net/t/Next/2701209[/url] [url]http://www.codeproject.com/KB/vb/SimpleBTree/BTree_src.zip[/url] [url]http://forums.asp.net/t/1639275.aspx/1[/url] [url]http://forums.asp.net/t/1336595.aspx/1[/url] [url]http://www.codeproject.com/KB/scripting/Horizontal_JS_Tree/Horizontal_Tree.zip[/url] site but didn’t get any reference if any have idea how … | |
please help me i m having problem for making this program First Part: (Using Structures) Create a structure called Complex for performing arithmetic with complex numbers. Complex numbers have the form realPart + imaginaryPart * i where i = √(-1) Use floating point data to represent members of structure (i.e. … | |
[ATTACH=RIGHT]21290[/ATTACH]The HP ProBook 6560b at first glance is not distinguishable from other laptops. However, this business rugged machine was designed for the modern day businessman. It’s sleek, charcoal black aluminum case is smooth to the touch. Weighing in at a little less than six pounds, this laptop was made to … | |
I need help in deciding a good path in learning Java. I have recently passed my Data Structures course and although I still have issues and sometimes need to look thinks up, I feel I have a strong enough grasp to move on with my becoming proficient in Java. I … | |
Problem - Main - Clicking any Google Search result, results in redirect to random sites - NOT the site of the search result - search function not usable Secondary - computer has slowed to less than a crawl plus - recently, on boot-up, Avast reports that Microsoft Realplayer.exe is suspect … Information Security android android-development apple audio chrome-os client-server data-protection digital-publishing dns flash http-protocol ide microsoft-access microsoft-office microsoft-windows multimedia office-suite os-x pdf peer-to-peer printer publishing seo storage tcp-udp user-interface virus-malware visual-basic web-browser webcam windows-virus | |
Hey guys, is there a way to get a node's name and assign it as a value to a variable using javascript? Here's an example structure of the xml. [CODE] <list> <student id="101"> <name>John Smith</name> <DOB>07-09-1987</DOB> <address>123 ABC street</address> </student> <student id="102"> <name>John Doe</name> <DOB>05-04-1986</DOB> <address>234 DEF street</address> <address2>345 GHI … | |
I'm having some issues and was hoping someone may be able to assist. When booting up I receive a message that the disk needs to be checked however it then indicates that autocheck cannot check the disk due to a configuration error from a software upgrade. Windows then proceeds to … | |
![]() | Hi there! I am busy creating a desktop application with Windows.Forms to display Twitter XML data inside a textbox on a form. The XML structure looks like this: [CODE] <statusses> <status> <text>...</text> <user> <name>...</name> </user> </status> <status> <text>...</text> <user> <name>...</name> </user> </status> </statusses> [/CODE] The problem is that with my … |
Software from boffins who used to work at the [URL="http://spacetech.dundee.ac.uk/"]Space Technology Centre[/URL] at the University of Dundee promises to reveal secrets of legacy code. Founded in September 2009, [URL="http://www.rapidqualitysystems.com"]Rapid Quality Systems[/URL] is a software development outfit that was 'spun out' of the Dundee University Space Technology Centre, and is still … | |
[B]Beginner's guide to C++0x: Avoiding Memory Problems by Design of Ownership[/B] If you ever read any resources on C++ programming or object-oriented programming, you must have heard some rethorics like "inheritance is for the [I]is a[/I] relation, composition is for the [I]has a[/I] relation". Is that all? Is that the … | |
Hey all! I'm new to the forum and a little wet around the programming ears so to speak. Anyway I have a question regarding Linked Lists. I know that typically a linked list looks like this: [CODE] struct Node { dataType varName; //data type and variable name Node *next; //points … | |
Hello, I am learning VB and got stuck..I found nothing in books and tutorials. I want to make simple quiz (100 questions), structure: 1 lbl = question, 3 radio buttons (answers) and 1 button(next question). I added access database to DataSource, binded data to lbl and radio buttons, it automaticaly … | |
Hello there, I am messing with some jquery mobile and I have so simple questions (as in I am a real noob). My question is in two parts, first first off, what is the best way to center the contents of table cell data? I tried using "align center", but … | |
I am relatively new to C++ programming but conversant with C# programming. I am currently working on connecting to Avaya Aura Contact Centre RTD tables. The issue I am having is that the compiled software download from Avaya website connects to the server and download data to the console screen, … | |
I just noticed yesterday that I did not have McAfee Security Center installed any more. (beat myself up enough, thanks, but feel free to express shock and dismay.) When I looked on the pc yesterday morning, there was only a McAfee scan app in c:\program files\mcafee. I have had McAfee … | |
I was trying to find a solution for checking the symmetry of a tree. I would like to get some comments on the approach.. I am trying to do it by modifying the inorder traversal thing.. The pseudo code is: [CODE] // since the structure should be similar string in1,in2; … | |
Hello, I would like to know how do I compare two chars properly Im making a healthcare project, its pretty rudimentary, Im trying to make a comparison between a char that the user inputs and the char that is in a structure that is saved in a .txt file So … | |
Sir, I am an student of computer science engg. final year student.i am little bit worried about my project as some of my seniors have said i have to start prepare for project from now to get it well done.I have knowledge on c,c++,java programming language and networking(data communication) i … | |
Hello. I've posted here a few weeks ago about an idea i was hammering. I've refined it and removed some unnecessary features as it wasn't really needed. I'm a last year computer science student and this idea is for my graduation project. It is about a new programming language for … | |
This assignment will require you to develop a program that reads a series of positive and negative integers from the user and loads these values into an array. The program then calculates and outputs the average of the values read. You will develop the entire program from the problem statement, … | |
Guys, ok after trying around stuff, I get that this is the way you initialize a structure in C. [CODE]#include<stdio.h> #include<conio.h> typedef struct s { int data; char gender; }st; st s1={5,'a'}; int main(void) { printf("%d "%c",s1.data,s1.gender); getch(); return 0; } [/CODE] But suppose i make a new instance of … | |
Why doesn't this work: [CODE]#include <iostream> class myclass { public: union d { int i; }; }; int main() { myclass i; i.d.i = 3; return 0; } [/CODE] but this does: [CODE]#include <iostream> class myclass { public: union { int a; }; }; int main() { myclass i; i.a … | |
Hello there, My teacher in programming require to make a phone book style using C language and I almost done this project and I trying to sort up some minor problems. Would somebody our there help me? (please try to run this program by your own to see what I … | |
[CODE]// this is program designed to create Cd data base #include <stdio.h> #include <string.h> #include <stdlib.h> //============================================= //LINKED LIST USED FOR CREATING THE DATABASE CD //============================================= struct CD_type_node { int CDnum; char title[20]; int CDcount; struct CD_type_node* next; }; struct Artist_type_node // to create a linked list of CD's { … | |
have Windows XP Service Pack 3 I use Firefox. I can't get rid of Fake Windows Security popup every time that I turn the computer on. I also have a Windows Security shield with an "X" on it on my task bar. Also when I search on google for example … | |
Hi there. I'm writing a simple system to order certain data. Now this is the deal: I have a bunch of files with the following filename structures (stored as strings): 0000[i]_FILENAME.EXT i represents a random number. Now I want to scan whether the file has that structure, and if it … | |
Hi guys, A good day to you all! I am trying to bulid a simple data base but two errors at compile time apparently are holding me back from running my program. I have tried to figure them out but my efforts are are proving worthless and that's why am … | |
I have about 50 different tags, each is at most 2 chars in lengnth. depending on the input of the user a combination of tags will be joined together into one large string. Is there a simpler/more efficient way then having 50 different if-statements? for that matter, how is a … | |
Hi all been working on this for a couple of days. I want to upload 4 image names to the mysql database and upload the images to a folder on the local server. I also want to display my images that goes with the text data. So far I can … | |
Hi peeps! Whenever I open a program such as google chrome, i get the message: The application or DLL c:\windows\system32\gayujoje.dll is not a valid windows image. Please check this against your installation diskette. Can anyone help me with this problem? Thanks. I think a virus has invaded my computer. I … | |
First, I apologize for posting this since it seems to have been addressed for every situation except mine (or so I can find), and I admit I am a complete novice. [B]Intro:[/B] I have a batch file which gets placed in a directory with target files, loops through the files … | |
Hi, I am trying to make a one octave piano. heres my code: [CODE]#include<windows.h> #include<mmsystem.h> #include<stdlib.h> /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM); /* Make the class name into a global variable */ char szClassName[ ] = "WindowsApp"; int WINAPI WinMain (HINSTANCE hThisInstance, HINSTANCE hPrevInstance, … | |
i need help in adding $data into datatable data.setvalue where will be used to generate column chart. first column = x-axis while the rest of the columns = elements. thanks in advance. [CODE] <?php $result=mssql_fetch_array($row); // $result already in correct structure. $data = json_encode($result); ?> <html> <head> <script type="text/javascript" src="https://www.google.com/jsapi"></script> … | |
The problem that I'm having can be seen on this test page: [url]http://science.nature.nps.gov/im/1test.cfm[/url] We have a new mandatory Cold Fusion server-side redirect process for linking to external sites. We have some off-site links that use javascript drop-down menus that required a javascript work-around to work correctly with IE. The javascript … | |
hi Is there a way to pass a structure into a function in C++? ie if I have a structure of data, can I pass it in and use all the members without having to pass them indevidually? I basically want to pass team data into a function and that … ![]() | |
[CODE]#include<string.h> #define MAX 15 #define true 1 #define false 0 /*Structure Decvlaration*/ typedef struct { char data[MAX]; char top; }STK; /*Function Declarations*/ void input(char str[]); void intopre(char str1[],char pre[]); void intopost(char str1[],char post[]); int isoperand(char sym); int prcd(char sym); void push(STK *s1,char elem); int pop(STK *s1); int empty(STK *s2); int … | |
I'm reading a big csv file into a data structure defined as such: [CODE]struct PriceInfo { double Open; double High; double Low; double Close; unsigned int Volume; unsigned int Time; std::string Date; };[/CODE] So somewhere in my main function, I have this line: // read contents of datafile by overloading … ![]() | |
Hi guys here is my problem.I am trying to send ICMP packets to a HOST using WINSOK.So here is my code: [CODE]#define WIN32_LEAN_AND_MEAN #include <winsock2.h> #include <ws2tcpip.h> #include <stdio.h> #include <stdlib.h> #define IP_RECORD_ROUTE 0x7 // // IP header structure // typedef struct _iphdr { unsigned int h_len:4; // Length of … | |
i've created a database project in java in which a jtable is used to display the contents of the database.......i've also created an option for insertion of values through a textfield by button actionperformed into the database ......and now when i inserts a particular values through the textfield and when … | |
Hello there, I'm busy working on a project using GWT and Sencha GXT libraries. I have come to this stage that I now have to populate a tree with data received from an XML file... I have no idea how to do this, I've gone through the javaDocs but it … | |
I am writing some code to simulate a football tournament by comparing several teams on several parameters. I need to be able to knock out teams, edit some stats mid simulation, and be able to easily access individual teams data, what structure would I be best using? I had thought … | |
Hi guys. At work we have lots of certificates to sign/encrypt/decrypt different kinds of documents/data and lately there's been a few occasions where we almost forgot to renew them before they expired. I am currently working on a small monitoring tool, that will notify us of certificates expiring soon. Trouble … | |
Hello and thank you for the welcome to DaniWeb. I hope that someone can find the time to help me with my xp problems. The problem is that one of my svchost.exe processes gradually demands more and more ram and cpu which eventually locks up my machine. I can safely … | |
For our android app project, we will be developing on java eclipse I am going to use opengl for graphics part. but what data structure should I use for the gameplay? |
The End.