199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lxXTaCoXxl

The snippet provided will cover the basics of an on screen keyboard; the only things it doesn't have are numbers, symbols, and extra keys. This will give you the fundementals to build off of. It's written using Microsoft's XNA Framework, however it should be fairly simple to port over to …

Member Avatar for lxXTaCoXxl
0
267
Member Avatar for nitish.mohiputlall

Here is the question: Write a function which accepts an integer N and returns the sum of first N numbers. and here are my codes: #include<stdio.h> #include<stdlib.h> int Myfun(int x); int main() { int a, sum; printf("Enter an integer: "); scanf("%d", &a); printf("sum is %d\n", sum); system("pause"); return (1); } …

Member Avatar for Ancient Dragon
0
125
Member Avatar for Nawaf15

Hi, I am trying to write an application that will calculate the volume of a pool with fixed length and width. The user will be prompted to enter 2 values for depth. The application should draw a cross-section of the pool using length, deep end and shallow end. A part …

Member Avatar for JamesCherrill
0
183
Member Avatar for qwerty14444444

pls help me with my codes, age doesn't appear on the text file and i got end of file error when i click "view" button. can someone kind enough to fix this..god bless and more power =) my code >>>>>> http://www.2shared.com/file/8whfrcUJ/Frame1.html

Member Avatar for JamesCherrill
0
292
Member Avatar for cakka

