199,114 Archived Topics
Remove Filter ![]() | |
just one problem my program is about high school dance cost report its project 07 1 of 2 projects left in the class and im almost done with im only having one problem i been trying to fix this problem for a few hours with function, and anything that could … | |
Hi How r you all. I want to know how to make the aspx page at the runtime. Currently my requirement is that User enter the Title of the page, description of the page and name of the page via a text box and in return he will get a … ![]() | |
I want to be able to activate an easter egg in this program, but passing and reading these arguments is making me pull my hair out. Any ideas? [CODE]#include <cstdlib> #include <iostream> using namespace std; //(cc) 2008 Nathan Barndt //Attribution-Share Alike 3.0 United States License void easteregg() { //easteregg code … | |
hi! i'm starting to program in asm (i have a school project). i'm programming in intel asm for an 8088 simulator (the one in tanenbaum's "structured computer organization" book) i have a question: is it a mistake to write subroutines that use variables to store (intermediate and return) values? shouldn't … | |
I'm trying to determine which button was pressed when I'm unsure of how many buttons there actually are... The smarty template that I'm using creates the input buttons based on a query that happens in the associated php script. I don't know how many input fields will actually be generated, … | |
good day! can anyone teach me how to access images and display these images using c++?because i have a project regarding accessing and viewing images in mobile phones...kindly help me...:sad: | |
I would like to have a global way to do something like this [code] #ifdef GRAPHICS //do some stuff that relies on graphics libraries that may or may not be installed #endif [/code] The problem with defines is that they have to be defined in every file, or at least … | |
I need to run simple tests on a Linux cluster fro parallel programing. I have used only C++ before, but this Compositional C++ is not that good idea as I thought at first. I have read that there is also MPI libraries and High performance Fortran, but I have no … | |
Well heres the code im using, can anyone either fix this code to make it work or suggest a better way of doing this, thanks. [CODE=javascript]function ValidateForm() { if (document.submitform.email.value=="") { alert("There is no email entered!"); return false; } if (document.submitform.email.value=="Enter your email...") { alert("Please enter an email!"); return false; … | |
Im using regular expressions to identify currency characters from a html string I cant identify the £ symbol from a number of sites including amazon So Im looking for the syntax to identify that symbol <oRegEx = New RegEx("£[0-9]") > is not working and what is the syntax to identify … | |
hi all, I am writing some text to rich text box using different fonts for different lines.But i cannot be able to copy the same font to the print prieview page.When i take out the print out, all lines will be of same font.How how can i solve this problem. … | |
Hi, What is the dynamic array equivalent to this? int *array[10] --- int *array array = new int[10] I want something like the above, but I can't seem to figure out the correct way to do it Any help would be appreciated! Thanks! | |
Hi, I want to create a DataBase Diagram using MS SQL Server Management Studio 2005. But on context menu of DataBase Diagrams Folder, I am not able to see New Database Diagram menu item for any of the Database. I am getting only two menu item "Working with Sql server … | |
I try add this code(below) after "else if(token.equals("*"))" in PostfixEvaluator.java but it doesn't work like exponent. Can you help me to figure it out what is the right code for exponent. [CODE=java] else if(token.equals("^")) { val1 = Integer.parseInt(stack.pop().toString()); val2 = Integer.parseInt(stack.pop().toString()); result = val2 ^ val1; stack.push(new Integer(result)); } [/CODE] … | |
I am newly join to this forum and I am new with C#. Currenlty i am developing an application in C# as, Each second the application receives data from a sensor wich is attached on RS485 port of the PC. To take data at each second i have used timer … | |
hello , I am facing a problem when i am trying to get the difference between two dates which is been taken from html page through datepicker. now i am selecting two different dates with different month.for example d1 dd/mm/yyyy = 12/09/2008 d2 dd/mm/yyyy = 2/10/2008 now i am getting … | |
i have passed multiple identical id values, and now i want to retrieve those corresponding id values in mysql. how do i retrieve them? the table that the ids were inserted is a join table named hrm1_employees with field names hrmemp1Id, empId, and hrm1Id. the field hrm1Id came from the … | |
I usually code all my Javascript in a single external file that accepts the data from a form in the main page's HTML textarea box. Now I would like to break up this single Javascript file into separate files. For example, I'd like to have main.js as the main controlling … ![]() | |
my data report does not provide the data that i need. instead it provides some integers. can someone please help. ive attached my programme herewith | |
Hello everyone, I need to create several xmlHttp objects, but I only want to have one GetXmlHttpObject() function, so that I don't have to repeat for each object. Below code is definitely wrong because... how do I return the needed object from the GetXmlHttpObject() function? Really appreciate, M [code] var … ![]() | |
Hey guys. I'm just trying out something with the fstream library. In the next code, I'm trying to read from the beginning of the array (num1) and from the end of the array (num2) the file I have as an "entry" called "entrada.txt", which has the numbers 1 up to … | |
Hello everyone, Ive been having trouble trying to incorporate the code for an image Map into a PHP global.inc.php document of my community. The image map code is: [code]<img name="headerbanner0" src="headerbanner.gif" width="950" height="125" border="0" usemap="#headerbanner" alt="" /> <map name="headerbanner"> <area shape="rect" coords="224,93,385,125" alt="newsroom"> <area shape="rect" coords="585,90,793,2081874365" href="http://cyberpetcity.com/view_page.php?page=1363&game=1" alt="cybertown"> <area shape="rect" … | |
Hi, everyone! I want to make the user authentication for mysql database. I write the code and test it, but can't run. Let's I talk about my project idea first. I have a server, a client and a mysql database. Before entering the server, the user must login first, After … | |
This is strstr() function made by me as given in the practice problem. [code=c++] char *cstrstr(char s[],char ss[]) { int l1,l2,i,j,k,flag=0; char *p=NULL; l1=strlen(s); l2=strlen(ss); for(i=0;i<l1;i++) { //cout<<"i:"<<i; p=&s[i]; if(ss[0]==s[i]) { for(k=i,j=0;j<l2;j++,k++) { //cout<<"j:"<<j<<"k:"<<k; if(ss[j]==s[k]) { flag=1; continue; } else { flag=0; break; } } } if(flag) return p; } … | |
assigning the address of a variable in c++ hi all, im very new to c++ and programming, googled this but couldnt find an answer if i want a instance of a variable, i can do this int a = 10; int & b (a); so now the address of both … | |
I m using LAN Connection,My system used as remot , When i going to run , my system become HANG!!! i m doing VB.Net Programs , using sql2000 backend What shoud i do ??? Can u help me......?????????? | |
hi folks.. In my application am storing some textbox values to a datatable inside a dataset.Now I want to save the multiple rows of datatable to my sqltable..ll anybody plz help me.. with thanks and regards. jithesh.P. | |
my program is [ICODE] class stack { protected: int tos; int store[10]; stack() { tos = 0; } public: void push(int x); int pop(); }; void stack::push(int x) { cout<<"put the values into stack"; store[tos++] = x; } int stack::pop() { cout<<" get the values from stack "; return store[--tos]; … | |
ive attached my programme herewith. the report doesn't function properly in the tab 2 i have put a command button which generates the report could you please help | |
Hi!, i'm writing from Argentina. I need your help! I'm doing a project for the university and i have to make a Restaurant management. Well that´s not the problem. I have to log into the software, so i need to read from a file that have the user and password. … | |
Hi, I am currently working on a homework assignment with the topic being a boggle game. We are creating the boggleboard class and one of the function that must be included is this: bool playWord (string word, string player) This method returns false if word does not appear in the … | |
For me the big problem is action='foo.php' Unless I am mistaken, any submit button would send the form to foo.php by POST, so I would need a second form to have an alternate action page. I made a table to show the user's contents in the shopping cart, with a … | |
This is the problem I need to solve. It comes directly out of a C++ Programming book: [QUOTE]A right triangle can have sides that are all integers. A set of three integer values for the sides of a right triangle is called a Pythagorean triple. These three sides must satisfy … | |
hey guys m tryin to make a log out page in my website but when the user clicks on the logout page the history does not get deleted. this means the user can still go back to the previous page. Please help | |
how to create a dynamic string array to store string items using new ... | |
So I'm using this script to upload a .htm file, the only problem is after I upload the file the extension is gone and doesn't display as a web page. If I go into the folder and rename the file to vsquarel.htm the file displays as a web page again. … | |
hello guys... i have a bit of a problem with my assignment im working on :( what the problem is there is a function which accepts a string, a keyword and an array of keywords to replace the keyword occurrences with for eg, def function(text, keyword, keyword_list): and for eg, … | |
Make a program so that the function main is merely a collection of function calls. Your program should use the following functions. a. Function openFiles: This function opens the input and out files, and sets the output of the floating point numbers to two decimal places in a fixed decimal … | |
Validating form field with table fields in MYSQL through PHP .... how do i do that! | |
Its an exact change program but the output is not right. I don't know whats wrong in it. Can somebody please help me with program. #include <iostream> using namespace std; int main () { int twenties, tens, fives, singles, quarters, dimes, nickles, pennies; double purchase, pay, rempay=0; cout<< "please enter … | |
I have been using GSL, but I find it very awkward to work with. Does anyone have a recommendation for another one to try? I can't seem to find any on google. Thanks, David | |
![]() | Hello there people! :D I am working with a lab, where we are supposed to finish a Memory Game. We are supposed to create a "Make Move" function, and that it behaves in a correct way. It is supposed to get the X,Y coordinates of where the user klicked, calculate … ![]() |
Hey all, I am looking for a very flexible document management system, and have come to the point of believing I am either going to have to settle for less functionality than i wanted or do alot of coding. Neither option is very appealing to me. This software is going … | |
hello,,can you help me with my problem??if it's okey for you,,, right now,,we are required to make a calculator using only string..ex: i can only use the imports: JOptionPane/BufferedReader Input Mathematical String: 2 + (3*2) Output Result: 8 how can i implement the codes??our told us that we should make … | |
Hi, hopefully this is an easy one for somone.. i've been pulling my hair out though.. I am creating an array of values which needs to be then passed to a function. Everything works when I create it like this: [CODE]$myarray = array('value1'=>2,'value1'=>1,'value1'=>2,'value1'=>1);[/CODE] However as i don't know how many … | |
what is the difference between a class declaration and a class definition ? Is it that a class which contains the prototypes of member functions is a class declaration? Is it that a class with member functions defined within the class , is a class definition ? | |
why is the size of an empty class 1 byte ? does the compiler add some null byte ? | |
Hey everyone, I want to restrict cursor movement outside of a picture box when the user clicks a button. Here's what my code looks like so far: [code=c#] private void btnX_Click(object sender, EventArgs e) { if (remote == false) { remote = true; Cursor.Position = pctRemote.PointToScreen(gridCenter); //centers the cursor on … | |
Hye there.. I just want some ideas to make my program better.. Below is the code. Any comment or recommendation are appreciated. :) [CODE]/* * Name: Isihan dan Carian [Sorting and Searching] * version: 4.0.1 * Copyright © * Support: http://tempek.net78.net * Updates: August 27, 2008 * Compiler : Dev-C++ … | |
Hi, I'm using Expat to parse XML, and I have an array of attributes for an element. I need to be able to loop through them all, and get their values, I don't know the array size, and it's a multidimensional array, so I couldn't do [Code=C++] int count = … |
The End.