199,114 Archived Topics
Remove Filter ![]() | |
This is a class for a bigger project. I programmed it sepratly so that i know it will work when i include it in the project. This is a Palindrome project. SO i want to know if the a word is a palindrome or not. I get the program to … | |
![]() | I'm trying to write a procedure to write a string directly to the video memory. It expects the address of the string to be in SI, the length of the string in AH and the offset in video memory to be in AL. The code correctly handles the length of … |
Hi Im currently a student trying to figure out how to search a 2D Array in C#. The program that Im trying to make is an Address Book. Basically I want to search the array for a keyword such as "First Name", I then want to be able to print … | |
anyone can help me with this error what does it do? im working on with my LOGIN script, and when i tried to run the script. what does it mean? anyone, thanks!:) Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\MEA\connect.php:7) in C:\xampp\htdocs\MEA\testlog.php on line … | |
Hi there, I wrote this client/server code but i can't make it work. and every time i try to debug the code the program goes in an infinite loop when executing the receive function. This is the client code [CODE]package client; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import … | |
hello guys how properly push,pop,display a char array into another char array, when come to int i can do but in char array its to hard to analyze.. pls guy need some help. thnx in advance | |
Hi guys, I'm not very good with ASP but atually I need to fix some stuff and I'm encountering weird problem when I tried to connect to Access database into my localhost. Actually when I do something like this: [CODE]conn.Open "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & server.MapPath("/cms/db/cms.mdb")[/CODE] I return this error: … | |
Hello everyone. I am to program a simple shell in C for my project. So far my shell can execute simple commands and now I want to implement enviroment variables. I looked up on how to use the getenv, setenv, putenv. So far so good i've tried to use the … | |
Hey Guys.. I am going to make a program that can ask for age, an then verify if the persons age is old enough.. The age limit has to be 18 years old, so the program asks for age, and then it will let person pass the age verification pass.. … | |
Need some guidance with this program. Never had experience with sentinels so I'm not sure where to start to calculate the multiple grade inputs. [B]Requirements:[/B] [LIST] [*]Sentinel needs to be used to indicate when there are no more students to process [*]Will read data about a student one at a … | |
Hi, I need to write very simple RTF parser to write and read basic rtf (bold,italic, underline, paragraph et al). I have searched for techniques I can implement but havent found good example. I would like to hear from you guys what approach whatsoever you consider to be best for … | |
Hello all, I'm developing a project and I faced a probelm of how to insert a new row to specific index choose from user Can anyone help to do that in VB.net Please? Thanks a lot | |
Hi, I am Shoaib. I have an project for my database course. I have chosen Dmoz directory listing(easiest project). I have to design the database first. [B]Please can someone tell me where I will start? [/B] I will appreciate any clue or hints. | |
need to check an SQL Server database (not asp.net membership) to see if an email is already in use before allowing the user to register. I have tried using the information in this website but it does not seem to work. Your help will be much appreciated | |
My problem: there should be a mult-column list-box type control. the control also has names of images. when the user hits a button, the data in each column is stored in a variable, and all of the images are uploaded to server. Help on execution? | |
Hello. I need help in completing my c++ assignment. Below are the question details: [COLOR="red"]Develop a simple Paper-Scissors-Rock program. Make it a single player game where the player plays with the computer. The party that accumulatively wins 3 times first will win the game. Option: Your program may include a … | |
I've been stuck on this for hours because I really don't understand file descriptors and how successfully print a file to one. Basically, I want to be able to open a file and then echo its contents a character at a time to a socket file descriptor. The code below … | |
I need help making a vector to shuffle the deck of cards randomly as well as picking a card from the top of the deck, then discard a card back into the deck. The program should then reshuffle after cards have been discarded back into the deck. [CODE]#include <iostream> using … | |
I need someone to put me through on how i can show GMT time on my php application. I have tried all possible time functions all to no avail. i don't want the time to have anything to do with my system time because i want the application to automatically … ![]() | |
hi.. i am confuse about the difference between web pages coded in asp.net and coded in html.. can we access html coded page in asp.net for database connectivity?? or i hav to make whole code of page in asp??? | |
Dear all , I want to learn ASP.Net , How i can learn that( I am new to this ) , If any links for learning send my mail [snipped]............... Regards R.Murugan | |
I really need someone to help me on the scenario below. I fetch all the rows in a database table with the mysql_fetch_array() and it was successful. I placed a button on each row in order to click and take the user to another page. On click of the button, … | |
On my development board, I am trying to make 8 LEDs (0 - 7) blink one by one. Here, is my code. What do I need to change to get my desired output, Please help. [CODE]int main (void) { int a,b; DDRC = 0xFF; PORTC = 0xFF; num = PORTC; … | |
i want to do an e-shop page in microsoft visual web developer 2010 !!! I use a ASP.NET web application !!! i want to put some pictures inside the web developer and change the backgrounds !!! sorry for my bad english because i am from greece !!! | |
hello all, after tried so much now posting here. i have two programs sql.php and form.jsp. i want to do insert values into mssql database from user input form. sql.php is able to insert the values into database. i have connected database using ODBC.form.jsp is able to give user input … | |
Hi everybody. I have a simple problem. Need send the c++ output to excel(csv->xls or xls direct) in formated data. I can send the data to excel, but i can´t format that like this: |_ col 1__|___col 2___|___col n____| row 1......|....2row 1 row 2......|....2row 2 row 3......|... 2row n What … | |
[CODE]<%@page import="mantenimiento.MantenimientoClientes"%> <%@page import="persistencia.Empresas"%> <%@page import="java.util.Iterator"%> <%@page import="java.util.List"%> <%@page import="mantenimiento.MantenimientoEmpresas"%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> <script> function validateForm() { if(document.formulario.clienteid.value=="") { alert("clienteid no puede estar vacio"); document.frm.clienteid.focus(); return false; } if(document.formulario.password.value!=document.formulario.repitapassword.value) { alert("Password es diferente"); document.frm.password.focus(); return false; } if(document.formulario.nombre.value=="") { alert("nombre … | |
hi I'm trying to make a help menu which open a new form when it's clicked but I don't how to link them together , so anyone can tell me what function call I should use?? I've tried Application.Run but i get errors. | |
Inside a button link database with gridview . [CODE]protected void Button2_Click(object sender, EventArgs e) { string strSQLconnection = "Data Source=ABC-0D30299B90A;Initial Catalog=JAPIT;Integrated Security=True"; SqlConnection sqlConnection = new SqlConnection(strSQLconnection); SqlCommand sqlCommand = new SqlCommand("select * from Doe_detail", sqlConnection); sqlConnection.Open(); SqlDataReader reader = sqlCommand.ExecuteReader(); GridView1.DataSource = reader; GridView1.DataBind(); }[/CODE] For edit and update … | |
Hi everyone, i just want to ask you help and solicit you ideas in java because i'm a beginner in Java. I have a project that some what like POS (point of sale). But may problem is i have no idea how to to. The problem is, I made a … | |
![]() | Hello people, I have a 2 dimensional array of integers where 0 indicates a road and 1 indicates a wall: can you give me a general idea on how to draw a maze according ot my matrix on JFrame window that has JPanel as its contente pane ? Thank you … |
This is a frighteningly subtle bug I first learned about in C (Andrew Koenig's ``C Traps and Pitfalls''), but it's still with us in Java, and I assume C++ as well... The following method looks like it should always return the absolute value of n, but every once in a … | |
i know this is a stupid question but i just don't know :\ if i have 2 time variables [CODE] a = 00:00:12 and b = 00:00:05[/CODE] how would i add them together to make [CODE] c = 00:00:17 ?[/CODE] i get the data from the database in this format … | |
I am not familiar with PHP. I found a php form emailer from [url]http://www.freecontactform.com/email_form.php[/url] and edited the .php file to match my html by changing the name elements. I already fixed the syntax error with line 38 by removing the +$/" from: [CODE] $string_exp = "/^[A-Za-z .'-]+$/";[/CODE] I tried to … | |
Hey, I have 2 scripts, one processes an ajax request and sets a session in that script but I cant seem to get the session to work in another script... (echo the session out) on the same server just a different file? Can anyone help? Dan | |
Problem 1: Magic Squares: An n x n array, that is filled with integers 1, 2, 3, …,n2 is a magic square if the sum of the elements in each row, in each column, and in the two diagonals is the same value and each value in the array is … ![]() | |
Hello, this is my first post. I have this homework assignment, and it is completed and it works! my question is just if anyone has any suggestions to clean it up or make it more efficient? I have two seperate files GuessTheNumber.java which is: [CODE]// GuessTheNumber.java //Written by Sean Kelley … | |
Hi, I have implemented an event calendar script. Its working fine. But I want to display the calendars of 3 consecutive months on selecting the month and year from drop down menus on submit with the selected month and year in between the other two as in Easy PHP calendar. … ![]() | |
if i hav to input time of clock as formatted style(HH:MM:SEC) using cin how can i write its code???? a question from @robert lafore(sams publication) . hope to get a best answer soon :) | |
Hey Ive been given a JavaScript program (with embedded in a HTML) with several (from what Ive seen) free libraries. For example: excanvas.js jquery-1.6.4.min.js prototype.js colorpicker.js This JavaScript program (using those and other free libraries) to draw something like this: [img]http://img339.imageshack.us/img339/3997/dibujoajyu.jpg[/img] As you see the dots, beside having a X … | |
Dear Friends Can you help me to convert the following code from c into c++ and save the file as file.cpp. I would do that in order to use cout instead of fprint and for another reasons. [CODE]#include <stdio.h> #include <math.h> #define pi 3.141593 #define F(x) ((*f)(x)) #define sqr(x) ((x)*(x)) … | |
I want to write a function to accept a single string that represent a credit card number as parameter and validates it with the format 9999 9999 9999 where 9 is any digit and each quadruplet is separated with a single space. | |
hi there, im very new to programming and i have trouble coding a application that prompts the user for s series of first names and then display the number of names entered and then the name with the most characters in uppercase letters. the application output should look similar to … | |
I cannot figure out why i have this error.It may just be a missing semicolon but i can't find where. Here is my code:(error occurs in many lines, so i can't show where exactly is the problem) /* * To change this template, choose Tools | Templates * and open … | |
Hey guys :idea: This is my code [CODE]studNo = JOptionPane.showInputDialog(null, "Enter Student Number: "); studName = JOptionPane.showInputDialog(null, "Enter Student Name : "); prelim = Float.parseFloat(JOptionPane.showInputDialog("Enter Prelim grade : ")); midterm = Float.parseFloat(JOptionPane.showInputDialog("Enter Midterm grade : ")); finals = Float.parseFloat(JOptionPane.showInputDialog("Enter Final grade : ")); overallGrade = (prelim * .2) + (midterm … | |
hi today i found out that our site is hacaked by pakcyberpyrates.They somehow edited my index.php and placed thier content.When i searched the net, thier are many site hacked by them for example SNIP. At present i have updated the index.php. Friends i need ur help to solve this problem. … | |
hi i want to be able to generate drop down menu's based on the database information these are the table information : [CODE] +--------+------------------+------------+ | tid | tname | sport | +--------+------------------+------------+ | 10000 | Boston Celtics | Basketball | | 10001 | New Jersey Nets | Basketball | +--------+------------------+------------+ … | |
Hi, I am very much new to cocos2d.. I am developing an application in android using cocos2d.. In that, [code]public class BaseLayer extends CCLayer { ChildLayer cl = new ChildLayer(); this.addChild(cl); } public class ChildLayer extends CCLayer { public ChildLayer() { CCLayer.node(); } . . }[/code] In this, arrowed line … | |
Hello All, I am stuck in one issue. When I update a value in one tab of a JTabbedPane, the same value does not get updated in the other tab I tried using the StateChange event but still did not succeed. I need to refresh the second tab as soon … | |
Note: error is comming @ line: 59 This is the source code where i m getting nullpointer exception , I am unable to know where exactly this is not getting value. this code is working at another machine but not on my machine though i compiled it from machine on … |
The End.