199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ItecKid

Hello, I am having some trouble reading data from a .txt file. I know that the file contains strings separated by white space. The problem is, I don't know how many strings there are, so I would like to go through the file one string at a time, and then …

Member Avatar for ItecKid
0
151
Member Avatar for Jake12

Hi. I am a little new to mixing C and ASM and I was wondering how one could pass a value from one asm function to another ASM function that then pushes the same value to a C function. What I have is this: 01. ASM 01 loads ASM 2 …

Member Avatar for Salem
0
96
Member Avatar for chombe

Hi there I get the following error message while displaying a page DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'f'. I have a FormView control which is bound to an sqldatasource when it is loaded, it displays the above error msg here is the formview ItemTemplate code …

Member Avatar for chombe
0
1K
Member Avatar for tulsi_apr03

hi all, Can anybody help me, In my project, Im using Tomcat5 webserver and Oracle10g as backend.now I want to display one report .For that Im using CrystalReportsXi with JSP page , Report is generated correctly and displayed on to browser with out images.Images are those came with CrystalReport Tool. …

Member Avatar for tulsi_apr03
0
186
Member Avatar for strobon

can somebody give example python script that execute debian package when button is clicked. here is the example picture (i`ve created the glade files with Glade Interface Designer): Thanks for any attention.A little help would be usefull, since this program is to help those who tottally offline. [ATTACH]9031[/ATTACH]

Member Avatar for woooee
0
110
Member Avatar for Trekker182
0
59
Member Avatar for jeremy7780

Hello, here is my issue. I am having users load images into the application resouces to be used by the application to display them in a random matchup game. I cannot see how I would code to know how many images are in the folder, how to make 2 images …

Member Avatar for SCBWV
0
87
Member Avatar for rosenberg_a

These are my three files. The header file.... [CODE] #ifndef MONTH_H #define MONTH_H #include <string> #include <iostream> using namespace std; class Month; ostream &operator<<(ostream &, const Month &); istream &operator>>(istream &, Month &); class Month { private: string month; int monthNumber; public: Month(); Month(string); Month(string, int); void setName(string); void setMonthNumber(int); …

Member Avatar for rosenberg_a
0
115
Member Avatar for doods

wuz up guys, didnt know where to post this topic. Well here is my problem how can I change a varchar to number in crystal report the value has a "-" dash in it and I wanted to convert this to number so I can display the number to arabic. …

Member Avatar for Kusno
0
92
Member Avatar for deerowbear

Hi there, I am trying to write a C++ app using Dev-C++ 4.9.9.2. The app is supposed to read in a txt file and then use templates to read in the files and swap data that gets populated in a ptr array. The errors are: [Linker error] undefined reference to …

Member Avatar for deerowbear
0
74
Member Avatar for theimben

[code=html] <form action="search.php?q=VALUE" type="post" /> <input type="text" id="textbox" name="poster" size="25" /> <input type="submit" class="button" value="Go" /> </form> [/code] I have this form....What I want is for where it says VALUE to change in the forms action to be the same as what is in the textbox. I cant find anything …

Member Avatar for essential
0
193
Member Avatar for mruane

Hi, I am trying to create a simple roguelike-like, a game with graphics similar to roguelikes, with a few extra twists. I am trying to create a dungeon using a list, here is the code... [code=python] background = ['#', '#', '#', '#', '#', '#', '#', '#', '#' /n/ '#', '.', …

Member Avatar for mruane
0
70
Member Avatar for cppnewb

Hi. I am making a program, and I have a main section and a class that the main section tefers to in a .h file. The Ifstream part wont work, and i dont know why. Please help. MAIN: [CODE] #include <iostream> #include <cstdio> #include <cstdlib> #include <string> #include <fstream> using …

Member Avatar for cppnewb
0
197
Member Avatar for Himerz

Can any one help or give some good advice on where I need to go from a point in my code. I am building an asterisks tree and I managed to get that part done, but there are three thing I need to input to complete the assignment. 1. And …

Member Avatar for Himerz
0
302
Member Avatar for crackerjacker

The title basicly speaks for itself. i need some code to add a string value in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices and then to modify the value data. i have checked every where on google and this site, and anything i have found has not worked. Thanks in advance!

Member Avatar for Comatose
0
96
Member Avatar for KillerOfDN

Hey girls/guys of the dev community, Ok, I have a project I wish to begin work on but am not entirely sure how I should start. I need to change hundreds of values in script file, for this I am trying to make an interface, similar to the properties dialog …

Member Avatar for Ramy Mahrous
0
75
Member Avatar for RayvenHawk

I'm having trouble getting my sprite to go from the right side of my screen to the left and then swap images so it appears to be walking back to the right side and then repeat that process. Ive manage to only get the cats to walk to either direction …

Member Avatar for StuXYZ
0
114
Member Avatar for lameassthemity

I'm writing a class planner with a structured array declared in the header [code=c++] #include <string> using std::string; struct Classes { string ClassName; string ClassNumber; string DaysMet; int StartTime; int EndTime; string Teacher; int Students; }; [/code] this is the print function of the program [code=c++] int Print() { system("cls"); …

Member Avatar for shasha821110
0
91
Member Avatar for avillachandok

hi, Here is my code on the three sorts. I've place in the counter called icompare&imove for insertion sort; bcompare&bmove for bubble sort and scomare and smove for selection sort. I've also used time_t as a timer to calculate the time it takes to sort the three. can someone please …

Member Avatar for StuXYZ
0
118
Member Avatar for poddarpallavi22

Hi I am running an online examination system on intranet where a number of students appear for a test simultaneously. The paper contains only subjective questions and studens are provide a text area to fill in their answers. with each text area there is a "save answer" button which the …

Member Avatar for Luckychap
0
183
Member Avatar for yonghan

Hi all,i need help with validating php form..I got 3 php files.How do i show the error messages beside the text input..Here are the codes that i have made.Thanks.. output_fns.php [code] <?php function do_kepala($title){ ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title><?php echo $title ?></title> <meta http-equiv="Content-Type" …

Member Avatar for diafol
0
182
Member Avatar for Justmehere

What I would like to do is write an application that a user can interact with through IE for submitting mathematical notations. What is the best method of doing this ? Will a plugin work or maybe a browser add-on or an active x control ? I am not familiar …

Member Avatar for Justmehere
0
120
Member Avatar for scarypajamas

In my MFC c++ app, when I try to include afxwin.h into my project, it gives me these errors. Whats the problem with it? Did I misunderstand something? I'm using vc++ 2005 express if it makes a difference. [TEX]1>C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\mfc/afx.h(250) : warning C4793: …

0
122
Member Avatar for bharanidharanit

Hello sir, I need to create a ASP.NET Website. What are the basic steps in involving in that? I know to create forms, asp page? But i dont know the initial things.

Member Avatar for agrothe
0
310
Member Avatar for Clawsy

I'm building a website in asp.net and c# and I want to have ONE PAGE and to change content of a div -> section. So I used innerHTML for this and it works fine fot HTML pages (one page for each section), but I want to reuse aspx file (asp.net …

Member Avatar for agrothe
0
136
Member Avatar for mrnutty

how would you seperate a character in a string. For example : string ="2x^2+8" how would i seperate the string into '2' 'x' '^' '2' '8'. so I could find its derivative.

Member Avatar for Comatose
0
105
Member Avatar for Stefano Mtangoo

I have been working with bass.dll from [url]www.un4seen.com[/url] as audio library and I can say that it is great. But I have reached a place where I hitted the wall and it will take time for me to move. Can anyone suggest for me a dll library for playing audio …

Member Avatar for Ene Uran
0
534
Member Avatar for aegis042404

Hi, I'm new, so please bear with me. I'm working on a memory card game in wxpython, using gui bitmap buttons. I need to change the bitmap from the "face down" bitmap to another bitmap when the button is pressed. (and to wait for a second button to be pressed, …

Member Avatar for aegis042404
0
260
Member Avatar for vikasmailsu

Dear Experts, I am willing to port my window based appliaction in to Mobile based application. I am using few asm files based on x86 instruction set. I would like to use the same asm files in to Mobile based appliaction in Visual Studio 2005 environment. As far as I …

Member Avatar for Ancient Dragon
0
91
Member Avatar for jumbla

Hi guys, I am trying to echo some output based on a variable in my PHP. I can code an if statement to echo the output if the variable is not empty [inlinecode] if (!$variable=='')[/inlinecode] but my problem comes if the variable returns the value "N/A". If it returns N/A …

Member Avatar for jumbla
0
109
Member Avatar for arun_lisieux

PROBLEM : A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99. Find the largest palindrome made from the product of two 3-digit numbers. I came up with a solution for the above problem. I …

Member Avatar for arun_lisieux
0
92
Member Avatar for ahamed101

Hi All, I am trying to write a common function called call which will take in a void* and an int type. Based on the int type it will have access to different structures. The code doesn't compile in the first place. I am not sure this is correct or …

Member Avatar for ahamed101
0
110
Member Avatar for slimjimmer

I am trying to produce a program which produces a random array of numbers but I am running into a problem in that when the array becomes even a little large, say 10x10, I get the Bus Error or Segmentation Fault (I think I still get the error with even …

Member Avatar for Salem
0
227
Member Avatar for cicigirl04

Trying to create a 2 dimensional array for converting temperature and returning max. Having problems declaring max such as these 2 lines. max = max(inputFahr[0][0]); max2 = max2(inputCel[0][1]); [code]/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package project3; import …

Member Avatar for arseniew
0
493
Member Avatar for drjay1627

I'm doing a OS class. Trying to implement this pseudo code: * Forking is fun! ­ Simple tips First, fork the child process: pid_t ForkPID; ForkPID = fork(); Then write a quick switch statement! switch (ForkPID) { // ­-1, fork failure case ­-1: printf("Error: Failed to fork.\n"); break; // 0, …

Member Avatar for drjay1627
0
144
Member Avatar for gordo58

Hi, I'm looking for help with my description meta. I have set it for a maximum length of 150 characters which works fine, but does anybody know how I can set it so that it stops after the first white space after 150 characters ie so that only full words …

Member Avatar for uncle_smith
0
134
Member Avatar for revenge2

how do you manipulate text files.. [CODE=Python] import urllib2 dload = urllib2.Request('http://tvnz.co.nz/content/tv2_listings_data/portable_listings_skin') text_file = urllib2.urlopen(dload) text_file_read = text_file.read() print text_file_read f = open ('site.txt', 'w' f.write(text_file_read) f.close()[/CODE] This returns the page and saves it as text file, but how would i do the following things.. -delete lines of texts, for …

Member Avatar for Ene Uran
0
159
Member Avatar for Ratte

I've searched all over the place and I cannot seem to find a well working, reliable solution to this that is not platform specific. Here is what I have: Main menu of a class (while loop with 0 as exit). User selects choices. Choice calls class function to carry out …

Member Avatar for Comatose
0
1K
Member Avatar for lonely_girl

I need a statement to exit my program after goto statement but i dont know where to place this statement. The statement is: [CODE=c]printf ("Enter \".\" to exit or \"p\" to proceed"); scanf("%c",&ch); if (ch=='.') getch(); if (ch=='p') goto repeat;[/CODE] also tell me if its rite or not? [CODE=c]#include<stdio.h> #include<conio.h> …

Member Avatar for lonely_girl
0
136
Member Avatar for dodo123456

Hi, I have one Code in my URL: as: localhost/project1/index.cfm?catID=1&siteName=http://www.sqlserver.com I want to extract only: [url]http://www.sqlserver.com[/url] how can i do that, i try using the listfunctions but no help.

Member Avatar for jedimatt
0
161
Member Avatar for u8sand

Hello all. Im back with another question : / You see.. At my house. We connect to our home network, in order to do so i must put in a HUGE Wep Password and bla bla bla. It takes for ever. And whenever lets say i get a new computer …

Member Avatar for u8sand
0
118
Member Avatar for akai80

Hi im developing a PHP website based on PHPRunner 5.0 and i feel that it has basically all the features that im looking for. However i do want to have a private messaging system for users to send messages to other users. anyone knows which software have this component and …

Member Avatar for diafol
0
102
Member Avatar for cwarn23

Hi, I have been working on a simple command line program that will simply store my data in the code variable then submit that data to another program. Although I have the thory right, I don't understand why the middle double quote ( " ) seems to escape the quotes …

Member Avatar for cwarn23
0
209
Member Avatar for DJMASSIAH017

Hello Everyone! I have a homework assignment due and I am having a problem with an compiling it to get an output. This is my first and only Java class. Can someone please tell me what I am doing wrong? Thanks in advance. [CODE]/* Programmer:Steve A. Massiah Date:01/29/09 Course:PRG/420 File: …

Member Avatar for javaAddict
0
3K
Member Avatar for pbwebdev

Hello, I'm writing a program that calculates payroll. I'm using an int array for the employee ID and a for loop for the hours and payrate. I have the code working with one exception. I must write a method for input validation that: Does not accept negative values for hours …

Member Avatar for javaAddict
0
121
Member Avatar for Rameses

I've created database in Mysql and would like to access db tables from localhost jsp. This is what I've created for far: [code=JSP]<%@ page import="java.sql.*" %> <%@ page import="java.io.*" %> <HTML> <HEAD> <TITLE>insert data using JSP </TITLE> </HEAD> <BODY bgcolor="#ffffcc"> <font size="+3" color="green"><br>Welcome to my world !</font> <FORM action="statement.jsp" method="get"> …

Member Avatar for javaAddict
0
152
Member Avatar for CPPRULZ

Say I have a class (say number) and declare a private variable (say int num) and have a public member function(say int getnum() ) that retrieves the private variable. When I in the main() without initializing the private variable int num (of course after declaring the class variable say test) …

Member Avatar for VernonDozier
0
112
Member Avatar for Corus

Using a long double, it seems to cut out a decimal when it increases another digit. The first scan won't work properly, as it only shows 3 decimals, but should have 4, which doesn't concern me, but i'd like it to always have three. Price: 5.99 Scanned Price (Over and …

Member Avatar for Corus
0
106
Member Avatar for azwraith69

hello.. thx in advance just want to ask something.. is there any portable functions that is equivalent to system("cls")? a function that clears the screen? since system() is not portable.. thx...

Member Avatar for Ancient Dragon
0
477
Member Avatar for Bhawana Pant

program to count the number of characters in any string excluding the blank space.

Member Avatar for John A
0
127

The End.