132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for NycNessyness

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
Member Avatar for Software guy
0
161
Member Avatar for winterx

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 …

Software Development c c# c++
Member Avatar for HarryGabriel91
0
1K
Member Avatar for almostanangel

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
Member Avatar for Waseemn
0
107
Member Avatar for nikhil.laghave

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
Member Avatar for nikhil.laghave
0
265
Member Avatar for Leena das

Without using printf and cout how can we display any thing?

Software Development c c# c++
Member Avatar for ArkM
0
76
Member Avatar for Time Indicator

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
Member Avatar for suley04
0
132
Member Avatar for sangham

Friends can you please tell me how can i send object of a class over a network to the client??

Software Development c++
Member Avatar for mitrmkar
0
97
Member Avatar for JavaBeginner30

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
Member Avatar for Alex Edwards
0
106
Member Avatar for pdk123

following is a simple embedded c piece of code, can somebody tell me is there a problem in it ? [code=c] boolean new(int a) { return !(a & 7); } [/code] i am new to embedded programming. It will be great help, any pointers to this ... thanks pdk

Software Development c
Member Avatar for Prabakar
0
193
Member Avatar for tazquebec

[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
Member Avatar for tazquebec
0
82
Member Avatar for guy40az

Can someone tell me how to add a static library file to a project in visual studio 2007.

Software Development c++ visual-studio
Member Avatar for CoolGamer48
0
153
Member Avatar for Code Shark

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++
Member Avatar for Prabakar
0
211
Member Avatar for sambafriends

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

Software Development c++ samba
Member Avatar for CoolGamer48
0
113
Member Avatar for jhai_salvador

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
Member Avatar for debasisdas
0
137
Member Avatar for Peppercat101

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
0
81
Member Avatar for plazmo

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
Member Avatar for jsrpatna
0
199
Member Avatar for Dumpen1337

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
Member Avatar for Dumpen1337
0
154
Member Avatar for TheBeast32

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
Member Avatar for TheBeast32
0
109
Member Avatar for njitram

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
Member Avatar for njitram
0
171
Member Avatar for kzdev

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
Member Avatar for kzdev
0
106
Member Avatar for mzd12111

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
Member Avatar for camilojvarona
0
127
Member Avatar for shaunkuro

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 …

Software Development c++ ios
Member Avatar for mitrmkar
0
315
Member Avatar for jasonperez

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 …

Software Development c++ os-x
Member Avatar for jasonperez
0
126
Member Avatar for winterx

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++
Member Avatar for winterx
0
247
Member Avatar for ITech

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
Member Avatar for hmehmi
0
788
Member Avatar for Q8iEnG

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
Member Avatar for Q8iEnG
0
117
Member Avatar for harcaype

[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
Member Avatar for harcaype
0
115
Member Avatar for bloody_ninja

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
Member Avatar for bloody_ninja
0
180
Member Avatar for faisaly

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
Member Avatar for Alex Edwards
0
339
Member Avatar for Anbuvengeance

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
Member Avatar for Anbuvengeance
0
91
Member Avatar for Nick1979

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
Member Avatar for smellyfis
0
170
Member Avatar for njitram

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
Member Avatar for selvaganapathy
0
109
Member Avatar for sisi

Hello i need help about hide and show form . Can anyone provide code to write for hide form and show other form thx you

Software Development vb.net
Member Avatar for sisi
0
139
Member Avatar for karhong

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
Member Avatar for karhong
0
93
Member Avatar for Misterguitar

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++
Member Avatar for Misterguitar
0
79
Member Avatar for sambafriends

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++
Member Avatar for CoolGamer48
0
143
Member Avatar for stewie griffin

Hi… I want to use graphics and I don’t know how. All want is few lines…

Software Development c++
Member Avatar for stewie griffin
0
160
Member Avatar for SHWOO

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
Member Avatar for Salem
0
962
Member Avatar for dz0004455

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
Member Avatar for dz0004455
0
238
Member Avatar for AllanJP

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 …

Software Development java xml
Member Avatar for AllanJP
0
196
Member Avatar for jack1234

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++
Member Avatar for CoolGamer48
0
127
Member Avatar for amit1701

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++
Member Avatar for iamthwee
0
160
Member Avatar for justinclev

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

Software Development c++ laptop
Member Avatar for Duoas
0
106
Member Avatar for originaldaemon

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
Member Avatar for Salem
0
99
Member Avatar for kavithabhaskar

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
Member Avatar for kavithabhaskar
0
98
Member Avatar for kavithabhaskar

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 …

Member Avatar for kavithabhaskar
0
161
Member Avatar for arupa

how can i make a circular form by using c#

Software Development
Member Avatar for selvaganapathy
0
72
Member Avatar for jirving

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
Member Avatar for Adak
0
131
Member Avatar for omarelmasry

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 …

Software Development algorithm c++
Member Avatar for Alex Edwards
0
148
Member Avatar for SonxQ7

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++
Member Avatar for CoolGamer48
0
118

The End.