132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ramukumar

Hi Friends I have two server 1. server 1 2. server 2 I want to execute a shell script in server 2 from server 1. shell script will returns few data i need to check in server 1 Please help me in this

Software Development shell-scripting
Member Avatar for rch1231
0
162
Member Avatar for emchom

I am needed to create a program that could be used by judges judging a diving competition, where there is 7 judges and the lowest and highest scores are removed and the average is then calculated. this is what i have so far however it does not work. Can anyone …

Software Development python
Member Avatar for Beat_Slayer
0
1K
Member Avatar for clb8372

[CODE]For each of the following problems, use the top-down modular approach and pseudo code to design a suitable program to solve it. 1. Input names of students from the user, terminated by ZZZ, and create a data file GRADES with records of the form: student (string), test1 (integer), test2 (integer), …

Software Development c++
Member Avatar for UnderAshes2008
0
503
Member Avatar for Temmu

hi, i'm wanting to do a for loop on the last line [CODE]System.out.println(host + "\t" + status);[/CODE] of this bit of code so that when i replace [CODE]String host = "server";[/CODE] with something like this: [CODE]String hostarray[] = {"pc","server","pc2","another","etc"};[/CODE] that i get output that looks like this: Server Up? pc …

Software Development java
Member Avatar for NormR1
0
104
Member Avatar for praveenpvs

Hello Everyone I need to convert string to an image in vb.net. In my project, i need to capture the signature and show it as image. Capturing signature is done and it returns the data as string. I need to take this string and show it as image. I am …

Software Development image vb.net
Member Avatar for JRitchie777
0
3K
Member Avatar for Joeflims

Hello. I am a n00b learning to code in Python. Right now, I am working on functions and parameters. To practice, I am making a simple Celsius-to-Farenheit converter. However,whenever I run the program it returns a NameError. I am confused in my n00bishness. Please reply. Here is my code: [CODE]>>> …

Software Development python
Member Avatar for Joeflims
0
137
Member Avatar for Bigbrain99

currently I'm building a program which can take people contact and add it to a dat file. However, when I tried to run the program, i got this error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript [CODE] class Contact{ private: int phones; string email; string name; public: void …

Software Development c++
Member Avatar for Bigbrain99
0
5K
Member Avatar for ghosh22

Hii I am a learner of Perl and I am asking a silly question now, I think!! I have a text file containing: ABCDEFGHIJKLmnOPQRSTUVWxYZ Now I would like to translate those m n and x written in small letters into MN and X. How could I do that? I have …

Software Development perl
Member Avatar for mitchems
0
90
Member Avatar for student_

here is the code: [code=python] def main(): totalBudget = 4000 printOptions() option = input("What would you like to do? ") while option != 5: if option == 1: newExpence = addExpence(totalBudget) totalBudget = totalBudget - newExpence printOptions() option = input("What would you like to do? ") elif option == 2: …

Software Development python
Member Avatar for student_
0
149
Member Avatar for NordCoder

I am making an Asteroids clone using SDL and OpegGL in C++. Like most games, I needed to render text and after some hassle with SDL_ttf, I decided to try FTGL which uses Freetype2. I am using Visual Studio C++ 2008 Express Edition. There is no precompiled library included in …

Software Development c++ visual-studio
Member Avatar for NordCoder
0
614
Member Avatar for jay-tee

i have use a column of called driverIdnumber and have a Date of birth in a new column using ID number of the driver,please help katimaDM - is my data module katimaDM->tblDriver->edit(); katimaDM->tblDriver->field->fieldbyName("DriverDOB")->AsAnsiString = ............//this part im lost katimaDM->tblDriver->post();

Software Development c++
Member Avatar for jay-tee
0
86
Member Avatar for poojabi

i want to know the exact and correct definition of a linear list.should i mention about predesessor of every element too?or mentioning only one sucsessor for each element is enough to define a linear list.pls give an answear asap.i am really confused about it.

Software Development c
Member Avatar for poojabi
0
224
Member Avatar for Thyoric

