64,152 Solved Topics
Remove Filter ![]() | |
I have built a web server in python for a local intranet. I would like to get the user's userid when they click on a link on my web page. Is this possible?? | |
hi i am working on a challenging assignment where i have a list of different animals in an ecosystem and i have to show the relation ships the outpu requires to" # List of all species (in alphabetical order) # List of species at the top of the food chain. … | |
#include <iostream> #include <fstream> using namespace std; int main( ) { ifstream fin; ofstream fout; fin.open("income.dat"); if (fin.fail( )) { cout << "Input file opening failed.\n"; exit(1); } fout.open("total.dat"); if (fout.fail( )) { cout << "Output file opening failed.\n"; exit(1); } double next, sum = 0; int count = 0; … | |
Hi, I have a small program that displays a number of pictures by using a timer. I don't know if this is the best way to do this, but it works. What I would like to do is add a cmdButton so that every time I hit the cmdSwing button … | |
Hello. Beginner here so bear with me. I'm creating a game as a final project for my university but at the moment I'm stuck. I'm just wondering how you go about making buttons. In the code, I have created four rectangles which will eventually be able to be clicked on. … | |
Hi everyone! I have been working with VB5 for a quite while now and couple of days ago I encountered bizzare problem wiht custom toolbar. Here it is: My form has a custom toolbar with approx 10 buttons aligned in one row, with a couple of placeholders to separate groups … | |
Hi I m using the boost graphml.cpp file to extract information from a graphml file. But when trying to compile this i m getting compilation error `C:\boost_1_34_1\libs\graph\src\graphml.cpp expected } at end of input` What can be the reason for this. I checked it out the all combination of braces are … | |
Hi everybody, I want to make an app with command line parameters like: "dir *.jpg", when "dir" is the app and "*.jpg" is the parameter. Can anyone can help me. | |
greetings! I designed simple program with combobox and i want to lock this combobox. I dont want to allow the user to type in this combobox. Only the list item data can be selected and not allowed to type any value.. for example: Displaying "Gender" using combobox . The item … | |
So basically this is what I have. In the database, there is a table called LocalTalent. Inside this table there are Two Fields, one is the LTName, and the other is the LTID. Now when my client adds a new talent category, I want this to automatically affect the page … | |
hi to all... giving support to my projects now i came with another problem.. when i trying to pass the values to popup am using request.form in the popup will it work?? it is not working for me.. coz will not post the form for popup... my code is here … | |
Hi: Can anyone help me with this homework? Been trying to work it out but I'm still not getting how to do this. arggh..getting really frustrated:confused: This is impossible or sumthing yikes! | |
Hello, i'm a noob C programmer, learning it at university. We have been given an assessment which i need to complete asap. I have figured out the solution to the porgram (almost) but need some assistace. I have a Java and VB background and i cannot seem to get my … | |
Ok I have to write a program that creats an ADT to store a set of cards that are imput so that i can use the command (a-card rank suit) and (rank card) (suit card) to firstly construct the card and then return its rank and suit. Unfortunately I am … | |
Hi, its me again. I need help one last time. This time my problem is pretty simple, I just can't find it myself it seems. Please lend some assistance. Here's my assignment. [QUOTE]Create a program that takes in 2 integers and displays the result of dividing the two integers. This … | |
I am writing a program that generates 2 random #'s then asks the user to give the product of the 2. I have everything (close to) working except the input. I even added a "cheat" to display the answer [inlineCODE]prod[/inlineCODE] and when inputting the exact same #, it is registering … | |
Hi Can you tell me how I will add labels to buttons in delphi? When I add labels to button the labels are coming under the button but I want to see the labels on the button just as tag of buttons can you help me about that problem. Thank … | |
Which is the most suitable source code? I need a programmer with a large experience on C++ to answer this question. [code] #include <string> #include <iostream> #include <limits> int main() { using namespace std; const int THISYEAR = 2007; string yourName; int birthYear,bad_input; cout << "What's your name ? " … | |
import javax.swing.JOptionPane; public class conversionweight { public conversionweight() { String ans; ans = JOptionPane.showInputDialog(null, "Enter Weight in Stone.Pounds" ); double stones = Double.parseDouble(ans); double pounds = 14 * stones; double kilos = 0.45359237 * pounds; JOptionPane.showMessageDialog(null, " weight in Kilos = " + kilos); System.exit(0); } } my task was … | |
Hello and Happy Thanksgiving (to those who celebrate it), I have a small program that needs to read data off of a text file (name, city and age) and store it in an array. The program asks the user for a city name, and it's supposed to loop through the … | |
Hello everybody. I am beginner in programming.....However, recently i recieved a simple assigment from my Professor. The assigment asks me to use C++ and create a programe that will display a series of Fabonacci numbers after the user enter a number . For example if the user enter 10 , … | |
Hİ THANK YOU FOR YOUR LABEL COMMENTS LETS FORGET THAT QUESTION. I have chosen it with a different solution and :). now I want to know how I will use the message buttons with if conditions... I dont know why my message dialog box's message values are passive in my … | |
hi hope u guys are well... i am using a linux command (with system() call in my c++ code) to search all files with in the system and then store the results in the a file(say filename). i am piping this with tail --f filename to display the results while … | |
hi All jobtitle will be displayed in a table with hyperlink.when the jobtitle is clicked.it should fetch description,email etc from the database and display it. please tell me how to link the pages based on the tobtitle or id....when the hyperlink is clicked it is not displaying the data from … | |
in doing C, in my function OpenData, it takes a point to array in main, take command-line argument name, and arraysize pointer. i get warning passing arg of 'function' makes integer from pointer OR pointer from intgeger without a cast... what does it mean? and i get con [CODE=C]int main(int … | |
im the newbie among the newbie .....need a nice and patient guy who willing to guide me of my assignment.....cause the deadline is tis weekend......i dun know or can say hard to post the problem out...cause too many.............need urgent reply.........can msn ??? pls pls pls pls...........i got plenty of question … | |
Hello, I am a new CS student and I am taking a C++ course. I am running into problems with a simple number generation program. Basically, I have to generate 2 single digit numbers and then request the user to multiply them. (I know there is nothing in there yet … | |
can someone show me how to collect a string from a jsp text box and call a set method in a bean that puts that value in a variable of that bean? | |
Hi there^_^, How can I create a class from this program? [code] #include <iostream> #include <ctime> using namespace std; int main() { // Obtain the total seconds since the midnight, Jan 1, 1970 int totalSeconds = time(0); // Compute the current second in the minute in the hour int currentSecond … | |
how to write c code function implementing the first heuristic algorithm [CODE] void binpack_firstfit(int item) { int s = 0; int bin_Value; do{ bin_Value = bins[s]; if (bin_Value + item < BIN_VOLUME){ bins[s] = bin_Value + item; s = NUM_BINS; } }while(s++ < NUM_BINS); }[/CODE] | |
Hi all, (I apologise if this thread is out-of-topic) I need some ideas for my project. I have to develop a web application for some users to approve some documents. The problem I have is that I [U]can't[/U] give these people a login account (due to my project requirement). I … | |
Ok so this is really annoying me...I'm trying to go through and parse a bunch of .csv files for content but I can't get past trying to open them. I want to read the directory contents and then open the specified file. I have the code working so it prints … | |
I didn't know where else to put this thread *sorry if it's in the wrong forum* I want to go an a hiatus, and I found this .htaccess tutorial where you can redirect users from an old file or directory to a new file or directory... I was wondering if … | |
Hi can somebody help me i am new to developing. ADD the new record to the existing database table at the end of all rows.Something like registration form details. <%@page import="java.sql.*" %> <% String fisname=request.getParameter("firstname"); String lstname=request.getParameter("lastname"); String sex=request.getParameter("gender"); try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con=DriverManager.getConnection("jdbc:odbc:Bharath"); Statement st=con.createStatement(); DataInputStream din=new DataInputStream(System.in); while(rs.afterlast()) … | |
Home Work Problem. I understand what the program is suppose to do, but I do not understand how to implement it using Link List. Please help me to understand the problem. Write a program to perform ariththmetic with integers of unlimited size. You must read data from the input file, … | |
I am new to C++, and I am currently learning pointers. I am fully aware of the whole homework help restriction guideline stuff on this site. I am slowly understanding the logic of pointers. I just need help with the coding syntax. My assignment is as follows: I have a … | |
Hey, what does the following code do? [CODE]#define _ -F<00||--F-OO--; int F=00,OO=00; main() { F_OO(); printf("%1.3f\n",4.*-F/OO/OO); } F_OO() { _-_-_-_ _-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_ _-_-_-_ }[/CODE] I found this interesting question from [URL="http://www.techfest.org/archives/tf07/wired_logic/codemaestros/code.c"]http://www.techfest.org/archives/tf07/wired_logic/codemaestros/code.c[/URL] | |
Hello, I am currently working off the sticky thread filled with practice problems etc. I have got a couple of the practice problems out of the way, and I am currently working on a program that will find the factoral of a number entered. So far i have an array … | |
Hi Guys.., Where can i find this particular package javax.media.*; and is there any specific link there to download the javax packages...? If so kindly help me out... Thanks in advance.. Vinod | |
Is there a simple way to create multi-line tool/tip text boxes ... nothing special, no balloons or anything, just multiple lines ??? | |
Hello, I am getting an error message saying clock is undefined, I am not sure why, here is my code: [CODE=JavaScript] <script type ="text/javascript"> var theDays = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"); var theMonths = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", … | |
Herbert Schildt in The Complete Reference Java 2 says,"Because it is static, it must access the members of its enclosing class through an object. That is, it cannot refer to members of its enclosing class directly. Because of this restriction, static nested classes are seldom used." Can we use static … | |
Hello there, any idea what function in the standard library corresponds to these win32 apis (GetPrivateProfileInt and GetPrivateProfileString). Thanks. :) | |
hi in this coding i want to specify the table width and border..i tried with css and html both are not working..please tell me how to display the table <html> <head></head> <link rel="stylesheet" type="text/css" href="test.css" /> <body> <?php $hostname = "localhost"; $username = "splendor_lydia"; $password = "jesus"; $dbid = "splendor_samp"; … | |
Hi, I am trying to display my floating point values as money in a machine. Now When I display the value 0.60, the zero is omitted from the end and as such is displayed as 0.6. I need to display it as 0.60. Many thanks in advance. | |
What is the easiest way to create a libray from list of .o s that is libtest.a from a.o,b.o ...z.o I am looking for a command line option. | |
My VB6 has a Form with a Textbox. Actually my work behind reading Barcode thru Barcode Reader into the TextBox, The Maxlength of the TextBox is 12. If I Input some characters manually into the TextBox Say "abc" (without quotes) now the cursor is in 4th place from there it … | |
Hey I am new to c++, I am trying to work with programmer defined functions, I was wondering if someone could tell me where I went wrong with this: [code]#include "stdafx.h" #include <iostream> using namespace std; double hatsize(double user_weight, double user_height); // hat size function declaration int _tmain(int argc, _TCHAR* … | |
can anyone help me minimize the size of an image using java? |
The End.