199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for wonder_laptop

want to build an application that allows a user to build its own form(s). A user can input data into its form and query the data too. the form can be edited after being created and used ( add/remove fields from it ). the form can have fields like: small …

0
102
Member Avatar for lochnessmonster

when would i ever/when would it be a good idea, to ever explicitly use __int8 nSmall; // Declares 8-bit integer __int16 nMedium; // Declares 16-bit integer __int32 nLarge; // Declares 32-bit integer __int64 nHuge; // Declares 64-bit integer over regular int?? in your program

Member Avatar for gerard4143
0
194
Member Avatar for musikluver4

I am just curious if anyone knows how to BEGIN to start the coding for telling the program to have a GUI with typical fields, labels, buttons, panels, etc in a GUI, and then when a user presses a button, it goes to a complete different GUI with brand new …

Member Avatar for musikluver4
0
5K
Member Avatar for xecure

Well I'll go straight to the point... I'm trying to recursively move through a binary search tree. I'm not really sure what is wrong with my algorithm (and I'm also pretty new to recursion) but this is what I have: [CODE] public boolean contains(BTreeNode<T> node) { return containsItem(root, node); } …

Member Avatar for xecure
0
137
Member Avatar for chiochiosane

Hello, well well, I'm all new with Python, actually I've heard of it for the first time 2 or 3months ago... I have to do a project for my class (I'm not even in Computer Sciences)and I need some help... I start to be familiar with different expressions of the …

Member Avatar for woooee
0
74
Member Avatar for Rewired

[B]I am new to this PHP coding, but have experience. I am just wondering how to make it check the folder and not make it make duplicates of the file in the MySQL?[/B] [CODE]<?php include('mysql.php'); if ($handle = opendir('images')) { while (false !== ($file = readdir($handle))) { if($file!='.' && $file!='..') …

Member Avatar for diafol
0
350
Member Avatar for garevn

Hello, i am new in c programming it is just the second month i i deal with. I am really confusing about what i have to do with this exercise pls don't lough on me :( I hope for some help. That's what i have to do.. I have to …

Member Avatar for Trentacle
0
344
Member Avatar for pradeepsimhanp

Hi All, Say I have two list box listBox1 and listBox2... i have some data loaded in listBox1 which is taken from XML file listBox1Data.xml... and for ex it contains A,B,C,D etc... and listBox2 i need to load data from another XML file which contains data like for A->a,b,c etc.. …

Member Avatar for Diamonddrake
0
138
Member Avatar for Whilliam

Hello. Im not very good with javascript. My knowledge is very limited. I need your help. See, this code is going to check if a user has inputted an empty field or not. As of now, Im testing it on 'first name' text field. If the user didn't input anything …

Member Avatar for hielo
0
460
Member Avatar for muncher10

I'm just wondering how I can make the program print results right after inputing a guess.[CODE]import java.util.Random; public class Guess { private int z; private int x; private int y; private int toss; public Guess(int a, int b, int c) { z = a; x = b; y = c; …

Member Avatar for JavaDad
0
98
Member Avatar for cableguy31

Here's what I'm trying to do. I have a php script that will run an sql query and return the data back in a table. I want to put a radio button into each row so the user can select one row to submit. Then, when they click submit, I …

Member Avatar for cossay
0
1K
Member Avatar for 07tr0wa07

Hello world, ok so i need a suggestion for my code. this part of my code i need help [CODE]cout <<"\nEnter Each Sales Person # : "; cin >> salesPerson; while ( salesPerson != -1 ) { cout << "\nPlease Enter the product number: "; cin >> product; sales[ salesPerson …

Member Avatar for 07tr0wa07
0
179
Member Avatar for lttleastig

Hello Is there a querry to convert a whole column into MD5 but i only need the first 19 characters of the MD5 thanks

Member Avatar for lttleastig
0
784
Member Avatar for puvi

hi guys, i have registration form, where the user enters username, email id etc. on clicking register, the data should get validated and then get saved into the database. i got most of the validation stuff right exept this one. i did all the validations in javascript, i want the …

Member Avatar for puvi
0
153
Member Avatar for techie929

Hi , I am trying to reverse a string using pointers.I am able to reverse a sting like this: My Reverse Program --> margorp esrever em But I want it word by word. Program Reverse My. [CODE] #include <stdio.h> #include <string.h> char str[50]="Reversing a string using XOR"; char strb[50]; char* …

Member Avatar for gerard4143
0
135
Member Avatar for jwmollman

Hi guys, I'm having some trouble with my Java homework, and I was wondering if any of you could point me in the right direction. I need to find a loop that will add all the whole numbers from 1 to 1000 and print only the total. I've been spending …

Member Avatar for kikovi
0
185
Member Avatar for MyPianoSucks

Hi everyone! Imagine that i have a timer that each 30 seconds it adds 3 to the variable final. Variable final is shown on excel sheet when user press "Export", on cell [5,2]. I added this on the timer: [CODE]numero++; if (numero == 5) { numero = 0; final += …

Member Avatar for MyPianoSucks
0
124
Member Avatar for ffmwheeler

I am having a problem with my code for an assignment. I am to take the a dice and roll it 100 times, output the random results, and then ask the user if they would like to roll it again. My only problem is the second and subsequent times the …

Member Avatar for ffmwheeler
0
117
Member Avatar for LianaN

Hi! My JAVA+MySQL api worked fine yesterday, but today (when I try to connect to MySQL DB from remote machine) the fllowing erro is produced: [ICODE]Java Result: -805306369[/ICODE]. Although there is e.prinstachtrace() in my code, I received only this message. It happens here: [CODE] db = (Connection) DriverManager.getConnection("jdbc:mysql://" + url …

Member Avatar for LianaN
0
354
Member Avatar for dmurder
Member Avatar for 15uck
0
95
Member Avatar for azrysyarry

Hello guys, My name is Azry Syarry and I am an Analyst Programmer for an IT company here in Malaysia. I just got this job and I am going to be given the responsibility of handling some projects. However, I do have to make some decisions first about this upcoming …

Member Avatar for zubairn
0
701
Member Avatar for ogsirus

Hi Guys need a bit of help. I right a c# program that connects to a database and do various things. One of them is to delete a record. currently I can delete a record that i specify but i want it to delete a selected row in the dataset. …

Member Avatar for ogsirus
0
187
Member Avatar for ayeshakanwal

i m trying CvRunningAvg() function by passing two IplIMages , alpha value and a NULL mask value. it gives me some runtime terminal error. plz can anyone help me??

Member Avatar for jonsca
0
226
Member Avatar for tomtetlaw

I'm trying to make a memory pool, I've got everything sorted out except for one thing: the allocation. I have no idea how to return a segment of the data in the pool. I have it like this [icode]byte *m_pData;[/icode]. How would I be able to return a segment of …

Member Avatar for tomtetlaw
0
265
Member Avatar for kondeti ramesh
Member Avatar for quuba
0
86
Member Avatar for joe00

i have the following code but i can not make the color work. where is the problem? #include <iostream.h> #include <stdlib.h> #include <stdio.h> #include <conio.h> #include <math.h> #include <graphics.h> #include <dos.h> #include <bios.h> #include <ctype.h> float xw[8],yw[8],zw[8]; float xe[8],ye[8],ze[8]; int MR[12][2]={{0,1},{1,2},{2,3},{3,0}, {4,5},{5,6},{6,7},{7,4}, {0,4},{3,5},{2,6},{1,7} }; // ¬ ббЁў ॡҐа int pg[6],pr[12]; int …

Member Avatar for jonsca
0
183
Member Avatar for petmol

Hi everyone, I'm kinda new to this - both to DaniWeb and to C++ programming, so I hope you'll bear with me and my rookie questions. Anyways, I'm trying to build a little C++ program that my daughter can use to practice multiplication. It's supposed to receive two numbers and …

Member Avatar for petmol
0
130
Member Avatar for bisiii

Hello, Do anyone know how to continue the loop to get an average of entered numbers: [code] //Using loop to enter the numbers for (int i = 1; i <= 10; i++) { //Entering ten numbers Console.Write("Enter the number:"); int Number = int.Parse(Console.ReadLine()); /*If user write number 0 in console …

Member Avatar for bisiii
0
147
Member Avatar for zartasha*

HI, I NEED HELP(c++) actually i make a programme through array in which even no.s print.its an integer type.array size is 20. please help me how can i do this!

Member Avatar for jonsca
0
69
Member Avatar for bigwhiteegg

I'm a newbie in assembly Google search was not helping much can some1 tell me how to write %2 in assembly? ps. there might be more question coming up since I'm trying to finish my HW

Member Avatar for Goalatio
0
89
Member Avatar for ChEeZeBaLL

I'm new to C programming and I am trying to write a simple ID3 tag editor for mp3s. An id3v1 tag is the last 128 bytes of the file, with 30 characters for the artist, 30, for the title, etc... So far I have written this program which saves each …

Member Avatar for Dervish1
0
1K
Member Avatar for danyesu86

Hey guys, I have a question regarding this code I made some days ago.. (works fine) [CODE]#include <stdio.h> /*para printf(),scanf()*/ #include <conio.h> /*para getch(),clrscr()*/ #include <stdlib.h>/*para exit()*/ #include <math.h> //#include <dos.h> //#define NUMEL 20 double f(double x); void _error(int n); enum{INTERVALOS}; enum{SIMPSON1_3=1,SALIR}; int n; float a,b; //float X[NUMEL],Fx[NUMEL]; /*Metodo de …

Member Avatar for myk45
0
104
Member Avatar for dre-logics

I use Visual Basic 2008 I use Datagridview with column "verkoopprijs" I want comma instead of decimalpoint My problem is this 25[COLOR="red"][B].[/B][/COLOR]25 to fill column as decimal point in column "verkoopprijs" the system automatically adjusted to [COLOR="Red"]€ 2,525.00[/COLOR]. This is not okay 25[COLOR="Green"][B],[/B][/COLOR]25 as fill in column with comma in …

Member Avatar for GuruJin
0
147
Member Avatar for ankit.pandey3

[CODE]<?php require_once('upper.php'); if(isset($_COOKIE['AdminCookie'])){ if(isset($_POST['submit'])){ require_once('database.php'); $ActivityName =$_POST['ActivityName']; $EventName =$_POST['EventName']; $BloodGroup =$_POST['BloodGroup']; $Location =$_POST['Location']; $Age =$_POST['Age']; //$Sex =$_POST['Sex']; echo $ActivityName; $query="select * from registration WHERE Flag='A' AND BloodGroup= '$BloodGroup' AND Age ='$Age'"; //$query="select * from registration WHERE Flag='A' AND Address like '%$Location%'"; $result=mysqli_query($dbc,$query) or die('Not Connected'); while($row=mysqli_fetch_array($result)) { echo $row['Name']; } …

Member Avatar for ankit.pandey3
0
156
Member Avatar for Democles

Hello, I am more experienced with Java and trying to write a script for a server I have. I need to learn Python anyway, so I am attempting to do it in python. I am not completely lost, but just puzzled why it would do this. Here is the code …

Member Avatar for Democles
0
276
Member Avatar for chiaig12345

How the computer is not "Random" I want the player can not win! Player only draw! Thank..:yawn:

Member Avatar for chiaig12345
0
64
Member Avatar for Crono

I am writing a program that calculates Fibonacci numbers... But I keep getting an error on my code when I try to compile it...: Fibonacci.java:18: illegal start of expression public int calcFib (int n) { ^ 1 error I don't know what I am doing wrong? Someone help? Here's my …

Member Avatar for sincerelibran
0
263
Member Avatar for kchadek

Yeah I know the usual Palindrome problem, but anyway here it is. Given a number greater than zero and up to 200. Find Palindrome of it by adding its reverse to it and repeating until a Palindrome is reached. If taken more than 10 iterations stop. So here is my …

Member Avatar for kchadek
0
105
Member Avatar for Leodumbi

Hy guys as mentioned before on my threads I'm a self teaching person learning VB. I' sucessfully created a project fully functional using access database. I've read about SQL connection on VB .net. But I'd apprecite a help to have some one guiding me step by step on how to …

Member Avatar for kvprajapati
0
283
Member Avatar for DCYPHER

Hi, My code is pretty much complete. I just need help in 2 things 1) When the program runs the 0 appears, which is fine, but when I type/write a number the Zero would continue next to the number i type/write 2) When i make an operation, such as add/divide/multiplication …

Member Avatar for kvprajapati
0
193
Member Avatar for vilas_tadoori

Hi All, I have a first hashmap with some values and I have a second hashmap with diff values. Question: How can I find the diff between two hash maps and print only the difference. ~Vilas

Member Avatar for vilas_tadoori
0
7K
Member Avatar for ThomasNeedsHelp

OK so I have this homework assignment for a java class that I am taking. with the exception of a couple things not working right(search, delete) ive pretty much got it. The problem I am having now is that I need to implement a controlled break so that my report …

Member Avatar for seanbp
0
163
Member Avatar for showman13

I have written a function that works really well for what it is intended, but I just realized that it will need to make calls to itself, and wondered if that is able to be done (first), whether is is a smart thing to do (second), and are there any …

Member Avatar for showman13
0
280
Member Avatar for misfit956

Hello, I'm taking a c++ class and I'm very new to this. I have a project due where I'm to change a program from static memory to dynamic memory an help would greatly be appreciated it. #include <iostream> #include<fstream> using namespace std; // Function Prototypes void getArrays(int [], int &, …

Member Avatar for misfit956
0
130
Member Avatar for fengapapitt

I'm trying to write up a little "game" that consists of a U.F.O. that flies in all directions (based on buttons) and explodes when it hits the bottom of the screen. I have 4 classes, 2 of which I'm not allowed to edit. They are: The display window [CODE] import …

Member Avatar for IamAuser
0
153
Member Avatar for Boonzo

I'm trying to write a program which asks for the number of animals and then the name and the population of each animal. I want to get it to add the population of each animal but I having trouble getting the variables from the dictionary and adding them. This is …

Member Avatar for Gribouillis
0
114
Member Avatar for Suzie999

After my last project, I passed the finished job onto a friend to test. She reported that when she tried to run it, she was pesented with an error that some dll files were missing (Im sorry I cannot remember them now), I searched while on the phone with her …

Member Avatar for Suzie999
0
116
Member Avatar for bisiii

Hello, I have a problem with coding circumscribed rectangle in C# [B]console application[/B]. Whith that code i get just filled rectangle which is not correct fot my task: [code] //Entering dimensions of the rectangle Console.Write("Enter the height of the rectangle: "); int Height = int.Parse(Console.ReadLine()); Console.Write("Enter the width of the …

Member Avatar for bisiii
0
3K
Member Avatar for shakssage

Hello. I'm trying to print some text using printDocument. I've managed to print out the text I need into a pdf. The text is taken from the database which is initially made when the windows form loads. The problem is: Once it prints, it shows the pdf, which is fine …

Member Avatar for shakssage
0
237
Member Avatar for puretnaant

Hi, I'm having trouble displaying the numbers in the file on the screen. The numbers are in the .data files but i cant get them to display. [CODE]//****************************************************************************** // Exercise: Homework 07 Arrays and pointers // This program reads two sets of integers from the text files A.data and B.data. …

Member Avatar for misfit956
0
171

The End.