199,114 Archived Topics
Remove Filter ![]() | |
I Need Some Help With A Program I Am Making I Have Created 2 Program One To Create The File And The Main Program. But There Is One Problem When Ever More Data Is Added To The End Of The File It Copy's The First Lot Of Data And Starts … | |
The assignment calls for me to find the area with the fewest accidents (north, south, east, west, central) in a city. I am to write two functions: -getNumAccidents() is passed the name of the region. It asks user for the number of auto accidents in the region, validates info, and … | |
Write a program that prints point number through the keyboard and perform the square roots and display the result with 4 digits of decision ti the right of the decimal point i need a help so badly. | |
Hi All, I have created a two frames(Frame-1 and Frame-2) using BOA Constructor. Frame-1 has a button on it. On click of this button frame-2 is popped up to the user. I want the focus to be set only on Frame-2. What I mean is that: The application should not … | |
Hi all, I have used a status bar on my frame developed in BOA Constructor. I want to split my status bar into two parts in proportion of .75 and .25 i.e., First part should be 75% and 2nd part should be 25% of the total. And then at various … | |
please help me. urgent i have one date in a txtBox1.what i want is, after i click the button, the other date will appear on txtBox2. [B]The other date[/B] is the date after several days such as 7 days. so, how or what the coding to enable the other date … | |
![]() | Use the given void function. This function will find the flight whose departure time is closest to desired_time(expressed in minutes since midnight). It will store the departure and arrival times of this flight (minutes also) in the variables pointed to by departure_time and arrival_time, respectively. Here's what I've gotten so … |
Hi everyone and thanks for reading. I started a project a while ago and am stuck on how to proceed processing this form. It's a very simple form but I'm still at a mental roadblock regarding how to proceed from this point. The idea is that the form is a … | |
Hello, I have created a project in C#.net and I want now that created exe run only once on any particular machine after installation. Can any body told us how to do it. Regards Avadhesh | |
I am going to develop a roadway traffic light simulator using java as my academic project. I have captured ideas about so from searching internets .I have to build a system which simulates a traffic network and the traffic flow is regulated using a fixed time controller first and then … | |
[CODE=VB.NET] Dim dr As DataRow Dim dt As DataTable Dim ds As DataSet ds = DataSet2 dt = ds.Tables("firm") dr = dt.NewRow() dr.Item("f_num") = 9999 dr.Item("f_name") = "samir" 'txt_FarmName.Text dr.Item("f_floor") = 10 'Val(txt_FloorCnt.Text) dr.Item("f_type") = "C" ' Left (com_CusType.Text, 1) ds.Tables("firm").Rows.Add(dr) [/CODE] as I am reading from an example? there … | |
Hello there, im doing a small program just like a packet sniffer but i have a one problem.Below are the codes which are used to list all the network interfaces and the output will be something like this: 1.Interface Name's: lo / MS TCP Loopback interface Address: 127.0.0.1 2.Interface Name's: … | |
Create a class and add these two methods to it : // for postback events public static void ShowMessageBox(string _message) { Page page = HttpContext.Current.Handler as Page; page.RegisterStartupScript("key2", "<script>alert('" + _message + "');</script>"); } // for async postback events public static void ShowMessageBoxForAsync(string _message) { Page page = HttpContext.Current.Handler as … | |
Hi. :-) I'm relatively new to PHP/CSS although I'm figuring it out by trial and error. Uh, mostly error... The problem is that there is a big gap between my CATEGORIES and SUBCATEGORIES on the front page of my directory. I'm guessing the culprit is this line: [CODE]<p class="subcats">[/CODE] which … | |
Hi, I would like to know, how can I disable registrations of users from the site and instead only allow users to register if they have an invitation sent from the admin... this is for invision power board. Thanks | |
how can i refer to the individual elements of a formview outside the control? i want to access the value of qustidlabel outside the formview control | |
Suppose I were to use a code in my program very similar to this one: [url]http://www.codeproject.com/KB/IP/ftpclientclass.aspx[/url] What headers would I need to use? The tutorial doesn't state that, I downloaded their sample source codes for the compiler I use (Bloodshed) and none of the multiple example source codes' headers worked … | |
ok now im working on another code. i have to add two arrays together to form one array. all that i am getting for the output is 2. here is the code...i know i am missing a few things but i just do not know what exactly. i # some … | |
I am trying to write a basic amortization calculator program in JavaScript and I am at a standstill. I have researched my issue online for hours without being able to come up with a resolution. In my program I have created a "for" loop which loops for the appropriate loan … | |
This is my code so far [code] #include<fstream> #include<iostream> #include<cstdlib> #include<stdlib.h> using namespace std; const int MAX_GENERATED = 100; void fillArray(int a[], int size, int& numberUsed); //prototype int main () { int array[MAX_GENERATED], numberUsed; fillArray (array, MAX_GENERATED, numberUsed); getchar (); getchar (); return 0; } void fillArray( int array[], int … | |
[code]An ISBN (International Standard Book Number) identifies a unique publication. An ISBN is ten digits. The first nine digits must be decimal digits (0...9). The tenth may a decimal digit or the letter X, according to the checksum, discussed below. Three single dashes may be between any of the characters, … | |
I doing a project about Genetic Algorithm (GA). I'm looking for some book that shows GA in Java. Please advise. [COLOR="Green"]Books[/COLOR] [COLOR="Red"]Websites[/COLOR] [COLOR="Green"]Journals[/COLOR] [COLOR="Red"]White Papers/ Publications[/COLOR] | |
Ok, I have here a program where I'm trying to read a specific line from a file, store it as a string of characters, and then, if the right string of characters is stored, perform specific tasks. When I run this program I only get 11 of the characters stored … | |
Hi. I have mini sites which were working fine. However, suddenly all of them gives the same error message [B]XML error: > required at line 14[/B] and the google news do not load. I use godaddy service. I could not understand where this problem comes from and how it can … | |
Hi, I am creating a game the asks the user if they want to play again at the end. If the user answers yes, I want python to execute the program again starting from the beginning. I have tried searching, but could not find anything. Is there anything in Python … | |
Hello Friends, I am trying to implement the Recurrent Reinforcement Learning algorithm found in [URL="http://www.klab.caltech.edu/refweb/paper/425.pdf"]this paper[/URL] I am hoping that someone here can help me develop at least a pseudo code version of the algorithm. I plan to implement the final version in C#. This is for a school project … | |
[COLOR="Red"]Hey, Im making a program in C++ that detects what the user types before pressing enter. So it uses GetAsyncKeyState in the following way: [CODE] #include <iostream> #include <fstream> #include <windows.h> using namespace std; int main() { SetCurrentDirectory("C:\\"); ofstream log; char loop; string input; loop = 'a'; while(loop = 'a') … | |
Is there a way to center align [COLOR="Red"]"text"[/COLOR]using cout<< in regards to the console screen position? thanks | |
I'm refreshing my mind of my C++ skills, and my older brother had the idea of creating a medieval text-based game! He's making all the ideas and all that, and I'm the code monkey programming it. Here's the code: main.cpp: [CODE=c++]#include <iostream> #include <string> #include "CLASHinfo.h" using namespace std; int … | |
I have a project for which I need to use turtle. I'm very new to python, and our teacher didn't really explain how to use turtle. What's the basic format I need to use to draw a polygon? I have to define a function, polygon(), and run it with two … | |
I am gonna start off saying that I am new to C++, and I have little programming knowledge (just Q Basic, and it has been a while since I have used that), and I need help on an assignment in my C++ class. We have to use a case function … | |
please can u help me with all basic VB coding like... if command button is clicked from one form how can i link it to another form in the same project and a few examples of simple codings at the basic level... thankx a lot! | |
What am I missing here? [CODE]#include <iostream> using std::cout; #include <vector> using std::vector; #include <string> using std::string; #include <algorithm> using std::copy; using std::remove; #include <iterator> using std::ostream_iterator; #include <utility> using std::pair; vector<string>& descend(const char *path, const char *pattern, vector<string> &filelist); void search(const char *path, const char *pattern, vector<string> &filelist); [COLOR="Red"]std::ostream& … | |
Hi, assuming that Element is a class,I prefer to create an array of objects size of which is unknown in this way: [icode]Element *elementArray = new Element[length];[/icode] Is there another way to create an array of objects size of which is unknown without using new key(without malloc too)? I am … | |
Hi am new at java and I was wondering what would be a code to remove it if i provide the coeff I know is -Given the index you want to remove -set the node at the previous index to point to the node at the next index -set the … | |
When I am trying to install Python on my computer I get the error "administrative rights are required". It is only one account on my computer so I do not understand the message. | |
Hi Excuse me but i came again Can someone learn me how to work with py2exe? thanks | |
How would I go about creating a recordset with two WHERE clauses in it? Basically, I have a list and detail pages for a team assignment. In the list page, there are two fields that have to be concatenated to show full names. In the user table they have different … | |
HELLO every one:) >> could any one help me to solve this program :icon_neutral: >> and explain it to me >> download the file bellow ....:$ | |
How do i make for example an x move using your arrows in a console application? | |
I have been given a project in my Python class that reads in a file, and in the file, 32 attributes are given to determine if a lump is either a benign or a malignant tumor. In my trainClassifier function, I have to find each attributes total for both malin. … | |
This is my default screen(output): a - Add a friend m - Modify a friend's p - Print list of friend's s - Search by Last name (a, m , p , s is what the users type to access that part of the database) a - For my addFriend's … | |
So I am getting into the swing of python in my class, and am currently trying to take a program from an example, and making it much more condensed. The issue I am having, is there are many classes for a tkinter guessing game. [ICODE]def question5(): if entry5.get() in ["Samus", … | |
Hi guys, I coding a page to save the first name in the database, iam having a problem and I want you to help me please.. aspx page code [CODE] <%@ Page Language="C#" AutoEventWireup="true" CodeFile="CompanyInfo.aspx.cs" Inherits="CompanyInfo" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> … | |
Hey all - i am working on an assignment in which i previously created a class to create a Binary Tree. The follow up assignment was to create a Binary Search Tree... but using all the BT methods except an additional couple and obviously a different insert method to stop … | |
If i have 5 int variables with values stored in them, is there a command to find the lowest valued variable? | |
Hi guys, Im brand new to doing tansformations and cannot seem to wrap my head around it. I have a Xml File which looks something like [code] <parentNode> <childnode1 att1="1" att2="2"/> <childnode2></childnode2> <childnode1 att1="1" att2="2"/> <childnode21></childnode21> <childnode1 att1="1" att2="2"/> <childnode22></childnode22> <childnode1 att1="1" att2="2"/> <childnode23></childnode23> <childnode1 att1="1" att2="2"/> <childnode24></childnode24> <optionalNode></optionalNode> </parentNode> … | |
What is wrong with my code. it poulates the arraylist with only the filename "c:\testfile.txt" i need it to populate it with the contents of the file. [code] private ArrayList<String> Files2Delete = new ArrayList<String>(); private String fName = "c:\\TestFile.txt"; private void fileCollection () { Scanner in = new Scanner(fName); int … | |
Hello everyone. I have really screwed up this code and can't seem to figure out all the things that is wrong with it. Can someone point me in the right direction? Thanks! ~Amy [code] <?php /* Program name: listings.php * Description: This will pull some of the customer's information * … | |
Can any one translate to c++ one line of the code pleas [CODE] int column = this->dataGrid1->get_CurrentCell().get_ColumnNumber(); [/CODE] |
The End.