132,726 Archived Topics
Remove Filter ![]() | |
Hi there, I'm making a simple shell program in [B]pico using Unix[/B]. I was given most the code from a tutor and added bits to it, it's supposed to go to a prompt allowing user to type but instead it does nothing. [B]No errors are shown.[/B] Btw: i use [B]gcc … Software Development shell-scripting unix | |
I have NO idea what I'm doing... I need to link an exe to my c++ project. The problem is, I don't know the code! Help if you can. Software Development c++ | |
There's no error. The code just stops after you enter the fahrenheit [CODE]#include <iostream> #include <iomanip> using namespace std; //function prototypes void getFahrenheit(int &); void calcCelsius(int, double &); void displayCelsius(double); int main() { //declare variables int fahrenheit = 0; double celsius = 0.0; //get input item getFahrenheit(fahrenheit); //calculate Celsius calcCelsius(fahrenheit, … Software Development c++ | |
need help again>>> hi! i need c++ codes that will translate a sentence into another language using only arrays and pointers.. all help will be very much appreciated.. thanks.. Software Development c++ | |
I have just started to learn python (Learning Python), and I am trying to move some files to another folder that are over a week old. I keep getting an error about the files not existing. import shutil, sys, time, os src = 'c:/users/wca36050/temp1' dst = 'c:/users/wca36050/temp2' now = time.time() … Software Development python | |
I'm trying to make a blackjack game but I'm having a little trouble with a do/while loop. Maybe a do/while loop isn't the right kind of loop to be using? I dunno, you tell me. Here's the code: #include <cstdlib> #include <iostream> #include <string> #include <sstream> #include <ctime> using namespace … Software Development c++ | |
I can't seem to get a comma embedded string (i.e. an LDIF DN value) to save as a key in an associative list without the value being interpreted as a list itself. I can't find a method that will cause the value of the string variable to be interpreted intact … Software Development python | |
Hi guys, I'm new to the forum and to progamming. I've started following a set of online video lectures as an introduction to programming using python. One of the problem they asked to solve is to create a simple program that computes and prints the 1000th prime number. I got … Software Development python | |
I have an excel file SpeedStudy.xls located in (C:/files). I need to extract specific cell values to be displayed in a DataGridView. For example: I need the value of Cell: B6 to be displayed in the DataGridView under the Road column. Any ideas to get me started? How can I … Software Development vb.net | |
Hi All, I want to create a event on a static variable of the class. The intention is to notify the class whenever the static variable value is changed, so that it can do some processings. Please help me do this. Thanks & Regards Nishant Guarav Software Development c# | |
Never mind, my bad, I figured it out. :P Software Development | |
I'm using VS2005 ... when you set a button image, is that image stored in the app's resources like the icon is, or do I have to do that manually. Now, don't think I'm crazy for asking this... :P I was a long time Delphi user, and in Delphi when … Software Development delphi visual-studio | |
I'm writing an app that requires a list from Python to be read into an array in C++. The problem I'm having is that I can't get my code to work under any version of Python after 2.4, and I don't think I'm using any deprecated functions. It runs fine … | |
Hello guys. I have more Windows Forms Application, and i want to set which Form to start when i enter in my application. For example ... first i created the first form, [B]Form1[/B], and this appears when i run my program. After, i created [B]Form2[/B] ... i want, like when … Software Development | |
New to Java. I am trying to display the contents of my ArrayList. In the ArrayList are objects based off the Class PalletLocations. If I loop through the ArrayList I just get the object name/location (not sure what it is). For example "wms.PalletLocations@30fc1f". [CODE]ArrayList<PalletLocations> palletLocList = new ArrayList<PalletLocations>(); PalletLocations palLoc … Software Development java | |
When I created new project I went to [I]Solution Explorer[/I] and in [I]Properties[/I] I double clicked on [I]Resources.resx[/I]. Here I clicked on [I]Add Resource[/I] and [I]Add Existing File[/I]. Selected images been added and I can use them for darg&drop on form. My problem is I need to create sort of … Software Development image | |
I have this program I have to write that calculates the volume of a pool and then displays the results along with how much water is needed to fill the pool and the cost to fill the pool if the cost is .77 cents per cubic foot plus a one … Software Development java java-swing | |
Hi everyone, first time here! Well I was interested in programming and thought that I might start programming first with Java. I am a complete newbie at Programming and so I thought that starting with Java will be good. What do you guys think about Java? Also I was wondering … Software Development java | |
My assignment is to Write an application that reads a non-negative integer and prints the factorial of the integer using the for loop. I am hopelessly lost and don't even know where to begin with this. Does anyone have any advise to get me started? Thank you Software Development java | |
[CODE]import java.io.*; public class ftp { public ftp() { URL url = new URL("ftp://username:password@ftp.whatever.com/file.zip;type=i"); URLConnection con = url.openConnection(); BufferedInputStream in = new BufferedInputStream(con.getInputStream()); FileOutputStream out = new FileOutputStream("C:\\file.zip"); int i = 0; byte[] bytesIn = new byte[1024]; while ((i = in.read(bytesIn)) >= 0) { out.write(bytesIn, 0, i); } out.close(); in.close(); … Software Development java | |
Hello, I am doing a homework assignment and I am getting an "illegal character" error and I don't understand. The assignment is to use an array to calculate three mortgage payments based on three differnt rates and terms in years. Thanks in advance Y'all. [CODE] /* calculator program to fully … Software Development java | |
Hi guys, How to convert HTML syntax to RTF format using any existing library or dll?? any help appreciated. Thanks Software Development html-css | |
When I write a code, I put time related codes in the beginning and at the end to see how many seconds it takes. Is it possible to write it as a module, and refer to it when i write a code just with a single line of code? [CODE]import … Software Development python | |
[QUOTE=Ancient Dragon;278809]create a bool flag before the loop starts and set it to false. when a swap is made change the flag to true. on next loop iteration if the flag is still false then no swaps were performed during the previous loop iteration. and please next time use code … Software Development c++ | |
What are good name conventions for classes. How for example should the name be different between a base class and a derived class or an abstract class and a concrete class? Software Development c++ | |
hello... i am a graduating student now and me and my partner is currently developing our thesis entitled "high tech coin saver". This device is just like a digital coin saver. It automatically counts every coin whenever the user put one, it is limited on counting coins, and it can … Software Development java | |
Hey everyone, I'm starting a new job on Monday, and I asked if there were any topics I should re-familiarize myself with. Along with the typical data structures, they also mentioned STL. I'm not sure that we ever used STL during my college work (like most classes I assume, we … Software Development c++ | |
hellow all i have problem that i have deployed setup for windows application.before instling this application i have to install the .net frame work is there any way in vs 2005 to create such setup when i install my application on any system it shoueld install .net frame too. thx … Software Development asp.net | |
How do I obtain the characterindex that the cursor is currently pointing at in a richTextBox. Software Development | |
I need help. Directions: Write a program called powersOf2.cpp and save it in your programs directory. This program should ask the user to input an integer value. It will then raise 2 to all the powers from 0 up to and including the user entered value. For example, if the … Software Development c++ | |
I'm working on an assignment for Computer Science 121. The assignment is to write a program that prompts a user to input an integer and then outputs both the individual digits of the number and the sum of the digits. For example, it should output the individual digits of 3456 … ![]() | |
i have a format for printing and printin must be done in that format only also the page setup shud be shown i tried this code but not gettin anything with the format so plz help Try Dim con As New SqlConnection("conn str") Dim cm As New SqlCommand cm.Connection = … Software Development vb.net | |
Hi, Can someone help me with this issue?? I am trying to get html element from a stream this is the stream: [CODE]Dim request As WebRequest = HttpWebRequest.Create("http://www.mysite.com/") Dim response As WebResponse = request.GetResponse() Dim stream As Stream = response.GetResponseStream()[/CODE] How can I get the html elements from it? (I … | |
Hey! I've got a little problem I have no idea where to begin with. I've got a string and I need to check the insides of it. The string should be formatted like <letter><number>, for example "A1" or "F4". The letters can only be from A to F and numbers … Software Development c++ | |
![]() | Hi i have been making a small login suite purely out of fun. i am using xml to record the passwords set by a user, i have coded most of it but i am baffeled by this error! here is my work so far; [code=c] private void al(String password, string … Software Development xml |
Hello everyone, I am facing a problem with C# code. The problem is I have developed a form with DataGridView Control. In that grid view at the last cell of each row I have positioned a DataGridViewCheckBoxColumn. Now I wish to set some data in the DataGridViewTextBoxColumn of each row … Software Development | |
Hello, I'm just a beginner (student). Now still undergo C programming class to upgrade my knowledge in C. I was asked to complete a simple program to get the output of C program in the text file as shown below. This program is to help user to consider a range … Software Development c file-system | |
Greetings, i am pretty new to C (a few weeks experience)and i can program some complex programs and small database apps yet i don't know how to program guis in C. Are there any tutorials to program guis for windows in C? (not C++). many thanx if u cn find … | |
If I declared a static variable in a header file, and the header file is included in a couple of .c files. Is there any problem? Thanks Software Development c++ | |
Hi, i'm looking to interface C++ programs with matlab image processing and AT commands that are used for sms..The project i'm creating involves a user sending an sms which acts as a trigger, the program should read the data from the sms(it's stored in memory),it should then start a matlab … Software Development c++ user-interface | |
Hi: For the longest time, I have been using the IDE "JCreator". I made previous games on it in the past for school, and when it would come to me implementing a background image in my game, I would make a background class, and have the image in my project's … | |
I am making a program with list of classes. I have this situation that I'm not aware of how to use: [CODE=c] class clsMyClass { private: unsigned int id, nodStart, nodStop; float pipeLen, pipeDiam; public: void AddElement(clsConducte element); [/CODE] In another part of program I will have a variable list … Software Development c++ | |
hello to everyone! im new in C# can somebody help me with my simple problem.. I have 2 forms. First Form named Main_Menu and it has toolStrip named File,Add,Edit,Search under File theres a sub menu Login. _________________________________________________________________________________________ Second Form named Login Login form was connected in SQL Server _________________________________________________________________________________________ So … Software Development | |
Hey guys. Okay so here is a new assignment I have...at the moment I am not sure how to go about taking a vector representing a set and converting it into a tree. Also won't I need to create a new tree for every set? Any help or hints would … Software Development c++ | |
Aslam o Alikum, My name is Saqib. I want to use inline and external assembly code in my c# project. but I cannot understand the method. please tell me the syntax of using inline assembly code. Tell me that how can i use external assembly functions in files with the … | |
Can anayone help me how to retrieve the picture in Sql 2005?i need a simple a code plz help huhu, Software Development sql visual-basic | |
hi! does anyone know how to convert excel file (xls and xlsx)(or even just xls) into csv preferably using xlrd and csv modules. i need to convert a specific excel sheet to csv. i need to create a csv file instead of using comma but semicolon. i am still not … Software Development microsoft-office python | |
I'm doing an individual final year project using IBM Aglet, JRun and J2ME. The topic is "Mobile agent shopping system", better with some theories. I have no idea about what types of application should be done. Initially, I intended to build a system for the customers to search for the … Software Development java multimedia | |
In my old C++ programming classes I would often trip up on theses basic concepts when things got more and more complicated: 1. Arrays 2. Functions 3. Inheritance 4. Call by Reference 5. Call by Value 6. Pointers I kind of know how they work but don't really know what … |
The End.