199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for HecB

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 …

Member Avatar for vmanes
0
107
Member Avatar for Hemant-kumar

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 …

Member Avatar for zarros
0
179
Member Avatar for ferret_90

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 …

Member Avatar for ferret_90
0
78
Member Avatar for asymmetric

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 …

Member Avatar for asymmetric
0
62
Member Avatar for n00b0101

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, …

Member Avatar for essential
0
216
Member Avatar for fsemilla

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:

Member Avatar for fsemilla
0
117
Member Avatar for daviddoria

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 …

Member Avatar for daviddoria
0
105
Member Avatar for Ninabox

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 …

Member Avatar for Ninabox
0
122
Member Avatar for Scottmandoo

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; …

Member Avatar for essential
0
129
Member Avatar for mairtin.obrian

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 …

Member Avatar for learnerbm
0
101
Member Avatar for sancti

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. …

Member Avatar for LizR
0
299
Member Avatar for vvtc

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!

Member Avatar for grumpier
0
145
Member Avatar for DangerDev

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 …

Member Avatar for DangerDev
0
196
Member Avatar for ocreds

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] …

Member Avatar for peter_budo
0
232
Member Avatar for nirajshah

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 …

Member Avatar for LizR
0
129
Member Avatar for shijunair

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 …

Member Avatar for shijunair
0
99
Member Avatar for fortiz147

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 …

Member Avatar for fortiz147
0
98
Member Avatar for DavidB

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 …

Member Avatar for langsor
0
133
Member Avatar for hanzi_ru

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

0
82
Member Avatar for Mylena

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 …

Member Avatar for langsor
0
210
Member Avatar for lmastex

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 …

Member Avatar for vmanes
0
116
Member Avatar for justted

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" …

Member Avatar for mgwalk
0
151
Member Avatar for Hannahlv

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 …

Member Avatar for Salem
0
193
Member Avatar for vidit_X

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; } …

Member Avatar for ArkM
0
143
Member Avatar for monogana

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 …

Member Avatar for Ancient Dragon
0
162
Member Avatar for prasannapower

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......??????????

Member Avatar for prasannapower
0
128
Member Avatar for jithusdani

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.

Member Avatar for vuyiswamb
0
98
Member Avatar for vijaysoft1

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]; …

Member Avatar for mahlerfive
0
87
Member Avatar for hanzi_ru

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

Member Avatar for hanzi_ru
0
103
Member Avatar for alecho

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. …

Member Avatar for Ancient Dragon
0
120
Member Avatar for jianxu

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 …

Member Avatar for VernonDozier
0
499
Member Avatar for Diode

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 …

Member Avatar for digital-ether
0
188
Member Avatar for Shaftage

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 …

Member Avatar for Ancient Dragon
0
146
Member Avatar for anuj_sharma

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

Member Avatar for dickersonka
0
127
Member Avatar for vijaysoft1
Member Avatar for bdcd

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. …

Member Avatar for bdcd
0
131
Member Avatar for dr_hamburger

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, …

Member Avatar for woooee
0
503
Member Avatar for anjoz

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 …

Member Avatar for vmanes
0
337
Member Avatar for mycsmi

Validating form field with table fields in MYSQL through PHP .... how do i do that!

Member Avatar for litchi
0
107
Member Avatar for jks1234

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 …

Member Avatar for entei
0
191
Member Avatar for daviddoria

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

Member Avatar for daviddoria
0
155
Member Avatar for Ajantis

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 …

Member Avatar for Ajantis
0
103
Member Avatar for tmrhymer

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 …

Member Avatar for ithelp
0
223
Member Avatar for letlet_pogs

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 …

Member Avatar for peter_budo
0
121
Member Avatar for oconndav

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 …

Member Avatar for oconndav
0
108
Member Avatar for kneiel

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 ?

Member Avatar for grumpier
0
448
Member Avatar for kneiel

why is the size of an empty class 1 byte ? does the compiler add some null byte ?

Member Avatar for mitrmkar
0
75
Member Avatar for Duki

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 …

Member Avatar for LizR
0
272
Member Avatar for micheal_lobster

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++ …

Member Avatar for Salem
0
308
Member Avatar for TheBeast32

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 = …

Member Avatar for vmanes
0
99

The End.