199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
hi, How can u execute an external program in vb? | |
I am in in the process of adding mediawiki to a sever that already has Apache and php installed. | |
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 … | |
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 … | |
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; … | |
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 … | |
[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", … | |
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 … | |
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 … | |
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()) … | |
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 | … | |
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 … | |
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 … ![]() | |
How to check in windows Vista if DirectX 10 is installed? Sorry for wrong topic, you can MOVE it if you want. | |
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 … | |
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 … | |
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) | |
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); … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … ![]() | |
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(); … | |
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 | |
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; . … | |
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 … | |
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() … | |
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 … | |
[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] | |
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 … | |
Warning 1 warning C4390: ';' : empty controlled statement found; is this the intent? | |
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 … | |
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 * … | |
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. … | |
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 … | |
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. … | |
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 … | |
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] | |
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. | |
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 … | |
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 … | |
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) : … | |
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" … |
The End.