64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for capri19

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??

Member Avatar for jbennet
0
364
Member Avatar for monkhead

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. …

Member Avatar for vegaseat
0
92
Member Avatar for ricnyx

#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; …

Member Avatar for ricnyx
0
133
Member Avatar for mgorecki

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 …

Member Avatar for mgorecki
0
87
Member Avatar for Roadphantom13

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. …

Member Avatar for vegaseat
0
167
Member Avatar for VeHdad

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 …

Member Avatar for VeHdad
0
89
Member Avatar for tonyaim83

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 …

Member Avatar for tonyaim83
-1
166
Member Avatar for culebrin

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.

Member Avatar for kshrini
0
158
Member Avatar for locsin

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 …

Member Avatar for kshrini
0
524
Member Avatar for SheSaidImaPregy

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 …

Member Avatar for SheSaidImaPregy
0
166
Member Avatar for anto_nee

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 …

Member Avatar for CertGuard
0
157
Member Avatar for rdonr

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!

Member Avatar for Salem
0
137
Member Avatar for r5ingh

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 …

Member Avatar for r5ingh
0
475
Member Avatar for nanaman

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 …

Member Avatar for Duoas
0
117
Member Avatar for DeadJustice

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 …

Member Avatar for DeadJustice
0
96
Member Avatar for picklesandmayo

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 …

Member Avatar for vmanes
0
96
Member Avatar for ferhatkuskaya

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 …

Member Avatar for Duoas
0
111
Member Avatar for blackslash13

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 ? " …

Member Avatar for Salem
0
104
Member Avatar for scunnywhite

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 …

Member Avatar for scunnywhite
0
84
Member Avatar for Java-Newbie

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 …

Member Avatar for Java-Newbie
0
508
Member Avatar for kidjl

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 , …

Member Avatar for jbennet
0
145
Member Avatar for ferhatkuskaya

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 …

0
94
Member Avatar for bilalb1

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 …

Member Avatar for bilalb1
0
232
Member Avatar for lydia21

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 …

Member Avatar for lydia21
0
132
Member Avatar for enuff4life

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 …

Member Avatar for Ancient Dragon
0
120
Member Avatar for ricnyx

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 …

Member Avatar for bilalb1
0
110
Member Avatar for picklesandmayo

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 …

Member Avatar for picklesandmayo
0
125
Member Avatar for ceyesuma

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?

Member Avatar for ceyesuma
0
101
Member Avatar for beauty7

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 …

Member Avatar for beauty7
0
91
Member Avatar for kiel19

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]

Member Avatar for Salem
0
142
Member Avatar for dotNetDummi

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 …

Member Avatar for dotNetDummi
0
158
Member Avatar for almost_done

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 …

Member Avatar for almost_done
0
211
Member Avatar for Run.[it]
Member Avatar for kanaku

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 …

Member Avatar for ithelp
0
179
Member Avatar for Bharath15

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()) …

Member Avatar for peter_budo
0
122
Member Avatar for chetah

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, …

Member Avatar for chetah
0
81
Member Avatar for IRSSRI

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 …

Member Avatar for Jishnu
0
109
Member Avatar for Jishnu

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]

Member Avatar for Jishnu
0
219
Member Avatar for joshua.tilson

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 …

Member Avatar for ioncrew
0
240
Member Avatar for vinod_javas

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

Member Avatar for vinod_javas
0
143
Member Avatar for propricer

Is there a simple way to create multi-line tool/tip text boxes ... nothing special, no balloons or anything, just multiple lines ???

Member Avatar for alzowze
0
2K
Member Avatar for adaykin

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", …

Member Avatar for ~s.o.s~
0
130
Member Avatar for Jishnu

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 …

Member Avatar for lookof2day
0
332
Member Avatar for jaepi

Hello there, any idea what function in the standard library corresponds to these win32 apis (GetPrivateProfileInt and GetPrivateProfileString). Thanks. :)

Member Avatar for vijayan121
0
166
Member Avatar for lydia21

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"; …

Member Avatar for lydia21
0
101
Member Avatar for Grub

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.

Member Avatar for Grub
0
87
Member Avatar for ithelp

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.

Member Avatar for ithelp
0
84
Member Avatar for rajeshnrh74

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 …

Member Avatar for venkatramasamy
0
264
Member Avatar for Biro

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* …

Member Avatar for Ancient Dragon
1
104
Member Avatar for dharween0629

The End.