132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
[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++ | |
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 | |
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 … | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 … | |
hello! how can i get the index of selected row in listview in mouse up? thank you | |
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 | |
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 … | |
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 | |
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 | |
i want to develop a parallel thread based application , so which is best language for it?? | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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++ | |
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 | |
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']. … | |
[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++ | |
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++ | |
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 | |
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 | |
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++ | |
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++ | |
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++ | |
[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 | |
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++ | |
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 | |
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++ | |
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 … | |
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, … | |
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 | |
How to connect css into our program in ASP.Net? | |
what is the code for showing the button_Click event in a text box.....? Software Development c# | |
![]() | 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 ![]() |
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 | |
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 | |
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 |
The End.