199,114 Archived Topics
Remove Filter ![]() | |
This is just a simple question. There are four command buttons in a control array. I want to write code for one of them that changes the same property in the same way for all of them. When I tried doing this with just a specific button (I entered the … | |
Hi All, I am doing convert xml files using perl(filehandle). i have one problem in Cross Linking (all figure, tables, footnotes). I cant understand which function it ll be do or not. Does anybody help me. Its possible or not to match appropriate match link. [B]My xml file[/B] ------------ <book> … | |
I am completely new to asp.net. I would like to learn it. Please guide me. 1. what are the main development tools that I can use.? 2. what is the system requirements for the tool.? 3. Can I download that tool for free. quick help will be greately appreciated. | |
So Im trying to write some code that takes a chunk of text, splits it up into words, then puts these words into an array. What I have is: [code] string buf; stringstream ss(database); // database is my chunk of text while (ss >> buf) // Tokenize when whitespace met … | |
Hello again... I've connected to th edb but i need to insert into the db in phpmyadmin.... I dont get any errors it says that it has inserted the data, but it hasn't...please help... my code... $link = mysql_connect('localhost', 'root', ""); if (!$link) { die('Could not connect: ' . mysql_error()); … | |
Could you please give some info regarding - What are basically linked lists . I know that they can be used as arrays and stacks and queues. But confused a bit about FIFO and LIFO CONCEPTS. I cant understand how do we always access the stack from top.It is just … | |
I'm trying to add an image to a button instead of text. I looked at some examples, and I can't figure out what I am missing. I've imported this because the ex. had it. Don't know if it is needed. [code=java] import javax.swing.AbstractButton; import javax.swing.JButton; import javax.swing.ImageIcon; [/code] Then this … | |
Write the definition of a class Telephone . The class has no constructors, one instance variable of type String called number , and two static variables. One is of type int called quantity ; the other is of type double called total . Besides that, the class has one static … | |
codes in two files. Is there a way to use a method cross files? | |
I wanted to know if there was a difference, if there is a difference between computer information science and computer science. I started as a computer engineering student but found out there was hardly any programming involved, so I decided to take on software engineering, Since my school has no … | |
ok i have a problem, like you can see in the code i already create a bidimesional array step by step..... ok i want to eliminate that, and instead of that i want to load the array from a .txt like this> 0-0-6-0-0-0-6-0-0-0 0-0-8-4-0-0-0-0-0-0 6-8-0-0-0-0-0-0-0-0 0-4-0-0-2-0-0-0-0-0 0-0-0-2-0-4-0-0-0-0 0-0-0-0-4-0-0-1-0-0 6-0-0-0-0-0-0-0-0-5 0-0-0-0-0-1-0-0-7-0 … | |
How do I handle an exception error if a user enters nothing or a letter into the input box when I have it declared as an integer. -------------------------------------------------------------------------------- | |
Hi, how can I use this assembler? I tried assembling a file through the terminal like this: "as Practice.asm". I got this message: "practice.asm:0:End-of-File not at end of a line practice.asm:6:End-of-File not at end of a line practice.asm:unknown:Partial line at end of file ignored" And an output file: "a.out", I … | |
Please I need help with this program. I tried different approach, but doesn't seem to be getting no where. [B]QUESTION:[/B] [B]You've been going to work on a database project at work for sometime now. Your boss encourages you to program the database in Python. You disagree, arguing that Python is … | |
Here is a snippet from an example on C++.com. They use what looks like a do loop. I tried putting it into their search, but nothing came back for "do". As far as I can tell it forces the loop intially, otherwise the while statement would cause it drop through … | |
I have a web site. My webhost supports Python scripts. I am pretty good at python. The question is: How can i make a web-page written in python, so that after i upload it on the host server it looks just like a HTML page? (i mean, it is somehow … | |
Hi Guys; Im doing a BNC, and I need to change the resolution of the capture from 32 bits to 256 colors. Do anyone knows how to do that? Is there any function that changes it? Thanks | |
I need write a program in python, for a divice with GSM modul , which send a sms (using AT commands), to few gsm numbers set in advance , if there is an input signal from external divice , and doing nothing if there is not a signal !!! i'm … | |
Hey, Is there a way I can import dll files made in C# into python and use their classes? | |
![]() | Hello everyone! The other day as I was surfing the net I came accross this Java Game on this web page: [URL]http://www.bosanci.net/ljubav.php[/URL] *It is a foreign language and it is a "Crush Calculator" - It asks you to type in a male name in the first string and a female … |
I am a beginner that is learning C++. I would like to now how everyone else learnt C++. | |
hi everyone how to display mysql query results in a html or jsp page. using java script or any other if u have working code or sample code please send me please help me . its very urgent regards Manjunath | |
Hi, I am using a PHP form and I would like to have the ability to convert any emails and URLs that are in the post to automatically have a hyperlink. I don't want to enable any other html tag other than the hyperlink in my posts and I am … | |
+----------+---------------------+------------+--------------------+ |wage_id | full_name | wage | date_added | +----------+---------------------+------------+--------------------+ | 1 | Unknown | 123 | 2001-12-22 | +----------+---------------------+------------+--------------------+ | 2 | Unknown2 | 321 | 2007-06-17 | +----------+---------------------+------------+--------------------+ how to count sum pf values in wage column? 123+321= 444 <---- that way :) ![]() | |
![]() | hi i'm not really sure if this is the right place to post this, but i was wondering how you go about compiling programs from source for windows XP. i've heard vaguely about a program called Cygwin, but am not sure if i should download it or not. i'd download … ![]() |
Hiz people ....after a day i m having pracitcal exma....n they have said me to make a database....so i decided to make student database of my school.....very simple so that sir wont ask me hard questions....so plz i think i donno some steps in completing my database....can anyone help.... for … | |
What is the difference between "\n" and '\n'.? Also what is the difference between " " and ' '?? | |
![]() | Hi, I need to write a program that receives a 20 char string from the user and transforms lowercase to uppercase letter, but it should not affect any other character not included in the lowercase range (97-122, a-z). I wrote my program and the filters for the a-z configuration but … ![]() |
I would like to reverse a sentence. I have this: [code=python]sentence = "a doctor kills your ills with pills and you with bills" print sentence[::-1] # sllib htiw uoy dna sllip htiw slli ruoy sllik rotcod a [/code]However, I would like the sentence reversed like this: bills with you and … | |
HELLO THIS IS MY FIRST POST. I WISHED IF ANY ONE COULD HELP IN EXTRACTING WORDS FROM A CHAR ARRAY -STRING LIKE IF THE SENTENCE INPUTTED BY USER - [B]JACK WENT UP [/B] THEN I NEED TO PRINT THESE WORDS SEPARATELY ON FRESH LINES OUTPUT- JACK WENT UP [B] I … | |
hello, I am working on a module in which i have to make a particular form available to the user for 30 days and after that he has to validate this from admin to use it further. Now, i don't know how should i do this. I don't know what … | |
Why does this not work, and are there other alternatives? This will eventually be used in a loop of sorts.. the different fileName's will be determined by the program in real time.. [code=cplusplus] #include <fstream> #include <iostream> int main (int argc, char** argv) { std::string fileName; fileName = "testFile.txt"; // … | |
hi i am using vb.net 2003 ,i have got a problem ,i have a 'tif' image .i am showing it in picture box ,now i want to cut some portion of this image and save in another location .so how can i do it.Pls help | |
anyone know how to convert C++ DLL to be compatible with C#? | |
hi! i have just designed a new database and i was wondering of any could just quickly check that is passes all the first 3 normal forms. this is an image of it: [URL]http://img233.imageshack.us/img233/4174/untitledqg6.jpg[/URL][URL="http://img233.imageshack.us/img233/4174/untitledqg6.jpg"][/URL][URL="http://img233.imageshack.us/my.php?image=untitledqg6.jpg"][/URL] thanks! :) | |
int x=10; string y; How do I bring about this conversion y=x; with a single statement? should I use typecasting, somebody pls guide me. I dont know how to do it. itoa is so complex | |
hi everyone.I'm a beginner in java and i'm trying to create a full screen applet without any success.Any help will be appreciated. :D | |
ive been trying to connect my c program and a postgre database using VC++. but i cant compile it because it cant find "postgres_fe.h". and also i cant find any tutorials about this one too. When i searched google, most are for linux. if anyone here knows some links to … | |
Need assistance in the assignment on using an Array of structs. I need to know if the array is initialized properly or what i need to do to get it initialized. Some code has been commented out until i get the array initialized. Here is the code: [code=cplusplus] #include<iostream> #include<iomanip> … | |
Hallo, i have a programm, it works without errors , the only problem i have is that the .exe file works for one line and then it closes from itself how can i change this problem. i must give this .exe file in 4 days !! thanks | |
I'm having a devil of a time trying to insert a Windows UNC share into my MySQL database. The DBI quote function doesn't seem to be behaving as I would expect. Here's a little example: [code=perl] #!/usr/bin/perl -w use DBI; my $unc = '\\somebox.somehost.com\someshare'; my $dsn = "DBI:mysql:cmdb;localhost"; my $dbh … | |
I need help with my homework. I am little bit behind in my class bec my teacher is not helping me at all. Here is directions for my homework on flowchart: A soft-drink manufacturer produces several flavors of drink—for example, cola, orange, and lemon. Additionally, each flavor has several versions … | |
I was given this today as a test to see if I could figure it out for a Software Engineer position. Proprietary Computer Language called Magic Lite. Below is exactly what they gave me (I'll put my answers up tomorrow): ================================= [B]Please answer the following questions about Magic Lite using … | |
I am to create a program in which the user puts in a word and the program displays the definition. The words are 20 words I select. I have a comon idea on how to achieve this, but I never scaned for text before. I know char is for a … | |
Hi to all, I was wandering which is the best way to found the closer number in an array. OK not exactly the closer number, I explain my self: For example I have the array: Index: 0 1 2 3 Numbers: 750 500 300 200 * If I receive the … | |
My program seems all correct but when I run the program my outputs are all what they need to be but I just cant seem to figure out how to send my output into 5 seperate columns. After reading the teachers notes I am more confused with his explanation on … | |
Hi all I need a java application to be developed for Game of Life without using applets by using only arrays thanks in advance ![]() | |
I am starting out, trying to learn come C programming over the summer (I've had experience in Java for over a year) and I got a problem when I use my compiler. I am using Dev-C++ and everytime I run my program it quickly closes. Now I know I can … ![]() | |
Is there any other code written for a coke machine program. We’ll start by having the user “insert” their money. Since they can’t physically insert the money, we will just ask them how much they wish to insert and we will keep track of how much money they have inserted. … | |
illegal starts of expression. public check() at line 50. can anyone hepl me please. class waiters { private double tab; public waiters(String name); { System.out.println("my name is"+name+",i''ll be your waiter!"); tab = 0.0; } public double priceof(String s) { double price; if(s.equals("chicken")) {price = 5.95;} else { if(s.equals("burger")) {price = … |
The End.