199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for addicted

Hey, Please i need help with prime numbers... i have been cracking my brain for the problem since two days ago..... I used this test code but there is a problem with it [code] for( number=3; number<=1000; count++){//to test number 3 to 1000 if(number%2 != 0){//to skip even numbers for(int …

Member Avatar for thekashyap
0
91
Member Avatar for ajay_tabbu

dear friends i set path for jdk1.6.0 and that is working.now i have instole j2me but my j2me code is not working,on run import file cannot find by compailer .so plz tell me is there any need of seting path and if it is than how i can set that.

Member Avatar for rahulmenonr
0
114
Member Avatar for roubesh14

A big hi to every body am new to this forum and i need your help guys. Can any one tell me what is done during the design stage in the SOFTWARE DEVELOPMENT LIFE CYCLE ?? I know that i have to design user friendly G -user-interfaces. But what should …

Member Avatar for vinodgoyal83
0
95
Member Avatar for Prahaai

Hello. I am not new to Python in general, but i'm new to Tkinter. So, can anyone suggest me HOW can i make an interface like mIRC, with two text-boxes: - the lower text box will be one line and will be used to get the text commands. - the …

Member Avatar for leeqiang
0
88
Member Avatar for parul195

i am facing some problems with the following code. initially the jdbc driver(jdbc 4/3) ws not getting registered...nw somehw that problem has been rectified.bt nw i m unable to connect with the database(PostgreSQL). The code i have written is as follows import java.sql.DriverManager; import java.sql.Connection; import java.sql.SQLException; public class Example1 …

Member Avatar for masijade
0
114
Member Avatar for trihaitran

Hi I know this sounds really stupid, but I cannot figure out how to run the wxPython demo program. I'm using OS X and I downloaded the latest demo/docs package. When I double click on the "wxPytho demo.app", there is a splash screen with the wxPython logo, but then there …

Member Avatar for leeqiang
0
341
Member Avatar for Suriv
Member Avatar for Sailor_Jerry

I am in in the process of adding mediawiki to a sever that already has Apache and php installed.

Member Avatar for jbennet
0
92
Member Avatar for shy_wani

hi.. i want to ask if anyone knows how to do this.. i have a datagrid at my "home.aspx" with attribute 'Survey Title' and 'Description' i also have an edit button that will redirect user to "surveyeditor.aspx" in "surveyeditor.aspx", there are 2 textbox..which can be used to edit the 'Survey …

Member Avatar for ManicCW
0
135
Member Avatar for sez90

hey im in yr12 and trying to do an assignment anyway i want to b able to press a radio button and for saved words to load from a file its a hangman game im just unsure how to how to load the words from file when clicking the radio …

Member Avatar for radu84
0
147
Member Avatar for sez90

hey umm ok this is wat i've got now for loading words from a file but it still doesn't work can u help? type Words = record easywords: string [20]; mediumwords: string [20]; difficultwords: string [20]; end; var WordFile: file of words; procedure TLevelForm.EasyBtnClick(Sender: TObject); var Easywords: string; Wordfile: string; …

Member Avatar for radu84
0
79
Member Avatar for treble

I'm just getting started with classes and objects, and having a little trouble. I just filled out some of the basic parts of the program, because I figured I'd have trouble with the class/object implementation. I get the error "error C2228: left of '.determineSalary' must have class/struct/union type" in regards …

Member Avatar for treble
0
97
Member Avatar for NotThereAnymore

[code]import java.util.Scanner; import java.util.Random; public class Hangman { public static void main (String[] args) { char userAnswer; String[] dictionary = { "acorn", "actor", "album", "alien", "bagel", "basin", "beach", "brick", "cable", "chalk", "cloud", "crowd", "debug", "ditch", "drill", "drink", "eagle", "eight", "elbow", "extra", "fable", "feast", "fizzy", "flood", "giant", "glass", "gross", "grump", "happy", …

Member Avatar for NotThereAnymore
0
132
Member Avatar for JRM

Hello all , I was experimenting with athis program using vectors. The code below works, but is not my original intent. Instead of arbitrarily adding 4 numbers, I wnted the program to keep taking numbers and growing the vector dynamically as needed without pre-allocating the resources. i couldn't figure out …

Member Avatar for JRM
0
116
Member Avatar for sk8ndestroy14

Okay, so I just got Visual Basic, but I don't really know how to use it yet. I know just a few things here and there. I want to start out with just some basic things. I tried making the quadratic function, but I don't know how to assign a …

Member Avatar for jbennet
0
156
Member Avatar for maverick786

Could someone check my code as to why my print function is not working? Also my pop member function is getting an error in main. [code] template<class Type> void Novice<Type>::Print() { while(! IsEmpty()) { std::cout << topPtr->item; topPtr = topPtr ->next; } } template<class Type> void Novice<Type>::Pop(Type &y) { if(IsEmpty()) …

Member Avatar for John A
0
105
Member Avatar for Tales

I have this dialog box: [code] IDD_GRUPO_NOMBRAR DIALOGEX 447, 19, 226, 263 STYLE DS_SETFONT | DS_SETFOREGROUND | WS_POPUP | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP | WS_EX_CONTROLPARENT CAPTION "Nombrar grupos" FONT 8, "Tahoma", 400, 0, 0x0 BEGIN CTEXT "Por favor numere los grupos",IDC_STATIC,65,8,92,8 GROUPBOX "Los grupos iguales deben tener el mismo nombre",IDC_STATIC,16,24,189,212,BS_CENTER | …

Member Avatar for John A
0
208
Member Avatar for alba07

I wrote a program in java that takes a message entered in the shell and flashes the message, then click the quit button to quit. Now I am supposed to rewrite it in python. So far in TKinter I only have the actual quit button (gui). I have no idea …

Member Avatar for alba07
0
244
Member Avatar for doiko

please help. i am a student and my teacher needs it till 2nd of September. please help my pass the class convert from decimal in binary or in the base of 8 numerical system, (it can be used the same interelation with the suitable parameters. Also, for the storage of …

Member Avatar for iamthwee
0
123
Member Avatar for jan1024188

How to check in windows Vista if DirectX 10 is installed? Sorry for wrong topic, you can MOVE it if you want.

Member Avatar for jan1024188
0
274
Member Avatar for alba07

Can someone help me rewrite this java program in python. This program takes a message from the shell and flashes the message one word at a time. Now I am supposed to rewrite it in python (tkinter), I have the gui done and my quit button works, but I cannot …

Member Avatar for stymiee
0
96
Member Avatar for 2mdennis

I am fairly new to Java and am having some difficulty with implementing an arraylist. I have some classes that contain variables and i have a new class that contains my arraylist. I would like to know how i would get the variables from the other classes into the arraylist …

Member Avatar for 2mdennis
0
162
Member Avatar for Kees Baltus

How to get access to picture information, such as Width, Heigth, Manufacturer, Cameramodel, Exposuretime, Picture made on, Date created, Date changed and so on. (just like in Windows Explorer)

Member Avatar for Kees Baltus
0
290
Member Avatar for FoX_

Hi all; I've to use a dynamic array(2D) in my program in C. I've read some tutorials about this and I understood its mental.But still there exist a few points which I didn't understand. Here is a code: [code=c] int main(){ int **a, x; a = (int **)malloc(sizeof(int) * 10); …

Member Avatar for FoX_
0
130
Member Avatar for pbd22

Hi. I have just installed 2005 in my on my database server. Now, I have a web server and will need to access my database from my web server for simple stuff such as querying the database and checking tables, etc, etc. What should I be installing on the Web …

Member Avatar for jbennet
0
119
Member Avatar for ChimpusDupus

Hi, Is it possible to use the System.Drawing.Graphics methods without having to put code in the control's Paint event? If so, how? -James

Member Avatar for mkbmain
0
112
Member Avatar for SAMSEIED

Hi: I am designing this Dinner menu using Javascript, but when I up-load it, it only opens, the first pharase in green color that says dinner menu and it does not run which is suppose to show the menu for everyday's food.here is the codes, your help is apprecaited. <HTML><HEAD><TITLE>SAM'S …

Member Avatar for connor4312
0
141
Member Avatar for cbailey3001

How can I add a sleep(1000) to this code? I've tried but I can't get it to work. (This program is supposed to be an infinite loop) [code] [COLOR=#800080]public [/COLOR][COLOR=#800080]class[/COLOR][COLOR=#000000] ExtendedThread [/COLOR][COLOR=#800080]extends[/COLOR][COLOR=#000000] Thread {[/COLOR] [COLOR=#800080]public[/COLOR][COLOR=#000000] ExtendedThread(String name) [/COLOR][COLOR=#800080]throws[/COLOR][COLOR=#000000] InterruptedException {[/COLOR] [COLOR=#800080]super[/COLOR][COLOR=#000000](name);[/COLOR] [COLOR=#000000]}[/COLOR] [COLOR=#800080]public [/COLOR][COLOR=#800080]void[/COLOR][COLOR=#000000] run() { [/COLOR] [COLOR=#800080]for[/COLOR][COLOR=#000000] ([/COLOR][COLOR=#800080]int[/COLOR][COLOR=#000000] i …

Member Avatar for deng_cen
0
104
Member Avatar for RaCheer

Hello! I have written written my own class, which includes a header file and a .cpp file. I have also written the driver for this program. Everything looks fine to me, but I am receiving about 20 random errors. I will post my code for all 3 files but I …

Member Avatar for iamthwee
0
173
Member Avatar for dmkrivec

I have to write code that outputs the number of upper, lowercase digits and punctuation in a string but am having trouble with the asciival command.this is what I have so far but I recieve an error message about the use of my asciival command.an InputBox input; input= [B][COLOR=#7f0055]new[/B][/COLOR] InputBox(); …

Member Avatar for ~s.o.s~
0
138
Member Avatar for cute_soha

Hello frens This is Soha. Recently i heard about a language named Ruby. Now u ppl might be quite familiar with it. But i am a newbie.... So can i get some information about Ruby and/or Rails. bu-byee

Member Avatar for IndianGuru
0
135
Member Avatar for R6er

Hi, I have a parallel array of size 10 with several different size numbers in them. Within my program I put a series of cout statments for the different array indexes so that was known, and here they are: [code]cout << classes[0] << " " << boxes[0] << endl; . …

Member Avatar for R6er
0
259
Member Avatar for Yoshidex

Hello there, I think I have a weird problem with a program I'm writing, specifically, a function to create a file. I made the following program just to test the important part of the problem, which is that it won't create the file. Here's the code. [code] #include <fstream.h> #include …

Member Avatar for Yoshidex
0
101
Member Avatar for nottoshabi

I'm getting this error from this code. I never seen this before. [code=c] #include <cstdlib> #include <string> #include <iostream> #include "../incl/rect.h" #include "../incl/position.h" using namespace std; // function prototypes void displayRectangleAttributes( const RectangleShape &r ); void displayRectangleAttributes( const RectangleShape &s ); string convert( const color &c ); // int main() …

Member Avatar for Ancient Dragon
0
162
Member Avatar for raj157

well the problem is i want to write the person's name from preson class to instructor class using inhertiance, i have come up with the following code but gives error .. can someone tell me what am i missing or what can be done. its like sharing from person class …

Member Avatar for raj157
0
121
Member Avatar for Hellodear

[COLOR=gray][B]hello guys,[/B][/COLOR] [COLOR=gray]I am a newb in VB.net. Can anybody suggest the website providing basics and tutorials of this language. I have had a look at the net. But didn't find any loop. Hope somebody would respond.[/COLOR] [COLOR=gray]regards,[/COLOR] [COLOR=gray][B]indian[/B][/COLOR]

Member Avatar for jbennet
0
140
Member Avatar for revenge2

Hello there, I have started learning c++ and the book im reading shows different ways of writing the "hello world" programme, i just want to know how and why these are different. [CODE] #include <iostream.h> int main (); int main () { cout <<"hello world!!"; return 0; } [/CODE] in …

Member Avatar for jbennet
0
165
Member Avatar for kpack08
Member Avatar for Salem
0
209
Member Avatar for Lisi

I have home work due soon and have written most of the code there are only two parts i am having trouble with: 1.Can anyone tell me how to read the even values of an array, add them and then add the amount of even numbers there were in the …

Member Avatar for Lisi
0
68
Member Avatar for fonzali

hi , below is my program which is supposed to accept 3 different numbers , add them up and print the result but what it does is that it takes the first number and mutiplies that by 3 , where have I gone wrong ? [code=python] from Tkinter import * …

Member Avatar for fonzali
0
869
Member Avatar for blackdove

This is my first attempt at creating a website using PHP. My database is done in MySQL. It is for a made up university. I am having trouble creating the page that should allow current students enrolled at the university to search for courses and add them to their schedule. …

Member Avatar for blackdove
0
119
Member Avatar for katzumi_r

hi, im new in programming and C++ and i have a homework and i need a little help on how to do it will u please just tell give me some suggestions on what i should do and ill try to do it myself This is what i have to …

Member Avatar for vijayan121
0
157
Member Avatar for winbatch

Is there a way using file handling functions to search within a text file to find the position of certain text WITHOUT having to read each character/line and evaluating it? For example, let's say I have a file of 'messages', where a message has a distinct start and end characters. …

Member Avatar for vijayan121
0
365
Member Avatar for civil1

hi. can you please tell me how to count digit which has genatreted by random number program? i.e= each time occurance of every digit means1,2,3,4........in a genareted random number? if you want to saw my effrot in this stuff,i can saw you it. thanks in advance to any one who …

Member Avatar for Lerner
0
82
Member Avatar for yaya_star

can someone tell me how can i fix the error in : [COLOR=#0000ff]Imports[/COLOR][COLOR=#000000] System.Web[/COLOR] [COLOR=#0000ff]Public[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]Class[/COLOR][COLOR=#000000] Form1[/COLOR] [COLOR=#0000ff]Private[/COLOR] [COLOR=#0000ff]Sub[/COLOR] Button1_Click([COLOR=#0000ff]ByVal[/COLOR] sender [COLOR=#0000ff]As[/COLOR] System.Object, [COLOR=#0000ff]ByVal[/COLOR] e [COLOR=#0000ff]As[/COLOR] System.EventArgs) [COLOR=#0000ff]Handles[/COLOR] Button1.Click smtpMail.Send([COLOR=#800000]"someone@microsoft.com"[/COLOR], [COLOR=#800000]"jesse@contoso.com"[/COLOR], [COLOR=#800000]"Subject line"[/COLOR], [COLOR=#800000]"Message text."[/COLOR]) [COLOR=#0000ff]End[/COLOR] [COLOR=#0000ff]Sub End[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]Class[/COLOR] [COLOR=#0000ff][/COLOR] [COLOR=#0000ff]the error in smtpMail [/COLOR]

Member Avatar for yaya_star
0
98
Member Avatar for amithasija

can we use collection_select with :selected option if yes ,plz let me know.if not than plz tell me how to use select instead of collection_select and where to write query in select if i dont want to find all records. thnx in advance.

Member Avatar for pty
0
421
Member Avatar for rapperhuj

Ahmmm .. I'm a newbie in C++ programming, and my BOSS wants me to do a program that accepts a COUNTRY CODE and its output must be the COUNTRY NAME of that COUNTRY CODE and following on the COUNTRY NAME is there Biggest TELEPHONE OPERATOR..:?: ****************************************************************** OUTPUT: Please Enter Country …

Member Avatar for Sturm
0
81
Member Avatar for civil1

hi,this is sandy patel. i need simeone's help as soon as possible. i discribe my problem as under: [B]Problem Statement: [/B]This problem requires you to generate a series of random numbers. There are many algorithms that have been developed for this purpose. One scheme generates pseudorandom numbers by performing a …

Member Avatar for Ancient Dragon
0
248
Member Avatar for avi_new

Hi Everyone I am new to vc++ 6.0 graphics programming. I am getting some errors of a program which i am trying to compile. i have added all the dependencies but not able to figure out why I am getting the following errors. Any suggestions. Threading.cpp C:\Programming\Projects\MX - MSVC6\Threading.cpp(2118) : …

Member Avatar for Ancient Dragon
0
194
Member Avatar for Barefootsanders

Hey everyone. I'm trying to write code to update a stat field within my database and I'm having some trouble passing the variables from the form page to the process page. Below is my code. I know it's not correct. I just want a button to say "Upgrade attribute 1" …

Member Avatar for DanceInstructor
0
114

The End.