132,726 Archived Topics
Remove Filter ![]() | |
i need help writing a program that asks the user to enter an objects mass, and then calculates its weight object> 1000 newtons display a message that it is to heavy object<10 newtons display indiccating that it is to light weight = mass x 9.8 Software Development python | |
[B]Solving systems of Linear equations using Iteration: You are required to write a Python program which will solve system of linear equations with 3 unknowns (to be entered by the user). Your program should display a menu which will allow the user to choose whether he wants to (1) coefficients … Software Development python | |
Hey all. I've made stacks aplenty in Java before; my C++ is a bit rusty though, so I thought this would be a good project for me. Turns out I was rustier than I thought! So here's the situation: I've made classes LinkedNode, jStack, and Test. Test simply holds an … Software Development c++ | |
Hi everyone What i am doing now is creating a program that the user can change the way buttons look half way through. My problem is i couldnt work out how to update the wx.Button's style while the program is running. I was wondering if anyone could help me for … Software Development python | |
Hello everyone...i need help with text file in c++,i know that we can append like ios::app and into a text file.....i need help in inserting a particular string to a particular line in a text file.....is that possible....So far i only knw tht it will append at the bottom of … Software Development app-store c++ file-system ios | |
Hi, People can you please help me on how to start the connections using SQL Server and C#.NET. I have the following tools in my PC but I don't know how to start,from the very beginning. Can you please send me a link on how to start. Badly needed. Your … | |
I'm currently working on a project to display Pascal's Triangle and the binomials up to a certain row that the user inputs. I have the triangle done, but I'm having a bit of trouble getting the binomials to work. This is what the output should look like for the binomials: … Software Development pascal | |
Hi everyone, Need a small help. I need to read the data from stdin (standard input) without hitting enter. Need to read the data as in and when they are typed in until EOF (CTRL + D as I am using UNIX) is encountered. I tried, getc() - requires ENTER … | |
I am determining what method to call by using the runtime class. My problem is whenever I pass in a null object, obviously it will throw a null reference exception. How are you able to determine at runtime the class of a null object. Although its null i need to … Software Development java | |
I'm trying to read a line from a text document so I can move it into an array. So I've tried to get this to work out and it stops when it sees the "while" line. [CODE]void input (ifstream& file, int& end, string word[]) { int x = 0; string … Software Development c++ | |
Okay, I have this program I have to write. I think I get the basis of the idea, but I'm a little confused about parts of the instructions. Here's the instructions. [B]Write a C++ program that uses bit strings to represent sets, and finds A^B, AUB, A-B, where A and … Software Development c++ | |
Hello i have a quick question working on a hangman project and have most of it done but i was wondering how to count how many letters a word has in order to have the right amount of spaces wondering if a function or something exists or a link to … Software Development c++ | |
i have a modsecurity log that i want to pull a couple things from. here is an example line [05/Mar/2008:12:50:07 --0800] [[url]www.mydomain.com/sid#1ef44178][/url][rid#2042fa58][//member/index.php][2] Warning. Match of "rx ^OPTIONS$" against "REQUEST_METHOD" required. [file "/usr/local/apache2/modsec/modsecurity_crs_21_protocol_anomalies.conf"] [line "41"] [id "960015"] [msg "Request Missing an Accept Header"] [severity "CRITICAL"] [tag "PROTOCOL_VIOLATION/MISSING_HEADER"] so i want to … Software Development shell-scripting | |
hi im new to java and just need a little help in the right direction. I am trying to display an input of int on number at a time. So for example the user would enter 1998 and the output would be: 1 9 9 8 and we have to … Software Development java | |
Hi, My problem is that I need to tell class A to repaint, but from class B. Class B will be a thread that updates components of class A and will eventually tell A to repaint. The basic idea of my code is as follows: [CODE] class A extends JPanel{ … Software Development java java-swing | |
Hello friends, I inform you that on the web [url]http://delphimagic.blogspot.com[/url] have a selection of good tricks in Delphi. I hope you like. Javier | |
hi, im creating a simple game here...its a shooting game...so how can I make my program read the keyboard to control the player's movement around?tnx in advance Software Development c++ | |
Hi, I have created a login form that has adminid and password.. I use visual studio 2005,database access. login form work smoothly when i enter the correct adminid and password but never display an error message if wrong data was entered or no data was entered. I need a help … Software Development microsoft-access open-source visual-studio | |
hi guys, i have declared a char pointer. i am using this in itoa() function to convert integer data into hex data e.g [code] char * hexData= NULL; itoa(1484820,hexData,16);[/code] this results in equalent of 1484820 in hex decimal and store it in hexData. now when I want to some process … Software Development c++ | |
Hey guys! im triyng to run these example codes for a simple connection using these libs, and these errors occurs: codes: [ICODE] #server import SimpleXMLRPCServer from datetime import datetime server = SimpleXMLRPCServer.SimpleXMLRPCServer(("localhost", 8888)) server.register_instance(datetime) server.serve_forever()[/ICODE] [ICODE] #client import xmlrpclib server = xmlrpclib.ServerProxy("http://localhost:8888") print server.now()[/ICODE] en the errors: Traceback (most recent … Software Development client-server python xml | |
PLZ HELP ME OUT ON THIS...ITS VERY URGENT..... Hi...plz help me out on this...i have stuck up here for past many days... 1) Plz tell me how to update the Database Table from the datagrid... here is my code : ITS A ATTENDANCE FORM CODE... I AM RETRIVING MY ATTENDANCE … | |
[B]any help me urgent i have a list box in my form in that i want to display empname and empid from database[/B] Software Development vb.net | |
:'( please help... i want to know the syntax in the checkbox and option button.... any idea please.... :?: Software Development vb.net visual-basic | |
pls help me with my code! it wont align! T_T i cant get it to work correctly! pls help guys! heres the screenshot! the date wont align huhu! [IMG]http://img72.imageshack.us/img72/4647/helprk3.jpg[/IMG] [code] #include<stdio.h> #include<string.h> #include<conio.h> int getNumberOfDays(int month,int year) { switch(month) { case 1 : return(31); case 2 : if(year%4==0) return(29); else … Software Development c | |
i am using glob.glob('') function to get a list of all files from a folder. I need to get only those names which do not contain '_ab' in it. How is it possible. I understand the need for regular expressions here. i tried (?!....) . what should work here. example … Software Development python | |
Hey professionals, I use DataGridView that allows me to add new rows in table. But when I want to delete it by clicking on my deleting button with following code: DataGridView.Rows.RemoveAt(DataGridView.CurrentCell.RowIndex); ...it makes problems, others rows aren't problematic to delete but this is. But not on purpose I want to … | |
Hi friends, I have a custom tree control(Tree control) and a check list box placed next to each other on a frame.i.e., tree control on the left side of the frame and check list box on the right. I need to place sizers such that on exapnsion of the frame, … Software Development python | |
[CODE] Imports System.Data.OleDb Module Module1 Sub Main() Dim Cn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\mibase.mdb;Persist Security Info=False") Cn.Open() Dim comando As OleDbCommand comando = New OleDbCommand() comando.CommandText = String.Format("SELECT Telefono FROM empleados ") comando.Connection = Cn Dim lector As OleDbDataReader lector = comando.ExecuteReader Do While lector.Read Console.WriteLine(lector("Telefono")) Loop Dim nombres As New … Software Development open-source vb.net | |
I have a datagridview with three columns namly column A, column B, column C. column A has a column type of DataGridViewTextBoxColumn. while column B and column C has a column type of DataGridViewComboBoxColumn. The problem is this.... During form_load I want the column type of column B and column … Software Development | |
hi guys, I want to call win32 dll in C#. It has parameters encode(char *argv[]). what i have to write in in C# in the placa of char *argv[]. I have make my efforts see my code below but vain. [code] // in C++ int ConvertBinToAmt(char JFIF_NTSC_XML_File1[],char JFIF_NTSC_XML_File2[], char DestinationFolderName[],char … | |
I need help with program i cant find a way to get rid of the error and if i think a little bit more my head will explode this is a 2day program for me [CODE]#include <iostream> #include <stdio.h> #include "simpio.h" #include "strlib.h" #include "random.h" #include "string.h" using namespace std; … Software Development c visual-studio | |
I'm making a program that involves the copy and pasting of a piece of text into a TEditBox and submitting the text into 4 different columns in a TListBox. This program is actually for a game called FlashFlashRevolution (great free, online, ddr-like game if anyone wants to try it out). … Software Development pascal | |
Hi, how to declare optional parameters in C#. Like... public void test(int a, Optional int b) Thanks in advance. Software Development c# | |
Hi friends... I have a frame with a panel which contains a static bitmap. On resizing or expansion of frame, I want the bit map to be at the centre position with refernece to the frame always irrespective of the size of the frame. Please help!!! Regards, Dinil Software Development python | |
Can anyone help me make a pseudocode for this function....cause its really difficult:'( [CODE]int updateRecord( FILE *fPtr ) { int account; /* account number */ double transaction; /* transaction amount */ /* create clientData with no information */ struct clientData c = { 0, "", "", 0.0 }; /* obtain … Software Development c | |
Hey guys, well first off i'm a new member here. My question is how do you go about killing/stopping a process? Thanks, Clipper34. Software Development c++ | |
Can I use getline to get two lines of string data? for example: [CODE]string line; string myfile; ifstream file; file.open(myfile.c_str()); while(!myfile.eof()) { getline(myfile, line) }[/CODE] Software Development c++ | |
Hi, With the same GetOpenFileName(...) I have one problem. when this displays the dialog with files, the time displayed in the date field will not be local time. Instead GMT time. How I can Change this. i.e in the mobile, time is set as GMT + 5.30 New Delhi. At … | |
Here is the header file I was given to use [code] // // ministack.h // #ifndef MINISTACK_H #define MINISTACK_H const int MINI_STACK_SIZE = 5; // Fixed number of element in stack class MiniStack { private: int num; // Number of values stored in MiniStack char* stackPtr; // Pointer to array … Software Development c++ | |
hi every1... i hv a doubt in updating my date... i hv a textbox asking for the number of days(days1).... n a dtpicker1 that should show the date after the number of days(days1) from the date the form is run and submitted.... there is a lable today that takes the … Software Development visual-basic | |
Hello everyone. I am trying to create a program that reads these values / strings from a file: 170 Lipstick 250 Orange Crush 350 Chickadee 450 Green Grass 550 Monaco 750 Toffee Crunch Then I am supposed to create a menu that prompts the user to provide either the number … | |
I need to average the numbers in the array and display and also detemine the letter grade and display. I've managed to average the numbers but I am unable to display the lettergrade, (won't compile) I think it has to do with "Average Grade" being a constant string This is … Software Development vb.net | |
I have created a class module, and my program creates many instances of the class. Each object has a lot of data, and I want to be able to create a new instance that is a copy of an existing instance. I can't figure out a automatic way to do … Software Development visual-basic | |
ok, so I just started looping today and the simpler programs are all right, but we got a pretty complex assignment which I am pretty lost on. here's the assignment: [I]Write a program that updates a person’s bank balance based on withdrawals and deposits. Ask the user to enter the … Software Development c++ | |
Hey all, still working on my lil program. But now that I'm getting into loops I'm pretty confused on this one. Needless to say I think this is the first while loop I have used since I started python about a week ago. What I'm trying to do at this … Software Development python | |
I've been overloading some methods for a template class. This means I can write my code in this way. [CODE=c++] myClass var3=var2+4; [/CODE] Is it possible to do it the otherway around like [CODE=c++] myClass var3=4+var2; [/CODE] I know that the end result will be the same, I was just … Software Development c++ | |
Dear friends I am electrical engineer of 54 yr age. Recently, I have developed interest in vb6. Vb.net is too complex for me to understand. At present I am trying to develop a software in which family details are to entered. family.mdb is having tables, name, place & family. To … Software Development vb.net visual-basic |
The End.