199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for froggy1976

The program should: Accept a series of names and addresses from the console. The user's input should be written to a text file in the CSV format described in the lecture. But, do not include the field names in the first row of the file. Read the records from the …

Member Avatar for shashanderson
0
1K
Member Avatar for aamaikusa

create two class DM and DB which store the value of distances DM store the value in meter and centimeter, DB store the vlaue in feet and inches. write a program that can read value for the class object and add one object Use friend function to carry out the …

Member Avatar for puranchandra248
0
119
Member Avatar for wajih

Hello all, i want to save the variables present in python workspace to text file.I have used file.write() option but it converts the variables(and also arrays) to string.I want to store them as they are present in IDLE. Is it possible? Thanking all in anticipation. regards wajih

Member Avatar for vegaseat
0
543
Member Avatar for muthumari

Hi, Hoe to insert multiple selection from checkbox(from jsp) in to one column of the table(sql server database ). Anyone can you help me? Thanx

Member Avatar for peter_budo
0
2K
Member Avatar for merse

The following code is working! function and function pointer are defined I defined two probe function: mysin1 and mysin2 both works with myfunc with in first argument but I dont't understand, because mysin2 wait for a function_pointer not a function [CODE] #include <math.h> #include <iostream> using namespace std; typedef double …

Member Avatar for puranchandra248
0
91
Member Avatar for panagos

I finnaly got working the program with <ncurses.h> in the virtual box that i put Ubuntu. A test program for handling the screen is given to us, [U]this:[/U] [CODE]#include <ncurses.h> int main(int argc, char **argv) { int X = 10; int Y = 10; int ch; initscr(); noecho(); keypad(stdscr,TRUE); move(Y, …

Member Avatar for dkalita
0
223
Member Avatar for princessotes

Hi, I have a list of positive digits in a file. All I want to do is to add the negative sign (-) to each digit. Is there a code for this. eg list of digits 1 correspond -1 2 correspond-2 3 correspond -3 etc

Member Avatar for vegaseat
0
28K
Member Avatar for praveen_dusari

hi all, i am developing a newsletter module for my site,previously i used a specific newsletter added by admin (using wyswyg) and it is inserted in database and like that admin can send newsletter of his type to n number of users at a time. now i want to change …

Member Avatar for pritaeas
0
109
Member Avatar for Facte

Hi there, for the life of me I can't work out what is wrong with this script, but when it runs I get this message. Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in.... [CODE] <? $q6 = "select * from banners where lang = \"$_SESSION[lang]\" and section …

Member Avatar for Facte
0
145
Member Avatar for tastybrownies

Hello everyone, I'm a frequent reader of a lot of software dev forums on the interent when I go searching for solutions for problems. But it seems like I always keep coming back to this one because it's correct. But to start off, I made a little app that has …

Member Avatar for tastybrownies
0
134
Member Avatar for fearthisguy

Im a beginner in c++ and i want to know how to use system() in c++ I know how to check whether a cmd processor exists. i want to know how to execute commands in the processor. I want its syntax and if anyone can explain with an xample well …

Member Avatar for Tom Gunn
0
97
Member Avatar for saikeraku

I want to make a program that outputs something like: Enter integer: 117 117 is lucky! Enter integer: 1003 1003 is not lucky! So, if the integer entered contains at least one 7 in it, it will output is lucky! And if it doesn't it will output the is not …

Member Avatar for vegaseat
0
158
Member Avatar for hdquang

one of my class is already declaring the variable to open the file, now that i need to called it in main class. I couldn't find a way to do so, can someone please give me some hint to call it. Here is what it declare in the class. [CODE] …

Member Avatar for hdquang
0
125
Member Avatar for frn

How to create a program that will accept 5 unique numbers. If you enter negative no. It will sink, and if you enter same no. The program will not accept it and delete it automatically. Thanx.. Asap

Member Avatar for Phil++
0
79
Member Avatar for cmsc

