132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for drayford

#QUESTION ONE person = input('Please enter your name:') print('Hello', person,'. How are you today?') #QUESTION TWO emotion = input('Please enter happy, sad or neither:') if emotion == 'happy': print('Well, it is great to hear that you are so chipper',person,'! Shall we continue?') else: print('Sorry to hear that. Hopefully we can …

Software Development python tkinter
Member Avatar for ZZucker
0
325
Member Avatar for trach

I have a project coming up Select a Theme and have 50 words associated with it Words must have a common theme - your choice Examples: Like Periodic Table Elements, or Sports teams, or Types of cars… Have one Term describing category you picked. This is the FACE term… Menu: …

Software Development c++
Member Avatar for tinstaafl
0
466
Member Avatar for Vikram Sehgal

hello, so i am having some problem x = 50; y = 31; //declaration from line 1 to 5 lastx = x; lasty = y; while(1 == 1) { gotoxy(lastx, lasty); printf(" "); gotoxy(x,y); printf("**|_A_|**"); a = getch(); lastx = x; lasty = y; if (a == 77) x = …

Software Development c++
Member Avatar for Suzie999
0
228
Member Avatar for William Darrah

My main application has a datamodule containing a TSQLConnection component. When I call a package from this application and try to create a transaction (StartTransaction(TD)) from within the .bpl, I receive an Access Violation. I am able to open a TSQLQuery from within the bpl to that same TSQLConnection, but …

Software Development delphi pascal
Member Avatar for William Darrah
0
157
Member Avatar for facadie

