199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gouki2005

So I want to make a calcullator rpn with arralist so Read the comments in the code thas I want to do......Or can you give some advice for the rpn calculator..really I need some help.. [code=csharp] using System; using System.Collections.Generic; using System.Text; using System.Collections; namespace ConsoleApplication9 { class Program { …

Member Avatar for Ken Sharpe
0
99
Member Avatar for LarZ

I want to develop a widget that'll allow people to see who of their PS3 friends are online and what they're playing, just like you can see through the Playstation 3 friends menu. How would i get this info? Is it important enough for Sony to make it difficult to …

Member Avatar for MattEvans
0
151
Member Avatar for scratchnloved

i have a few questions: 1. is there a way to change the window attributes on a console application? 2. is there a way to send commands to other windows/applets, like changing their attributes or closing them? 3. is there any way to cut console input to 1 keystroke, like …

Member Avatar for scratchnloved
0
120
Member Avatar for k2k

The code "named mywhich" below does basically the same thing as the "which" command in sh does. however, if i do >mywhich wrongcmd wrongcmd2 wrongcmd3 it will only returns wrongcmd3 not found ...... how do i make it like: wrongcmd not found wrongcmd2 not found wrongcmd3 not found ??? I …

Member Avatar for omrsafetyo
0
141
Member Avatar for LevelSix

The task: Write a program that asks the user for a file and counts the number of characters, words, and lines in that file. Then the program asks for the name of the next file. When the user enters a file that doesn't exists, the program prints the total count …

Member Avatar for LevelSix
0
480
Member Avatar for MDGM

Hi all =] I have a php script which gets the file name of every .jpg file in a folder and then writes the <img>, and a form. The script uses a string called "galleryarray" to store the filename, which is then called into a hidden field so when the …

Member Avatar for MDGM
0
154
Member Avatar for pradhan.nc

Please refere the following program #include<iostream.h> #include<conio.h> using namespace std; int main() { [B]int a[10]={1,2,3,4,5,6,7,8,9,10}; cin>>a[-1]; cin>>a[15];[/B] cout<<a[-1]<<" " <<a[15]; getch(); } To my surprise this code works perfectly ok. I thought it will give me some compiler error or runtime error as I am [B]writing in the array index …

Member Avatar for Salem
0
160
Member Avatar for jovirey

Hi Hope you guys could help me with this. We were given this assignment that implements the "Hello World" CS but I'm having problem with my compiler. Obviously the given program exercise was written in old C running in linux operating system. That's why once compiled using Windows it does't …

Member Avatar for Salem
0
152
Member Avatar for Baradaran

Hi, I have a form with two tabs. On each tab, I have 5 different fields. Is it possible to design the elements in a frame and assign them to a tabstrip, or do I have to load and place them in the new loaded tab? I would appreciate your …

Member Avatar for Baradaran
0
216
Member Avatar for sunderam

Hi, I need to meaure contrast for an image. Does anyone has any code snippet/documentation that i could use. I have tried looking around alot but couldnt find anything substantial thanks Sunderam

Member Avatar for Salem
0
108
Member Avatar for Vallnerik25

Hi everyone this is my first post on these forums and I hope that someone can clear up a simple question for me...Right now I am reading Ivor Horton's Beginning Visual c++ 2008 and in chapter four he gives an example program for finding prime numbers using pointers and a …

Member Avatar for Vallnerik25
0
505
Member Avatar for ishlux

Hi all, i have used this include function , but i am not getting proper output, the included files are one below the other i want it to be side by side, this is code i have written whats wrong with this code,? <html> <head> <style type="text/css"> table.one { table-layout: …

Member Avatar for GGAB
0
332
Member Avatar for adamj2

Hi there, What I am trying to do is implement my own sequence number program. I have a sequence number i.e 0001 and then I try to convert this to a binary string in byte format of 4 bytes: 00 01 00 00 And then I am appending this in …

Member Avatar for adamj2
0
450
Member Avatar for ansari.wajid

Hi All I am working since 2 days to display images in a datalist and the code used is given below, but its not displaying the images. I am storing path of the image in database in imagepath cooumn. Kindly help me please. html code <asp:DataList ID="dlImage" runat="server" RepeatColumns="3" Width="311px" …

Member Avatar for ansari.wajid
0
107
Member Avatar for casper_wang

Hello all, my first post on these boards. I have spent the last few hours reading this section of the boards and I have noticed many new to programming people ask the same question: What language should I use, where should I start, what should I learn, etc etc. All …

Member Avatar for casper_wang
0
124
Member Avatar for sciwizeh

is there a method in the mouse listeners or any other event handlers that utilizes the tilt wheel, either tilt or scroll, i can't find anything edit: found scrolling no tilt yet

Member Avatar for sciwizeh
0
99
Member Avatar for tuse

Hi! I am trying to develop an online examination system (my first asp.net project) in which multiple choice questions need to be answered within a time frame. One question appears after another on clicking a button. How can I use a timer control for this? When the timer expires, all …

Member Avatar for tuse
0
184
Member Avatar for TofiLuk

What's wrong with my code? Can somebody help? Thanks! [CODE]import java.io.*; public class Array { public static void main (String[]args) throws IOException { BufferedReader myinput=new BufferedReader(new InputStreamReader(System.in)); int Arr1[]=new int[5]; int Arr2[]=new int[5]; int SumArr1=0; int SumArr2=0; int x=0; int y=0; for (x=0;x<Arr1.length;x++) { System.out.print("Enter Array1: "); Arr1[x]=Integer.parseInt(myinput.readLine()); SumArr1=Arr1[x]+SumArr1; } …

Member Avatar for ~s.o.s~
0
143
Member Avatar for Nemoticchigga

I am trying to open 2 forms when I start my vs2005 project. The main form, and a second form whose class is created, and then ->show. It shows both forms, but you can control either one. What I want is the main form to be "locked" until the "OK" …

Member Avatar for Nemoticchigga
0
307
Member Avatar for driplet

Can any body tell me how to change a Cancel button to Ok button after a process finished? (maybe just change the caption of the button? I guess) Thank you in advance!

Member Avatar for mitrmkar
0
94
Member Avatar for hughv

I'v e been using a script for pop-ups for several years, and it works fine in FF. I noticed the other day that in IE7 it's cutting off the right side of the image. I don't see anything obvious, but I don't know much about Java, so I'm hoping someone …

Member Avatar for ~s.o.s~
0
95
Member Avatar for jainendra.shah

hi frd, I have draw a line between two table's item at a button click event.Line appear on the panel . Problem is when I try to draw line between two differnt table's item again then first created line disappear. How i can hold the old draw line on panel.with …

Member Avatar for dangkytructuyen
0
107
Member Avatar for mengqing

if i have a string e.g. string = "Hello\nWorld" and do list = string.split() '\n' would be ignored how can I preserve '\n' when splitting strings..? Thanks

Member Avatar for bvdet
0
107
Member Avatar for &rea

Hello, I have got a problem with an initialization. [code] #define TAB 1000 int table_collision [][TAB]; void function() { for(int i=0;i<2;i++) { for(int j=0;j<TAB;j++) { table_collision[i][j] = 0; } } } [/code] When I look each value I see that the initialization doesn't work. For example table_collision[0][0]=20125560 table_collision[0][1]=20133568 table_collision[1][103]=1429512 there …

Member Avatar for jencas
0
80
Member Avatar for memnac

Hello All, I have two multi-select listboxes, 'listFrom' and 'listTo'. I want to be able to copy mulitple selections from 'listfrom' to 'listTo' and delete those selections from 'listfrom'. To copy over multiple items is no problem but when i introduce the 'removeitem' line to delete the selection, it deletes …

Member Avatar for memnac
0
357
Member Avatar for sugantha

Hello...I wanted to install kdevelop on my fedora 8 PC ....so I did "yum install kdevelop".It installed fine. When I tried compiling a program it complained of missing g++ and gcc so I did "yum install gcc-c++" and made the PATH variable point to gcc34. Now when I try to …

Member Avatar for sugantha
0
253
Member Avatar for FreezeBlink

Sorry to have to post two consecutive questions for other people to help me with, but I'm having a problem with winsound that I simply can't figure out. I've checked all the documentation I could, but there's no answer. The problem is with SND_PURGE. [quote=Python Library Reference]SND_PURGE Stop playing all …

Member Avatar for Ene Uran
0
524
Member Avatar for ninjaneer

Calling any multi-thread wizards. Here is a copy of the relevant parts of my main function... [code] CWinApp theApp; [COLOR="Red"]//the application's handle? not sure...[/COLOR] using namespace std; UINT callProcessThread(LPVOID minutesSpent); //worker thread function, process output UINT initializeProgram(LPVOID flag); //worker thread function, load MCR void inputCalculateOutput(void); // function that sorts data …

Member Avatar for ninjaneer
0
464
Member Avatar for mcgarry101

Hi, I am wondering if anyone can help me with a small problem I am having. I am populating a gridview from an oracle DB. I only want some of these columns to be editable so I am using the code below to try and acheive this. As you can …

Member Avatar for mcgarry101
0
149
Member Avatar for shamil_gawas
Member Avatar for QuantNeeds

I have a problem. I need to pass a non-static data member in one class (class Disks, data member disks) to another class (ToH) to its static bool function, so I can test that value. Here is my error: : error C2597: illegal reference to non-static member 'Disks::disks' My code: …

Member Avatar for mitrmkar
0
145
Member Avatar for programmer321

[code] Hello, Please guide me to write how to write a C code for converting Unicodes (like 0905 for अ). the output i.e. अ should be written to a text file. Regards. [/code]

Member Avatar for programmer321
0
242
Member Avatar for Chris9999

[code=python]Y=1 N=0 cont=Y print "Welcome to SCLMIP(Simple Calculator For Linux Made In Python)" while cont == Y: equation=input("Equation: ") print equation cont=input("Continue? (Y,N)") else: print "Exiting..." [/code] If you type 5/2 you get 2, I want it to display 2.5. A workaround is typing 5.0/2.0, but it gets annoying. I …

Member Avatar for Ene Uran
0
84
Member Avatar for anuizath2007

can u pls tell me whr i have gone rong------i have got 2errorz... #include<iostream.h> #include<conio.h> void main() { cout<<"\n\n\n\tPATTERN\n\\n\n\t" ; for(int i=1; i<=9; i++); {for (int j=1;j<=i; j++); cout<<i; } getch(); }

Member Avatar for Nick Evan
0
130
Member Avatar for Graham_Saint

Greetings, I am writing a Delphi application that uses Absolute Database. When the user presses a button the application fills in some values in a second form and then displays the form. Last night I added a DBGrid to the second form to display a small Absolute Database table. Hitting …

Member Avatar for Graham_Saint
0
301
Member Avatar for phpmine

Hello you PHP Community! I am looking to make an automatic meta keyword generator based on an array of phrases. It is more my site that is under construction, [url=http://www.phpmine.com]PHPMine[/url]. Go to the "Q and A" section and you'll see a series of questions there, five in total. right now …

Member Avatar for digital-ether
0
216
Member Avatar for lich

Here is my code import java.io.*; class Add { public static void main (String args[] ) throws IOException; { BufferedReader br=new BufferedReader( new InputStreamReader (System.in)); System.out.println("Enter the value of X:"); int x=Integer.parseInt(br.readLine()); System.out.println("Enter the Value of Y:"); int y=Integer.parseInt(br.readLine()); int z=x+y; System.out.println("\n\nValue of X + Y = " +z); } …

Member Avatar for satyapp
0
97
Member Avatar for pranav_jog

An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur. how to resolve this??

Member Avatar for bala24
0
87
Member Avatar for Rondar

Hi, I'm generating random number values between 1 and 100 in 6 different listboxes in a 100ms timer. I want to save the items in the list boxes whenever i press a button to 6 different text files however i couldn't figure how to reach the items of a listbox …

Member Avatar for mitrmkar
0
268
Member Avatar for Synthuir

For example, in a simple console application: Would it be possible to have a user enter text, the code then interpets it's value in Unicode (I guess 8 would be the simplest), then takes the Unicode value and outputs (or stores in another variable) the result? I guess this would …

Member Avatar for Ancient Dragon
0
120
Member Avatar for iqbal

This is my assignment and write following code for this, its compile but not run. Please check and guide me to solve this problem. I used jdk1.4 for this. > Question: > You are required to develop a GUI based “Age Calculator” using applets > > > It should take …

Member Avatar for Acidburn
0
145
Member Avatar for ibrahimssani

Problem : i have three forms on three different files, personal_details, property_details and payment. After clicking the submit button on the personal details form the property details form opens as expected but upon clicking the submit form button on the property details form the payment form does not open. If …

Member Avatar for ibrahimssani
0
173
Member Avatar for integer*09

Hi all, I need some help on creating a file with name from user input like from textbox. i have the following code with the filename in textBox2->Text but i dont know how i can get it done. [CODE]string::size_type j = line.find_first_of( " \t", iter ); string found; found = …

Member Avatar for integer*09
0
166
Member Avatar for briglia23

Hi. i'm new user of jsp and i have this problem. I post my code [code] <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@ page import="it.yacme.mystiquexml.mapping.Modello"%> <%@ page import="it.yacme.mystiquexml.mapping.*" %> <%@ page import="it.yacme.mystiquexml.business.YacmeRemote"%> <%@ page import="it.yacme.mystiquexml.presentation.YacmeLocator"%> <%@ page import="java.util.Iterator"%> <%@ page import="java.util.List"%> <%@ …

Member Avatar for ~s.o.s~
0
100
Member Avatar for klay.martens

Hi all, Could not work out if this belonged in the c++ forum, or the python forum.... Basically, I am writing an application in c++ which embeds python. The annoying thing is that I have no way of knowing in advance what version of python will be installed on a …

Member Avatar for klay.martens
0
169
Member Avatar for sushilchandu
Member Avatar for sreein1986
0
127
Member Avatar for queenc

hi i am very new to ajax,please tell me how to check whether username already present in the db.i want the user name to be unique please tell me the code to check. thanks.

Member Avatar for amudhan.rkr
0
130
Member Avatar for simplecreator

Me and my cousin are making a python text-editor. and im having trouble getting our program to work with py2exe and im not sure what the problem is. I set everything up like the py2exe website tell you to and it all went together perfectly fine. but when i try …

Member Avatar for AceofSpades19
0
274
Member Avatar for SteveDB

Hi all. I have found some tutorials online, I believe they were from some university classes, and one from a guy named Juan Soulie. I seem to have solved the bulk of my issues, yet have one last one-- that I can identify. For some reason that I still don't …

Member Avatar for SteveDB
0
254
Member Avatar for k2k

hi, does anyone know how to check if certain character is contained in the argument? for example: > foo /home/myname how should I check if the argument contains a "/" character? thanks

Member Avatar for k2k
0
150

The End.