Hello, I was wondering if there is a way to select areas of an image in VB .NET 2008, kind of like how you can select areas of your desktop in Windows Systems(kind of like [url]http://i49.tinypic.com/29y5cok.jpg[/url]). I've searched and searched for ways to do this, but I can't figure out …

Software Development image vb.net
Member Avatar for dskv
0
111
Member Avatar for cocoll

hello! how can i get the index of selected row in listview in mouse up? thank you

Software Development listview vb.net
Member Avatar for codeorder
0
143
Member Avatar for ultimatebuster

I currently have the budget to buy an intermediate to advanced python. The books price has to be below $50 (Canada), if possible, unless it's a really good book. Preferably there should be GUI programming in the book (not TK or QT, GTK or other toolsets preferred). Network programming (Socket) …

Software Development gui python qt socket-programming
Member Avatar for Beat_Slayer
0
168
Member Avatar for bulgin

I have the following perl script which works nicely. It takes a list of URLs from a file, looks up each one, and returns the meta-keywords for that domain. Problem is, sometimes it hangs because it goes to a site which does not respond. I'm wondering if there is a …

Software Development html-css perl
Member Avatar for mitchems
0
122
Member Avatar for PythonNewbie2

I've been googling for almost two hours now trying to find a solution, but I haven't come across anything that works yet. I followed this guide EXACTLY: [code]http://bytes.com/topic/python/insights/580045-simple-guide-using-py2exe[/code] but no results. When I run my setup.bat, a window comes up and disappears quickly. No new directories are created but I …

Software Development python
Member Avatar for Beat_Slayer
0
145
Member Avatar for lukechris

Hi, I am requesting code for a countdown timer please, where 2 labels (Minutes label = label6 and Seconds label = label7) I have tried for a long time to try and get this to work, and it has to be "Hours:Minute" format. I will add below the awful start …

Software Development vb.net
Member Avatar for codeorder
0
443
Member Avatar for prit05

i want to develop a parallel thread based application , so which is best language for it??

Software Development c++ java
Member Avatar for Duki
0
179
Member Avatar for Naveed_786

Hi guys, I am using this code to update a record after searching but it gives me error here is my code please please help [CODE] Dim con As New SqlClient.SqlConnection Dim strCon As String = "Data Source=ITS;Initial Catalog=Payment;Integrated Security=True" Dim strCommand As String = "SELECT * FROM CustomerInformation WHERE …

Software Development dataset open-source vb.net
Member Avatar for pabloh007
0
137
Member Avatar for trakyng

Hello i want to know how to edit the console font, width and height. If there is any script, could you post it?. And thanks.

Software Development python
Member Avatar for trakyng
0
86
Member Avatar for NewOrder

the few things that i cant understand are inside the code.. The code should give out the car type, model type ,serial number. and the number of cars.. [CODE]public class part5{ public static void main(String[] args) { System.out.println(Car.getCounter()); Car[] cars =new Car[5]; for (int i = 0; i < cars.length; …

Software Development java
Member Avatar for NewOrder
0
237
Member Avatar for cocoll

hello! i need help with mouse click. i need to place in a timer_tick a code that detect if i clicked with the mouse. so i know that i can use on mouse click event ,but i have many and many controls so it's take a lot of time and …

Software Development vb.net
Member Avatar for codeorder
0
133
Member Avatar for cleve23

Hi all, I currently working on a python program with the use of wxpython to make out a gui application. However, i wish to compile my application to be like a standalone application where people can just get the .exe file and run it without installing python and wxpython. I …

Software Development gui python
Member Avatar for snippsat
0
117
Member Avatar for whelhelmsoriano

hello i want to create a C++ program in this view 1 2 3 4 5 6 7 8 9

Software Development c++
Member Avatar for sfuo
0
78
Member Avatar for mooseable

I have been learning VB.NET and am currently having troubles retrieving data from an XML file. I'm trying to keep the code as simple as possible as I only need to select single items from an XML file, not rows of data. The XML file contains: [code]<CurrentPeakUsage xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://au.com.amnet.memberutils/"> …

Software Development peer-to-peer vb.net xml
Member Avatar for mooseable
0
219
Member Avatar for michdd

I'm trying to create some type of callback system for events. I have a function where I'm attempting to set a member to a pointer to a function but I'm receiving an error. This is what I attempted to do: [CODE]void (MyClass::*test)() = &MyClass::TestCallback; EnterButton->SetCallback(test);[/CODE] And then in the class …

Software Development c++
Member Avatar for mike_2000_17
0
189
Member Avatar for junichiro90

guys, i have a project that have to implement a reservation system by using java. Is it database the only way to store the data? Is there other method beside by using database? If database is the only way to do that, can anyone tell me how to do so …

Software Development java
Member Avatar for JamesCherrill
0
126
Member Avatar for toronto

Hello Guys, I am new to Shell Scrpting but I am learning quickly. My script looks as follows: #!/bin/sh su - postgres echo "Please enter the password for a2billing user and confirm it: " createuser -W -S -d -r -e a2billinguser createdb -e -O a2billinguser a2billing exit 0 With above, …

Software Development shell-scripting
Member Avatar for masijade
0
1K
Member Avatar for techie1991

I want to sort a list of dictionaries using the inbuilt sort() function for lists. The problem is I am not able to understand, how to give the function a key.. Example: [CODE] a={'name':1,'data':200} b={'name':2,'data':400} c=[a,b] [/CODE] Now, I want to sort the list c with the key being a['name']. …

Software Development algorithm python
Member Avatar for TrustyTony
0
229
Member Avatar for mommabear

[COLOR="Green"]Hello I've just joined this forum, although I have used it regularly in the last couple of months to help in my learning of programming. I have learned a lot (I feel), and I'm now hoping to not only resolve the errors I have in my coding, but to gain …

Software Development c++
Member Avatar for mike_2000_17
0
351
Member Avatar for kenn1213

Im not really in the major of c++ or I.T i need your help [B]The Fibonacci Sequence it must lead the sequence 0,1,1,2,3,5,8,13,21.... A program that will generate a Fibonacci of a specified length given the first 2 numbers in the sequence. First input an integer N that specifies the …

Software Development c++
Member Avatar for kenn1213
0
176
Member Avatar for jemz

hello can you help me i don't know how to make this method remove(Node n),in SinglyLinkedList can anyone give a hand on this.. thank you in advance.hoping for your positive responds... [CODE] public class SinglyLinkedList { private Node head; private Node tail; private int size = 0; public Node add(Node …

Software Development java
Member Avatar for jemz
0
289
Member Avatar for prem2

Hi all, Static Methods : static methods can access only static variables.It cannot access instance variables. static methods can call another static methods without the objects. static methods can call instance methods using the object of the class. Instance Methods: Instance methods can access static variables also instance variables. Instacne …

Software Development java
Member Avatar for jon.kiparsky
0
1K
Member Avatar for dflatt

i keep having a problem with my arrays. when i set them up and try to re-use them elsewhere i only get the last part of the array and all the rest are pointers. [CODE] typedef int* ptr; ptr sub;//dynamic int count = end - start; //the sub-array's size is …

Software Development c++
Member Avatar for dflatt
0
72
Member Avatar for HumanBeing86

here is my codes, i plan to output the name and the weight. but no matter i try many time it still give me an output only output should be this-> Name = Meow Weight = 10.5 whereas what am I getting is Weight = 10.5, why? thx [CODE]#include <iostream> …

Software Development c++
Member Avatar for vijayan121
0
152
Member Avatar for Bench

For anyone who gets fed up with the somewhat verbose syntax involved in populating an STL map container with static arrays of std::pair (Or any of the other somewhat tedious ways of writing 'pair' combinations), here is a function which allows two different (statically allocated) arrays, of equal length, to …

Software Development c++
Member Avatar for vijayan121
0
2K
Member Avatar for ueoptimum

[CODE]import java.io.*; public class DCS2{ public static void main (String [] args) throws IOException{ BufferedReader myInput = new BufferedReader (new InputStreamReader(System.in)); int code, al, nmp, brc; float tf = 0 , ir = 0; String name = "" , description = ""; System.out.println ("Enter Your Barrower's Name"); name = myInput.readLine(); …

Software Development java java-swing
Member Avatar for javaAddict
0
136
Member Avatar for HumanBeing86

hmm....why I can't get the output?? any wrong ?? thx for helping... #include <iostream> using namespace std; const int SIZE = 3; class Course { string* students; public: Course (string* students); ~Course (); void print(); }; Course::Course (string* students) { students = new string[SIZE]; for(int i=0; i<SIZE; i++){ students[i]=Course.students[i]; } …

Software Development c++
Member Avatar for NicAx64
0
155
Member Avatar for capsitan

I am doing a payroll program that requires a sentinel value. I cant seem to get it right no matter how much I try. here is my code so far: //Filename: Payroll3.java //Description: Payroll calculator with sentinel loop //Author Name: Chris Russo //Date: 08/15/2010 import java.util.Scanner; public class Payroll3New { …

Software Development java
Member Avatar for tong1
0
161
Member Avatar for HumanBeing86

Hi all... I am a new c++ learner. I'm facing a little problem. according the code below I try to display the output from the loop... but no matter how I trying it still can not work.... here is my codes... anyone can tell me which part am I wrong …

Software Development c++
Member Avatar for Fbody
0
137
Member Avatar for jk_bscomp

Hello, everyone!!! I just want to ask if you anyone here knows how to compile java file in linux specifically UBUNTU. For example, I have a java file named Hello.java and saved at my desktop. how do I compile and run this file using the terminal of ubuntu... By the …

Software Development java ubuntu
Member Avatar for tong1
0
368
Member Avatar for psionic

This may really simple to most people on here but i'm going crazy trying to work it out. I was set a task by someone to write a bit of code in C to do the following: 1) Ask Operator to enter 2 things - a letter of the alphabet, …

Software Development c display
Member Avatar for srinivasan106
0
365
Member Avatar for empyrean

We have an application developed in WPF. i wanted to implement one functionality here. my main window, lets call it as MainWindow. And the windows that can be opened from the MainWindow are independent. they are not child windows. They have links from main window. MainWindow - Window1 - Window11 …

Software Development
Member Avatar for Geekitygeek
0
114
Member Avatar for nivasmaran

How to connect css into our program in ASP.Net?

Software Development asp asp.net html-css
Member Avatar for Sodabread
0
70
Member Avatar for MaiHunDown

what is the code for showing the button_Click event in a text box.....?

Software Development c#
Member Avatar for hassan12345
0
129
Member Avatar for embooglement

I'm developing a game engine, and set up a function that uses string streams to convert various values into std::string's. To use this to string function on class obviously takes an overloaded insertion operator, which I have done for a transformation matrix class here: [code] typedef std::stringstream StreamString; StringStream& operator<<(StringStream& …

Software Development c++ visual-studio
Member Avatar for embooglement
0
2K
Member Avatar for zapman2003

Hello! I am having issues with a project for my C class. We were provided the program shell (structs and the function calls) and we fill in the code for the functions. I did this, however I get a segmentation fault every time I first access my structures. Can anyone …

Software Development c
Member Avatar for blech
0
109
Member Avatar for G_Waddell

Hi All, I'm using VB.net to create a batch of word documents using the Microsoft Office OpenXML SDK. The documents are made up of a header and the main body which is made up of a table. I can sucessfully create the table in the main body. The issue is …

Software Development microsoft-office vb.net xml
Member Avatar for G_Waddell
0
259
Member Avatar for playdaguigame

hi, i was supposed to write a program in jgrasp, using java, i am a grade 12 learner, my program needs to have gui, my program compiles with no errors, when i run it it gives me my error message - "problem with showdata" - and only fills the first …

Software Development data-science gui java
Member Avatar for javaAddict
0
101

The End.