132,726 Archived Topics
Remove Filter ![]() | |
Hello everyone. I'm currently having a problem with choosing one area in an array. For what I'm working on I'm trying to pick one seat in an array consisting of 10 seats. The first 5 seats are firstclass and the last 5 seats are economy. For example if the person … Software Development java | |
the program below is what i have...it compiles and runs but the problem is when it runs it asks Enter the number of employees which is fine but then it asks Enter days missed which is also find but it should calculate the average days missed but it keeps returning … | |
Hiya Guys and Girls I am wanting to develop a conference centre in Java. But before i start spending time coding I wanted to know if anyone had a generic code I can use just to save some time. Kind Regards Almostanangel Software Development java | |
Hello, I am a new user to Daniweb. My regards to all. Well my C skills have taken a lot of rust and I am stuck at a small issue. I want to read a data file containing some information. Now I want to read 2 integers from this file, … Software Development c | |
Hello, I have four textboxes in my calculator. Textbox 1, Textbox 2, Textbox 3 (acts for the Operand) and Textbox 4 (the result). I have a button called Result and when clicked, I want the result to show in the 'Textbox 4'. How would I go about that. Also, when … Software Development vb.net | |
Friends can you please tell me how can i send object of a class over a network to the client?? Software Development c++ | |
Hello Everyone! I'm Glen, a student beginning to learn about Java. I need help, my instructor is not useful and my fellow students have no idea what their doing; their lost as well! I have an assignement which was do two days ago; i was not able to produce a … Software Development java | |
[code=PHP] Name: <?php print $_POST['nameField']; ?> <br/> Age: <?php print $_POST['ageField']; ?> <br/> Comment: <?php print $_POST['commentField']; ?> <br/> [/code] [B]How do I do the same thing in C#?[/B] Thanks :icon_question: Software Development asp c# first-post | |
Can someone tell me how to add a static library file to a project in visual studio 2007. Software Development c++ visual-studio | |
Hello, I'm new to this forum and have a brief knowledge of C++. I made this program to ask the user for a word and make it so the word would not be allowed any "i's". I completed the task just my code looks a bit to much I think. … Software Development c++ | |
Hi, I need the drawbacks of procedural programming language with good program to explain if any body know best example please send it. I also need the best examples to describe object and class. Please its urgent regards, Samba | |
hi!.. first of ol sory for my bad english.... I have a problem: I want to create a database system using MSACCESS and VB6 that will be on 3 computers connected via LAN. 1. the 2 computer will be the registration section, and the last 1 will be the payment … Software Development visual-basic | |
I want to change the cursor in my program to a custom one that i made... Help plz?? I`ve tried all I know... Software Development pascal | |
I need help with RPGIV . Im taking a class in school and the teacher and books suck. Can you point me to a site or 2 with RPG basics. I just need help navigating the whole as/400 pdm thing and a reference to keywords and shortcuts. The syntax and … Software Development ide | |
Hello. I have a question.. I have this script: [code] int mouseDownX; int mouseDownY; int width; int height; private void Form1_MouseUp(object sender, MouseEventArgs mouseEv) { width = mouseEv.X - mouseDownX; height = mouseEv.Y - mouseDownY; textBox2.Text = Convert.ToString(mouseEv.Location); Graphics graphics = this.CreateGraphics(); Rectangle rectangle = new Rectangle( mouseDownX, mouseDownY, width, … Software Development video | |
HI, I have been wondering how to make a program with the XP style buttons, edit boxes, etc. in it. I have made a GUI, but it's ugly. How can I make the controls look like the ones on say, a windows property sheet or something like that? I have … Software Development c++ gui windows-xp | |
Hello i have a small question, [CODE]<?xml version="1.0"?> <mysql-connect> <db id="0" select="1"> <username>root</username> <password>1q2w3e</password> <database>OT</database> <hostname>localhost</hostname> </db> <db id="1" select="0"> <username>testuser</username> <password>woos</password> <database>notadb</database> <hostname>whereamg</hostname> </db> <db id="2" select="0"> <username>testuser2</username> <password>woos2</password> <database>notadb2</database> <hostname>whereamg2</hostname> </db> </mysql-connect>[/CODE] and i have 1 dropdown box and 3 textfields How can i add these values to … Software Development xml | |
I want to make a function to pass and return values from the same arguments. For example prm3=0 after function's execution must become prm3=3, and next prm3=6, and next prm3=9 ... I wrote the following but it doesn't work. p1,p2,p3 are not passed to prm1, prm2, prm3. What is wrong? … Software Development c | |
hi there guys. i want to design a system for a company. i want my program to have 2 toolbar Above and right hand of the main Form . i mean i want to have two stable menu which are not changed during the code and a main form which … Software Development | |
I got some ploblem when i was doing smth here are the codes: // Wallhack.cpp : Defines the exported functions for the DLL application. // [code=cplusplus] #include "stdafx.h" /*creds to me,Roverturbo,Azorbix,Frit0 ,unreal*/ #include <windows.h> #include <detours.h> #include <d3d8.h> #include <d3dx8.h> #include "log.h" #include <fstream> #include <iostream> #pragma comment(lib, "d3dx8.lib") #pragma … | |
Hi all. I need to read a .txt document with my c++ program. My .txt is data that I take from a GPS and it has different kind of data i.e. <timeStamp> <status> <latitude> <longitude> <altitude> <numSatellites> <HDOP> <X> <Y> <Z> <X2D> <Y2D> <Xdiff3D-2D> <Ydiff3D-2D> <NMEA_GGAstring><CR> and the information is … | |
Hello, I have a question. i have to write a program that cvalculates the average number of days a company's employees are absent. The program should have the following functions: A functcion called by main that asks teh user for the number of employees in the company. this value should … Software Development c++ | |
hi i aam trying to develop a project using vb and access i have got a problem i have 3 tables in access 1.Cust info table(fields are listed below) cust id,name,age,sex,country...etcxc(primary key cust id) 2,indate(fields are listed below) custid ,packageid,date,intime,outime(no primary key) 3.package info table(fields are listed below package id, … Software Development sql visual-basic | |
Hi :) I have a question, if you don't mind =] (What is the situation where quadratic probing is better than chaining?) I guess (as I'm thinking) while searching? maybe? because if the Hashtable have a lot of elements in chaining it'll take a lot of time searching the Hashtable … Software Development c++ linked-list | |
[ICODE]Update requires a valid DeleteCommand when passed DataRow collection with deleted rows.[/ICODE] This is the error I get when I'm deleting a row in my datagrid. I referred my code to a running program but when I embedded it on my own it occured that way. Here's the code: [ICODE] … Software Development | |
Hi, I just started research and playing around with Java a week ago. My uncle's company gave me all the necessary software and everything, and now I am trying to learn as much as I can in the fastest possible time. Browsing through the first page, I realized that I … Software Development java | |
Dear All, Write the pseudo code for inserting a node in threaded binary tree. You code should describe how you will, 1. Set right and left child node pointers during insertion 2. Set right and left flags during insertion. Kindly guide me . Software Development c++ data-structure | |
I have this program to add, edit, delete and view the student file, which is save as student.csv. The problem is that the only function that is working is the add and view. The edit and delete does not have problem on the code but it does not edit and … Software Development c | |
Hey guys, I am new to assembly language, so to those of you that are good at it, how do I write a beep(ex.doorbell) in assembly? Any type of beep, just so I have an idea of how it's done. Now to those of you who will answer this, thanks … Software Development assembly | |
Hello, I started today i already got some help but i cant find anny where how to build a multiple sort listbox.. Can some one help me on this information? Greetz Marty Software Development | |
Hi, I wanted to know how do I create the exact polygon(trapezium) in my main form. I've now created a class "PolygonShape" and inside there is this code(this is a shape of a trapezium): [code=c#] protected override void OnPaint(PaintEventArgs pe) { // Create pen. Pen blackPen = new Pen(Color.Black, 3); … Software Development | |
Alright, the code im working on looks like this: [code] ... cin >> x; cout << ":"; cin >> y; ... [/code] and everything works fine, however when the user presses enter, it starts a new line, which ends up making everything looks wierd. Is there any way so that … Software Development c++ | |
Hi, guys I need good program in procedural programming language which shows there is no importance to the data It should explain the exact drawback of the procedural programming language Software Development c++ | |
Hi… I want to use graphics and I don’t know how. All want is few lines… Software Development c++ | |
I am stuck on problem 7 that is outlined clearly. I am trying to create a process that changes all of the non-prime number elements of a 65,000 element array to 1. Then I would like to verify that array was marked correctly so that only prime numbers have 0's … Software Development assembly | |
I have an html file and I am parsing it with regular expressions. I don't want to use any python html libraries, because I am not using it as a website, but as a configuration type file. I am making a basic bookmarks system, the parser works fine, so I … Software Development file-system python | |
Hey all! I've been struggling with a problem for a week now, and it seems that I'm stuck. PROBLEM ONE: I'm trying to make a "Dynamic" Combobox? Well, I'm trying to read in an XML file, and based on the number of Nodes in that file, i wish to create … | |
I have seen a lot of type LPSTR(and other like LPCSTR, etc) when coding using MFC. I just know it is equivalent to char*, but what LPSTR exactly is? (ie, is it a native type in C++, or a macro in C++, or a typedef in C++, or...) Software Development c++ | |
Hi, probably a stupid question, but I haven't been able to find anything. Is there a istream related function that let me read exactly one keystroke from the keyboard through cin? What I need it to do is this: - remove all characters currently in the input buffer - block … Software Development c++ ![]() | |
well i wanted to see if i could make a secruity program i got it set up but i wanted to make it restart the computer if the wrong passwords entered im using dev C++ please can you help | |
I am trying to create a simple database. Here is the code: [code=C++] #include <iostream> #include <fstream> #include "conio.h" #include <string> using namespace std; struct Station{ string url; string name; string genre; }temp; char userInput; string output; int fileSize; string searchParameter; int index; int results[1000]; int j;//temporary storage for a … Software Development c++ ios storage visual-studio | |
when I hit click i get a blank table in my datagridview with no values in it! why is that ? [code] Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click Dim con As New OleDbConnection("provider=microsoft.jet.oledb.4.0;data source=C:\Documents and Settings\bashkark\Desktop\Copy of USERS.mdb") Dim cmd1 As New OleDbCommand con.Open() … Software Development dataset open-source vb.net | |
I have 3 radio buttons and each connected to a SQL statement..the first one 'NVIDIA*' does not get executed whereas the other two do because they dont have wildcard character in them. Can you please help me with this ? I tried 'NVIDIA*' in Access query and they worked perfect … Software Development dataset microsoft-access open-source sql vb.net video | |
i'm really having a problem on how to start my homework. this is regarding to my first post ([URL="http://www.daniweb.com/forums/thread132760.html"]http://www.daniweb.com/forums/thread132760.html[/URL]) thanks to the one who answered, i realized that i needed to use arrays on this. i realized that i needed to solve the problems manually, meaning that i have to … Software Development c | |
I am making a c++ program and i need a function that does the following: IF u have an n (e.g: 4) digit number (IN THE FORM OF AN ARRAY) , each digit can take the vlaue from 0 to m (e.g: 5) and can exist more than once in … | |
I get this error in the following code [code] //Error... error C2679: binary '>>' : no operator found which takes a right-hand operand of type 'int' (or there is no acceptable conversion) void Menu::readDates(istream& in, Date& dates) { in >> dates.getDay() >> dates.getMonth() >> dates.getYear(); } [/code] Thought '>>' can … Software Development c++ |
The End.