I made a game for my project. it contains two levels and a welcome screen. The problem is I cant go to the other panels. I tried using cardlayout. but since my panels are in different classes, I don't know how to do it. Please help. here's part of the …

Member Avatar for cmsc
0
122
Member Avatar for ubi_ct83

hello guys, i have this code in java.but i need to convert to c.but i dont know java at all.hope u can help me.thanks for advance [CODE] public class Main { static int t_value=2; static int no_of_parameter = 0; String binary_setting; static int data[]; static ArrayList<String> constraint = new ArrayList<String>(); …

Member Avatar for yellowSnow
0
102
Member Avatar for rociel

Hello, I've spent hours but can't seem to figure out how. This is the question: modify the program so that the prompts that ask the user to enter a transaction include the number of the transaction that should be entered next. Here's what the prompts should look like: Enter quiz …

Member Avatar for rociel
0
129
Member Avatar for v2_vehooi

i would like to put the command Dos into java program. how i using the java to perform command function. for example, when we type ipconfig this command into command prompt, it will display my pc's ip right. so how i use java program when a user run my program …

Member Avatar for irobot_229
0
462
Member Avatar for wil0022

hi guys.. can you help me with my assignment? my proff told me to make a dictionary prog that can do the following.. 1. Add new word and definition 2.delete word and its definition 3. view all words and its definition 4. Update word and its definition 5. Search a …

Member Avatar for wil0022
0
114
Member Avatar for arasucute

0,0 0,w-4 0,w +------------------------------------------------------+---+ | My Window | x | 2,0+------------------------------------------------------+---+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | …

Member Avatar for Ancient Dragon
0
171
Member Avatar for andym67

I need a bit of help with a mysql join query. I have tried and tried and keep getting unhelpful errors. I have two mysql tables: friends: friend1 INT friend2 INT members: member_id INT name varchar lname varchar Basically I want to loop through friends and find all records where …

Member Avatar for andym67
0
163
Member Avatar for thilinam

HI I am developing a part of asp.net web site as a training project. My part is creating authentication structure and authorization. Can any body please tell me are there any way to do this except using sql membership provider. Because we have to implement according to the class definitions …

Member Avatar for guru_sarkar
0
151
Member Avatar for badmanmc

I am fairly new to mysql and wanted to practice making a database and tables. As well as filling the tables with made up data and then practicing queries. I wanted to emulate a real life database project. So I decided to make a database for a Car Dealership. the …

Member Avatar for pclfw
0
95
Member Avatar for paulo3k

I have just started getting into python and Tkinter and so far it's all been very interesting and the help good to, but now i have ran into a problem. I'm sure it's very easy to solve but i just can't seem to figure it out or find anything on …

Member Avatar for masterofpuppets
0
89
Member Avatar for sheharyar

Problem Statement: Movie Rental Store You are required to write a program for Movie Rental Store. The basic idea is that user/reader will provide customer information, movie name, and number of days. Upon this information your program will calculate the charged amount for that movie. Detailed Description: 1. The program …

Member Avatar for Ancient Dragon
0
223
Member Avatar for kegathor

Hi, I have an insert statement in an asp page that works fine on one server. Basically the statement traps various details and username. I had to move the site to a new server and unfortunately its not trapping the username for me. [CODE] strSQL="INSERT INTO TBLCART (USERNAME, VALUES ('" …

Member Avatar for Thirusha
0
290
Member Avatar for Joe Hart

Hi, I am stuck. I am trying to create a new file C:\HourlyATC\ATC101509\10-15-09 to 10-21-09 ATC.txt, and have a bunch of text wrote to this file to have it uploaded to a web site. At this point I would be happy if I could create the file and have the …

Member Avatar for baki100
0
145
Member Avatar for vedmack

I have a very weired problem (which is not easy to describe.. but I'll do my best): I have a html page with several forms , only one of the got the action="ComputeAndReturn" and the other forms got only name="" tag... the problem is that after i submit the form …

Member Avatar for McVaio
0
193
Member Avatar for manjupapu2006

hi, im doin a project in visual basic 6.0,. pleae help me in constructing a inbox in vb 6.0. mail: [email]manjupapu2006@gmail.com[/email] -manjunath

Member Avatar for mathet
0
699
Member Avatar for izzet

I want to create a login jsp form that connect with servlet and mysql for database. And I'm using netbeans and glassfishV2. Please help me to solve this problem.

Member Avatar for javaAddict
0
108
Member Avatar for Gaiety

Hi, i tired the following code in c & c++ [CODE]int main() { struct dum { // nothing here } printf("%d",sizeof(struct dum)); return 0; }[/CODE]the out put is 0 [CODE]int main() { struct dum { // nothing here } cout<<sizeof(struct dum); return 0; }[/CODE]the out put is 1. i dont …

Member Avatar for Tom Gunn
0
203
Member Avatar for jalalsad

this is a complicate situation: i have A class by type Base { Btype* m_b; }; and a class DerivBtype:public Btype { .. } and this class class derived :public base { } and i want to behave m_b as a derived class i used this approach m_b=new derived ; …

Member Avatar for jalalsad
0
100
Member Avatar for sanjaypandit

[QUOTE]hi friends i have facing a problem [CODE=php]<? define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'lang/'); define('DEFAULT_LANGUAGE',''english); ?>[/CODE] these are code use in configure.php it is use in index.php with following code[CODE=php]<? include_once(DIR_WS_LANGUAGES.DEFAULT_LANGUAGE.'.php') ;?>[/CODE] now i want to use this with select language i select language [CODE=php] <? if(isset($_GET['flag'])){ if ($_GET['flag']==po){ echo …

Member Avatar for pritaeas
0
98
Member Avatar for nicolek808

[icode] import java.util.Scanner; import java.io.File; import java.util.StringTokenizer; import java.util.InputMismatchException; import java.io.FileNotFoundException; public class KashiwabaraNicole16test { /******************************************************************************* * Outputs integers from user input external files. ********************************************************************************/ public static void main( String[] commandlineArguments )throws NullPointerException { //Error Checking For Command Line Arguments.. if(commandlineArguments.length == 0){ System.out.println("Please enter the file name as the …

Member Avatar for Grn Xtrm
0
145
Member Avatar for siggivara

Hi. I have this codeline: [CODE=c]fprintf(file, "The\necake\nis\na\nlie");[/CODE] When I compile and run in Linux it outputs nicely like so: The cake is a lie but when I compile and run in Windows (Vista), using cygwin, the newline doesn't work and output is like this: Thecakeisalie Anybody have an idea why?

Member Avatar for Tom Gunn
0
667
Member Avatar for Ineedhelpplz

Please help me find the endless loop and how to fix it: [QUOTE]blade71(555)% showxbits_2 32 in itox, processing 32 Test Value (b div 16): 2 Value of b: 32 Value of b (# mod 16): 0 [/QUOTE] [CODE]/* * stubs for functions to study * integer-hex conversions * */ #include …

Member Avatar for Gaiety
0
168
Member Avatar for onsir

Hi, all How to create report use IReport and Hibernate I have tried, like this : : 1. create file hibernate.cfg.xml [code] xml version='1.0' encoding='UTF-8'?> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> <hibernate-configuration> <session-factory> <property name="connection.url">jdbc:mysql://localhost/a6</property> <property name="connection.username">root</property> <property name="connection.driver_class">com.mysql.jdbc.Driver</property> <property name="dialect">org.hibernate.dialect.MySQLDialect</property> <property name="connection.password"></property> <property name="transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property> <!-- thread is …

Member Avatar for seela
0
901
Member Avatar for fferrandini

Hi guys. im new in this forum, getting used to python+turbogears and already have a doubt. i have a sql statement to do , that uses "like" . for example: sql = db.text("select name from users where name like '%Fernando%' and dt_birthday='%s'" %(dt_birthday)) and the server gives me the following …

Member Avatar for fferrandini
0
106
Member Avatar for pymatio

This program hangs when trying to generate fixtures when the table is empty: [CODE] using System; using Gtk; using Mono.Data.Sqlite; using System.IO; public partial class MainWindow: Gtk.Window { //SQLite variables static SqliteConnection DataConn; static SqliteCommand DataComm = new SqliteCommand(); static SqliteDataReader DataReader; string dsn; //tree_1 variables Gtk.TreeViewColumn name_1 = new …

Member Avatar for DdoubleD
0
217
Member Avatar for dre-logics

I created a program using Visual Basic 2008 . I want to use "Setup and Deployment Project" for deploying my [COLOR="Red"]Windows Application [/COLOR] for Stand alone pc. I want to install my [COLOR="red"]windows application [/COLOR]on stand alone pc in this directory: c:\program\ My images in this directory: c:\program\images I have …

Member Avatar for dre-logics
0
148
Member Avatar for whiteyoh

Hi all, The following code should link 2 tables, showing: student id, surname, firstname, study type, start year. However, its not :-). its just a white screen. ive got php5.ini with ERROR_REPORTING (E_ALL); in it but im still getting nothing at all. The tables definitly exist! have i missed something …

Member Avatar for whiteyoh
0
101
Member Avatar for TOROOOLOLOOLO

Hi I have problem with packaging and transferring VB6 and MS Access database from one computer where it is designed to another computer. I need some help. thank you.

Member Avatar for tsorewilly
0
98
Member Avatar for Flanderbland

I'm having a problem reading lines from a text file. The reading in itself works fine, but when the application has read 545 lines of text (545 .readLine()'s) I get a read error exception, for no reason at all as far as I can see. The code for the reading …

Member Avatar for Flanderbland
0
196
Member Avatar for Lamya Shammary

[B]Good Evening everybody I'm decide to implemant software that saves data and the user adding and searching for this data on it It's for college employee And This Is Te OUTPUT:[/B] Please Press the number of your choice: [LIST=1] [*]1) Inserting data of new student. [*]2) searching by: [/LIST] a.Name …

Member Avatar for Lamya Shammary
0
137
Member Avatar for EDDYGATE

The code below captures the screen and saves it. Depending on your need, you can modify it to do just what you want [code] import java.awt.AWTException; import java.awt.Robot; import java.awt.Rectangle; import java.awt.Toolkit; import java.awt.image.BufferedImage; import java.io.*; import javax.imageio.ImageIO; class ScreenCapture { public static void main(String args[]) throws AWTException, IOException { …

Member Avatar for firstsmilepk
0
238
Member Avatar for ctrl-alt-del

Hi all! I'll keep this post a little shorter then I normally do, lack of time to post and all of that. I am making a widget-type program. You know, no borderstyle, no taskbar, opacitycontrol, stuff like that. It's going to be an RSS-aggregator by the way. Now for my …

Member Avatar for Geekitygeek
0
288
Member Avatar for ttchiwandire

Hie guys, Iam developing a java web application which uses mysql as its database engine. Now I would like to use the hibernate and spring frameworks together. The problem I nam facing is in configuring the various beans and establishing a clear relationship btwn the two frame works. If any …

Member Avatar for ejosiah
0
166
Member Avatar for Web_Sailor

Hi.. How do I check the data type in an input file ? Suppose my text file looks like this. Tab separated :- [CODE] 123 456 ABCD 789 890 EFGH 298 764 IUHJ [/CODE] Now I read the file like char or string in my while loop using getline. So …

Member Avatar for Web_Sailor
0
142
Member Avatar for Web_Sailor

Hi I was trying to count rows and columns in a tab delimited flat file. Like here in example below i should be able to detect automatically the no of rows and columns. So I should get 5 columns and 6 rows. Something like that. [CODE]one two three four five …

Member Avatar for Web_Sailor
0
139
Member Avatar for john_beginner

hello , (begginer of SQL) i have to make one pro. in which i have to use trigger which will fire before inserting into table and convert the name into upper case but i don't what is the prob. with the code pls provide ur suggetion my table attributes are …

Member Avatar for john_beginner
0
148

The End.