Hello, I got this question from my quiz : > Consider the following code (assume that comments are replaced with real code that works as specified): public class TestExceptions { static void e() { // Might cause any of the following unchecked exceptions to be // thrown: // Ex1, Ex2, …

Member Avatar for JamesCherrill
0
307
Member Avatar for jared_masc

Just need help with regards to this part, i'm meant to use scanf() to read a string from keyboard and return number of characters read, so i'm supposed to read a character string. The scan must then terminate at whitespace. A null character is stored at the end of the …

Member Avatar for deceptikon
0
5K
Member Avatar for lena1990

hi all i want to create a program that each thread will be handle a part of the log file and read from it at the same time ?? Thanks in advance

Member Avatar for lena1990
0
132
Member Avatar for mmcdonald

Hi all, I'm using AJAX to reload a div within my script. However it frequently causes the browser to crash. It's happened on two different local environments and I've only been able to test using chrome. Chrome presents this screen: http://i.imgur.com/wq2v7SJ.png The code used to reload the div is: <script …

Member Avatar for mmcdonald
0
210
Member Avatar for vinojai

Hi I did one php application. In that application on clicking the download button.The datas from database have to convert into excel sheet and download. Can anyone please help me to do..

Member Avatar for layman114
0
571
Member Avatar for Lauram340

Hi I am currently working on a piece of code that I am struggling to get working. I have a picture box that I want to move across the screen. At the moment I want it to stop when it gets to a certain point and you have to click …

Member Avatar for Mansibugan
0
2K
Member Avatar for davy_yg

Hello, I wonder if it is possible to run php in IIS ? Thanks before.

Member Avatar for JorgeM
0
84
Member Avatar for RounaqJJW

#include <iostream> #include <cstdlib> #include <cstring> #include <cstdio> #define size 400 using namespace std; char infix[size],postfix[size],Stack[size]; int top; int precedence(char ch) { switch(ch) { case '^':return 5; case '/':return 4; case '*':return 4; case '+':return 3; case '-':return 3; default:return 0; } } char Pop() { char ret; if(top!=-1) { …

Member Avatar for Schol-R-LEA
0
978
Member Avatar for boney

I need help on building a mysql query. I have 2 tables : list and type. List : id_list, name Type : id_type, id_list, name The id_list column in table Type is a reference for id_list in the table List. My HTML [main.php] : <head> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> <script type="text/javascript"> function …

Member Avatar for LastMitch
0
250
Member Avatar for cambalinho

//arr is the array int length;//for recive the array size length=sizeof(arr);//recive the array size cout <<length; length=length/sizeof(typeid(arr));//calculate the number of elements cout << sizeof(typeid(arr)); i'm using these code for calculate the number of elements in array. sizeof(typeid(arr)) these line is for give the type size, but isn't correct can anyone …

Member Avatar for cambalinho
0
802
Member Avatar for AndrisP

How I can passing quantifier as variable in this regexp `str.match(/^(\-)?\d+( (\-)?\d+){3}$/)`

Member Avatar for AndrisP
0
184
Member Avatar for Persi

I have two tables in one form and a button in another form. So the two tables must be displayed first and then the button. But for me the button is displayed between the two tables. Can anyone help me?? This is my code [CODE]<form action="choirEvedit.php5" method="post"> <?php $con = …

Member Avatar for whiteyoh
0
99
Member Avatar for hwoarang69

$count = 0; $Q = "SELECT (SELECT image_short_name FROM user WHERE username = '$user') as `image_short_name`" .",`image_id`,`image`" ." FROM `image`" ." ORDER BY RAND()" ." LIMIT 30"; $R = mysql_query($Q); echo " <div id ='bg'> <div id='context'> <table> <tr> "; while($row = mysql_fetch_assoc($R)) { echo "<td>"; $image_db = $row['image']; $src …

Member Avatar for whiteyoh
0
109
Member Avatar for Gobble45

Hi there, I have 3 tables to extract data from. My query thus far is: SELECT `ministry`.`pm_name` AS 'Name', DATE_FORMAT(`ministry`.`min_begin`, '%Y') AS 'Election Year', `ministry`.`party` AS 'Party Led', `deputy_name` AS 'Deputy PM', COUNT(DISTINCT `ministry`.`min_begin`) AS 'Times Elected PM', `GG_name` as 'GG Name', `gg_title` as 'GG Title' FROM `ministry` JOIN `deputy_pm` …

Member Avatar for Gobble45
0
288
Member Avatar for kay19

Hello. Nearly finish this project, but can't sort the last code. I have faculty, staff, & partime employees, and they have ID, and what I want to do is sort by ascending order them based on their #ID. Everything else works before that. Here is my two codes, the Tester, …

Member Avatar for kay19
0
161
Member Avatar for hostme

Task A Download the files bank.txt and assignment2.py. The file bank.txt is the input file for the program. It consists of a number of lines of text, each with five fields. These fields are: • The customer’s first name • The customer’s last name • The customer’s account number • …

Member Avatar for hostme
0
269
Member Avatar for patk570

Hello, I have a login script that I created and for some weird reason when it is in plaintext it works, but as soon as I put md5() it errors out and will not let me log in at all. <?php session_start(); error_reporting(E_ALL); ini_set("display_errors", 1); include("config.php"); if($_SERVER["REQUEST_METHOD"] == "POST") { …

Member Avatar for patk570
0
223
Member Avatar for dschuett

Hi, I am a complete newbie when it comes to php. I have been searching google for a way to upload multiple pictures to a directory at one time, and at the SAME time store each pictures path into a table in the database. I have found several examples of …

Member Avatar for Gloak
0
2K
Member Avatar for Dhiraj_1
Member Avatar for diafol
0
88
Member Avatar for dyea.marcello

I am trying to display a list of my book However I can't select the database: this is a piece of my code: <?php $mysql_hostname = "localhost"; $mysql_user = ""; $mysql_password = ""; $mysql_database = "mag_rocket"; $prefix = ""; $bd = mysql_connect($mysql_hostname) or die("Could not connect database"); mysql_select_db($mysql_database, $bd) or …

Member Avatar for diafol
0
509
Member Avatar for 68thorby68

I am very very confused about encrypting form values when posting a form to submit payment. Please don't turn off when I mention PayPal. I am genuinely confused. I have to submit form values via an HTTPS connection to PayPal and PayPal have advised me to encrypt my form fields …

Member Avatar for paulkd
0
200
Member Avatar for Szabi Zsoldos

Hey guys, I'm having difficulties with a problem. I iterate over an array of data with X rows And i have the positions of each row incremented, i would like that when i found an exception i shift all the position id's so after each exception the next ID has …

Member Avatar for Szabi Zsoldos
0
229
Member Avatar for KafitiJr

Please help, it keeps on showing the exception msg "Failed" the message send never work Imports System.Net.Mail Imports System.Net.CredentialCache Public Class Sendmail Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If TextBox1.Text = "" Or TextBox2.Text = "" Or TextBox3.Text = "" Or TextBox4.Text = "" …

Member Avatar for oussama_1
0
135
Member Avatar for TheAustinG

For my beginner Java class I am writing a program that will read data from inData.txt and write output to the file outData.txt. I have 5 errors that all say a symbol cannot be found but I'm not sure what exactly it's talking about or what is wrong. The error: …

Member Avatar for TheAustinG
0
340
Member Avatar for johnrosswrock

I have a pictude box which i want to load with a map,i know now how toget picture box coordinates and would like to conver it into latitude and longitude. thank you ps: i seached the net but could'nt understand it ,so please be simple as i am a new …

Member Avatar for gusano79
0
329
Member Avatar for kamalashraf

#include<iostream> using namespace std; void getdata (int a[], int size); int main () { int size=10; int a[size]; getdata (a[], size); return 0; } void getdata (int a[], int size) { for (int i=0; i<size; i++) cin>>a[i]; }

Member Avatar for deceptikon
0
149
Member Avatar for NCL89

I have data grid and I have two radio buttons in the datagrid i.e approve or reject and also one button in datagrid i.e submit what i want to do is when approved button is selected and submit button in the datagrid is clicked for one row I want the …

Member Avatar for james6754
0
197
Member Avatar for laura301019

Hi, I am starting my final year project and was looking for some advice on what more experienced coders think the best database for me to use would be? On placement I was using visual studio to code and sql server for stored procs, is this the best way for …

Member Avatar for IIM
0
256
Member Avatar for murali2489

Hi All, I have completed learning core Java and I want to move to next level in Java Study. I am really confused on what topic to cover next in JAVA . And I also don't know what are all the major topics in JAVA to study after Core Java. …

Member Avatar for murali2489
0
212
Member Avatar for maurice.tracey.7

string steady(int company[][column], int row)//Question 6 { int increase = 0; int x,y = 0; string Up = "Increased"; string Down = "Decreased"; for(y = 0; y < 2; y ++)//column {//Start loop increase = company[0][y]; for(x = 1; x < 4; x ++)//Rows if(increase < company[x][y]) { increase++; return …

Member Avatar for tinstaafl
0
345
Member Avatar for saadi06

Hi, I am using html Mime Mail5 class to send emails from my system and I want the attachment files to be send as encrypted in smime format. Is there any way I can send the email with attachment made in smime encrypted format through the htmlmimemail5 class. Thanks in …

Member Avatar for pritaeas
0
187
Member Avatar for SpottyBlue

The vending machine C++ code has a problem. I wanted to call the "tPrice" variable from the "chocoSelect" function to "insertCoin" function, but it does not work. Same thing as for calling variables "cChoice, qAMB, qSD, qCS, qCMB, currentTotal" from the "chocoSelect" function to the "dispenser" function. What should I …

Member Avatar for tinstaafl
0
1K
Member Avatar for grafic.web

Hi there, this is my question : I would like to make te first page with a list coming from database (how to do?); Ex <p><a "href:secondpage.aspx">Record text</a</p> etc. etc. and from this list choosing one of the record, using the id of the record, and open the second page …

Member Avatar for JorgeM
0
335
Member Avatar for milas

hello everyone i am designing a database system for a college i would really appreciate if someone can check my ERD design and advise me if it correct please check attachment thank you

Member Avatar for syedusamafarrukh
0
408
Member Avatar for Jahanzaib_2

Hello!!!! Kindly help me in resolving error in my this program. 1 The name 'yes' does not exist in the current context E:\Lectures and books\C SHARP\Projects\enum.cs 85 20 EnumMonth Error 2 The name 'yes' does not exist in the current context E:\Lectures and books\C SHARP\Projects\enum.cs 85 34 EnumMonth Error using …

Member Avatar for johnrosswrock
0
177
Member Avatar for thewayoftheduck

**Question** You are to design and implement a GUI application that will calculate the price of a pizza, based upon the size, style of crust, and selection of toppings. The price is calculated according to the following rules: • A plain small pizza is $6, medium is $8, large is …

Member Avatar for jwenting
0
3K
Member Avatar for reyn.cueto

THIS IS FOR MY PROJECT .. SO PLEASE HELP ME SIR... I HAVE A CODE BUT IT IS IN IOSTREAM LIBRARY> AND MY PROJECT SPECIFICALLY SAYS THAT USE STDIO.H: this is the code: i want to run it in stdio.h library #include <iostream> #include <string> #include <windows.h> using namespace std; …

Member Avatar for Ancient Dragon
0
727
Member Avatar for Fatima_110

This code is supposed to determine for a number of random numbers whether its odd, even , prime. At the end all random numbers should be displayed and the prime ones together with the number of odd and even numbers and their %. The part of the code to determine …

Member Avatar for jwenting
0
303
Member Avatar for nilesh7136

Hello There, I am Working with Master Detail Database, There Many Tables and Columns with Relationship. One of them 'M_Location' is one Table, and Its Primary Key IS 'LocationID' and Another table is 'D_Trip', so LocationID is used in D_Trip, now whenever gridview shows data of 'D_Trip', and also show …

Member Avatar for Begginnerdev
0
296
Member Avatar for programmingme

I had to write a fraction calculator program and my only problem (I think) is when I input the two fractions it gives me garbage - for instance if I put 1/2 + 1/2 it gives me 1374389536/687194768 - can anyone help me correct this please? Thanks! divisionByZero.h [CODE] #include …

Member Avatar for irum.nageen.3
0
3K
Member Avatar for debrah.rutherford

Step 1. Install mysql-essential-5.0 Following Command To install that . start mysql-essential-5.5.12-win32.msi /quiet /norestart Step 2. Set configuration Run Following Command line For That . cd\ cd Program Files cd MySQL cd MySQL Server 5.5 cd bin MySQLInstanceConfig.exe -i -q "-lC:\mysql_install_log.txt" "-nMySQL Server 5.5" "-pC:\Program Files\MySQL\MySQL Server 5.5" -v5.5.12 "-tC:\Program …

Member Avatar for Begginnerdev
0
266
Member Avatar for grafic.web

Hi there, i tryed to use the authentication with forms... I only added this code to my web.config but that give me an error.. ** <authentication mode="Forms"> <forms name=".myCookieSuffix" loginurl="Login.aspx"/> </authentication> ** do i need to add some more code or something else to my website? Another question, ho can …

Member Avatar for grafic.web
0
223
Member Avatar for grafic.web

Hi there, Once i am on my second page where i have open the record from the database with my id record, how can i populate my textboxes with the values of my record? And ho can i populate a select with another table containig the type of user by …

Member Avatar for grafic.web
0
243
Member Avatar for bullet_1

I am using following code which is displaying all files in listbox. But only files with specified extension selected from combobox(i.e .txt or .html....) should be displayed private void button1_Click(object sender, EventArgs e) { string search = textBox1.Text; string folder = textBox2.Text; MessageBox.Show(comboBox1); string[] allFiles = System.IO.Directory.GetFiles(folder, "comboBox1");//Change path to …

Member Avatar for Fenrir()
0
187
Member Avatar for lena1990

hi all i want to insert 110 million record in oracle database but i am using java application to insert the data but it takes 4 days to complete i check the program to see if there is a problem but what i found that the insert to the database …

Member Avatar for lena1990
0
151
Member Avatar for ss125

Hello friends, I am using sql server 2005 as a backend. I want to filter the datagrid based on fromdate,todate,companyname,employee name. I have done the date filter's.... The problem is with the other two filters. The actual problem is.. The application has to filter based on company only if the …

Member Avatar for ss125
0
263

The End.