HiHi seems like i have so many queries for programming.. EG. textbox use to set the password how can i make a program so that i can set MINIMUM character to be inserted in textbox is 7 then i can save the data if not validate[ insert password with at …

Software Development c#
Member Avatar for vadde
0
4K
Member Avatar for ankit.baphna

Code1: <input id="text" type="text" name="fname" value="First Name" onclick="this.value='';"/> Hi Friends, Code1 - this print in my text box value "First Name". onclick this value gets erased so I can type Name. but if I go to second text box and come back to this text box to modify or add …

Software Development php
Member Avatar for ankit.baphna
0
422
Member Avatar for The king

[CODE]Hi every one, hope u r fine. i have a java program and it call matlab exe file ,but i have a problem in run time it is so so slow . i need a help in how to make this faster, i will be grateful for any help Hint: …

Software Development java
Member Avatar for stultuske
0
887
Member Avatar for Knight_YUVA

HI,Everyone GOOD NOON I am creating a WINDOWS form using C# which have text box like part.no ( NUMBER ONLY NO Alphabets) i have used the following coding to accept number only . private void Partno_KeyPress(object sender, KeyPressEventArgs e) { //e.Handled = (!char.IsDigit(e.KeyChar)) && (!char.IsControl(e.KeyChar)); } Now i need to …

Software Development
Member Avatar for ChrisHunter
0
167
Member Avatar for jazzermonty

Hi guys I've written a very simple program that reads in some files, does some cleanup on the data and then creates a sql statement to insert the data into a table. Now I have 125 of these fies of varying sizes and on some (not all) of the files …

Software Development apache java regex
Member Avatar for jazzermonty
0
324
Member Avatar for ajinkya112

Hello all, It has been long since i am facing this problem. I want to convert my datagridview data to pdf format. I have searched a lot but couldnt find any. Need your help. Regards, Ajinkya

Software Development pdf vb.net
Member Avatar for jaga.dish.39
0
281
Member Avatar for Bertram

Hi I wonder if any kind soul could help me with a timer problem in c. I am not at all experienced in writing c code. In a c dll (called from a vb user control) I need to avoid blocking the parent application, and also be able to abort …

Software Development c
Member Avatar for vijitris
0
2K
Member Avatar for bc230201818

Having a problem with the link list program . have failed to resolve.worked over 12 hours but the solution looks pretty disorganised an incoplete, please advise thanksInline Code Example Here ` #include <iostream>` #include <stdlib.h> #include<list> using namespace std; class Node { public: int get() { return object; }; void …

Software Development c++ linked-list
Member Avatar for bc230201818
0
279
Member Avatar for menahil

need how to make an virtual learning class room in php and student teacher profile in php

Software Development php
Member Avatar for Shabu Anower
0
157
Member Avatar for ashley.vanhoesen.7

My data is going in to the queue just fine, but when I go to print the data nothing happens. How do I pull the data from the priority queue heap to print? NOTE: The heap implementation cannot be altered. /** ADT priority queue: Heap-based implementation. Listing 17-3. @file Heap_PriorityQueue.h …

Software Development c++ queue
Member Avatar for triumphost
0
504
Member Avatar for Estella

Hi All, How can i get mac address from other computers with input ip address? Please helps Best Regards...

Software Development visual-basic
Member Avatar for tekuna1678
0
3K
Member Avatar for wids101

I wanted to know how i can print the purhcase that the user got. Thank you. import java.util.Scanner; public class VendingMachine { private double chips; private double cookies; private double soda; private double gum; private double candy; private double energyDrink; private Scanner kb; private int dollar; private int quarters; private …

Software Development java
0
214
Member Avatar for cambalinho

- the GetWindowRect() give me the window size and position; - the GetClientRect() give me the window size without inclued the scrollbars\menus\borders\others; so when 1 image is more big than client size, what size i can use? DC size? and if a child window position is more big than client …

Software Development c++
Member Avatar for cambalinho
0
384
Member Avatar for AtillaKahuna

Hello all, I have an XML string that I need to tear down and process. Sorry for what may be a simple problem, but I'm new to XML processing. Here is a sample of the XML: <?xml version="1.0" encoding="UTF-8" ?> <CCSMessage Type="4" Name="CustomerFetchResponse" Source="CoremaContextServer" Destination="WSA0205" UserID="LoyaltyBatch" IncludeLoyaltySummary="true" LimitLoyaltyTransactions="0" > <Result> …

Software Development promotion vb.net xml
Member Avatar for tinstaafl
0
192
Member Avatar for Richa_2

1) What are three ways of creating a String object ? 2) What is the difference between string concat method and simply adding 2 strings ?

Software Development java
Member Avatar for Richa_2
0
285
Member Avatar for surya55

Hi all, What is the difference in inheriting a class and instantiating a class, as both allows to inherit properties from the base class.I know there is a difference in both, but i want a clear idea on this. Kindly, can anyone help.Thanks in advance.

Software Development java
Member Avatar for Doogledude123
0
205
Member Avatar for Doogledude123

Alright, so I am simulating a rice roll 100 times, repeatedly. It's getting some whack numbers for some reason, I can't find the problem in code. I have done some printing of the different variables and it seems fine, but I know theres something wrong. package com.github.geodox.dicerollingstats.main; import java.util.Arrays; import …

Software Development github java
Member Avatar for Doogledude123
0
344
Member Avatar for jan.sehona.1

You have been hired by an amusement park company to write a JAVA program that prompts a person to enter their age and height and to find out if they are eligible to ride. A person is eligible to ride if their age is above 9 years and their height …

Software Development java programming-construct
Member Avatar for JamesCherrill
0
198
Member Avatar for jan.sehona.1

Critically analyze the following statement "Multiple inheritance can be achieved without interface"?

Software Development java programming-construct
Member Avatar for JamesCherrill
0
233
Member Avatar for laaus001

I have Visual Foxpro ver. 3 and also Foxpro upgrade to Ver. 9. When I try to run VFP.exe on my windows 7 system I get an error "Insufficient Memory" and Foxpro will not run. Any suggestions would be appreciated.

Software Development
Member Avatar for rubberman
0
256
Member Avatar for Tinnin

Hi All, I'm trying to connect to a mysql database using the MySQL Connector from Oracle. I'm hitting my first issue of linking the libraries and was hoping that someone could nudge me in the right direction. What I have done so far: Downloaded mysql-connector-c-6.1.3-osx10.7-x86_64.dmg from http://dev.mysql.com/downloads/connector/c/ In XCode, in …

Software Development mysql objective-c oracle
Member Avatar for Daemon_CC
0
397
Member Avatar for DS9596

* I have to make a maze with 21 rows and 77 columns, allow some for the user's input and for messages. * It also has to have A multidimensional array containing the board. * A function to print the board. * Find the user's starting location (i.e. the location …

Software Development c++
Member Avatar for DS9596
0
770
Member Avatar for ishaan3731

Hi guys, I have a non-cse background but due to some reason i have to submit a java project at my college. As a result i downloaded a employee management project from a website.It has some jsp pages , some java class files , folders named META-INF and WEB-INF.I used …

Software Development apache java java-jsp
Member Avatar for stultuske
0
291
Member Avatar for Sushma Somesh

HI, my code for search is rec.Open "select * from Body_Markings_new where Part Number like '%" & txtsearch.Text & "%' ", conn, adOpenDynamic, adLockOptimistic after compiling this code getting an error saying syntax error (missing operator) in query expression 'part number like' %1%" please help me I not able to …

Software Development programming-construct seo visual-basic
Member Avatar for Sushma Somesh
0
206
Member Avatar for pebryan

hy im very newbie with VB.net 2010 i want to search/filter my datagridview with textbox i use this to connect mysql and datagridview dbconn = New MySqlConnection("server=localhost ;database=login") Try dbconn.Open() Catch ex As Exception MsgBox("Connection Error") Close() End Try Dim table As New DataTable() dbdata = New MySqlDataAdapter("SELECT * FROM …

Software Development seo vb.net
Member Avatar for pebryan
0
2K
Member Avatar for smitsky

Hi. I want to output all of the processes in the printer queue here, and I'm not able to figure out quite how to do that. The only process that shows up is the last one I entered. For instance, if I put a process into printer queue 1 and …

Software Development c++ printer queue
0
125
Member Avatar for jvidinha

Hi all, Would like to hear your approaches on how to parse a large txt file with one single line and writing to another file every block of 180 charaters in a new line.

Software Development python
Member Avatar for snippsat
0
357
Member Avatar for brakeb

I have been beating my head into the desk with this issue, and I don't think it's a simple 'uniq' or 'sort' issue. I have a file, with many duplicate values in them. File ---------- dog dog cat owl owl turkey weasel giraffe giraffe rooster The output I am looking …

Software Development shell-scripting
Member Avatar for brakeb
0
196
Member Avatar for nagarjuna

Hi, I m Nagarjuna.I m doin my Masters in Computer Science at Indian Institute of Technology, Kharagpur. My thesis is on VANET security. I m doin a simulation using GloMoSim software. I want to broadcast messages/packets to all nodes(within the transmission range). As far as I ve understood the GloMoSim …

Software Development c cybersecurity
Member Avatar for NASEEMSHAKEEL
0
247
Member Avatar for CrankyMero

Hello everyone I have this XML file that has all the information for payroll, but we have a system where the employee goes and sees his payment for the week, so what i've been trying to get my head around this problem is that we need to extract some information …

Software Development vb.net xml
Member Avatar for CrankyMero
0
700
Member Avatar for josh.leong2

Hey guys, I am almost at the end of my assignment but when I showed my code to a friend and also my demonstrator I was told the way I was passing the data between the three classes for "menu prompt (2)" was wrong. My original program had methods I …

Software Development java
Member Avatar for josh.leong2
0
209
Member Avatar for Jsplinter

I have a container object which contains float*. struct MyCon{ MyCon(){ matA = new float[10]; matB = new float[10]; } float *matA; float *matB; } And, I am storing pointers to MyCon objects in a std::map. map<string, MyCon*> myCon_map; myCon_map.insert(pair<string,MyCon*>(string("str"), new MyCon())); Once I am finished with myCon_map, how do …

Software Development c++
Member Avatar for JasonHippy
0
730
Member Avatar for theashman88

So the code is this but I can't figure out the problem. I included the error alongside with it. using System; public class SavingAccount { public static decimal interestRate = 0.02M; public string Name { get; set; } public decimal Balance { get; set; } public SavingAccount(string n) { Name …

Software Development
Member Avatar for samsylvestertty
0
482
Member Avatar for sing1006

i have problem reading the data from text file. The first line in my text file should go to 1st row but it go to the column, here is my code. JScrollPane scrollPane_1 = new JScrollPane(); scrollPane_1.setBounds(30, 288, 944, 207); frmDevelopNewProgram.getContentPane().add(scrollPane_1); String[] columns={"Program Code","Program Name" ,"Major","Abbreviation"}; lap_table = new JTable(); …

Software Development gui java
Member Avatar for sing1006
0
675
Member Avatar for waseem1345

Hello, I'm trying to Convert "{MATH}TextBoxC1+TextBoxC1" to "TextBox1.Text=Convert.ToString(Convert.ToInt32(TextBoxC1.Text)+Convert.ToInt32(TextBoxC1.Text)); but doing it using one textbox.. I'm making a software creator. Everything was working well but this... Thanks in advance string svs = texttyped; //which is "{MATH}TextBoxC1+TextBoxC1 svs = svs.Remove(0, 6); string x = controlname + ".Text=Convert.ToString(Convert.ToInt32("; //ControlName = "TextBox1" while (svs …

Software Development
Member Avatar for ChrisHunter
0
137
Member Avatar for nyfan68

In my program that I have posted below, the user is suppose to click on a circle that is drawn using a specific color. Depending on whether or not the circle is colored yellow or blue, text will display in the same window as "Correct" or "Incorrect". The problem I …

Software Development display python tkinter
Member Avatar for ZZucker
0
298
Member Avatar for rashad fares

i need answer for this Q is that how we can write program in C++ to eccept any number and print it with its digit? and thanx^^

Software Development c++
Member Avatar for Ancient Dragon
0
155
Member Avatar for abaddon2031

I have a python code that reads a file into a stringio. This works great but now i need to do is http post from the stringio and i can not figure it out. Any help would be greatly appriciated cause this is really conffusing and i dont know what …

0
259
Member Avatar for beastie805

really need help figuring out this program, it crashes during the getdata() function in main any tips or suggestions appreciated thank you #include<iostream> #include<string> #include<cstdlib> #include<iomanip> #include<fstream> using namespace std; struct StudentData { string Name; int Idnum; int* Tests; int* TestNo; double Average; char Grade; }; void ReadHeader(int&, ifstream&); StudentData* …

Software Development c++
Member Avatar for Ancient Dragon
0
193
Member Avatar for tshukela.george

every combobox selection is replaced with what a user has selected, I want it not to be replaced so that all seleced combobox can be printed

Software Development vb.net
Member Avatar for Begginnerdev
0
431
Member Avatar for rizwan anjum

what's difference b/t polymorphism andinheritance

Software Development
Member Avatar for Loosipher
0
169
Member Avatar for Jsplinter

I have an mxn matrix, that is stored in memory in an array: matA = new float[m * n]; // ... Assign values matA[0] = 1; matB[1] = 2; // ... After I finish with this array, I then need to create very similar array to store a new mxn …

Software Development c matrix-multiplication
Member Avatar for Jsplinter
0
282
Member Avatar for Ali_khan11

i have a text field with name "date" and i want to retrieve all he records from database when user write a specific date on that text field.......I am using MS access data base......Query below is not showing any record String date=request.getParameter("OrderDate"); String query = "SELECT * FROM DoorStepRequests where …

Software Development java microsoft-access sql
Member Avatar for stultuske
0
1K
Member Avatar for rac_engg

[B]Hello to all, I want to know how i to write code for IVR. Is there any site from where i can get help. Is VB.Net a good language for it or not.[/B] Can anybody tell how can i make an application that can store what i speak.

Software Development vb.net
Member Avatar for austincarven
0
399
Member Avatar for jed247

This is the message it gave me :( Pls help Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at javax.swing.ImageIcon.<init>(ImageIcon.java:205) at PPMSPrototype.initComponents(PPMSPrototype.java:841) at PPMSPrototype.<init>(PPMSPrototype.java:11) at PPMSPrototype$26.run(PPMSPrototype.java:1333) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDo main.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:703) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre ad.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread. java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre ad.java:150) …

Software Development gui java java-netbeans
Member Avatar for Daemon_CC
0
267
Member Avatar for ronmark.madrona

Gud day to everyone!!! Hi, I really need your help guyz, i want to connect my system and database to 2 or more computer, just like the server and client. how could it be possible?? and what you shuold i do for this project?? i hope you can help me …

Software Development client-server visual-basic
Member Avatar for ronmark.madrona_1
0
111

The End.