132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for thehivetyrant

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
Member Avatar for thehivetyrant
0
134
Member Avatar for xan517

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++
Member Avatar for xan517
0
36
Member Avatar for aukeebler

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++
Member Avatar for sfuo
0
128
Member Avatar for CHRISTTY MAE

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++
Member Avatar for daviddoria
0
91
Member Avatar for buddyalexander

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
Member Avatar for TrustyTony
0
244
Member Avatar for gutiarfanatic7

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++
Member Avatar for gutiarfanatic7
0
117
Member Avatar for onthego

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
Member Avatar for onthego
0
238
Member Avatar for abhijat

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
Member Avatar for TrustyTony
0
1K
Member Avatar for ktimov1

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
Member Avatar for ktimov1
0
113
Member Avatar for mamabear

A string consisting of letters and digits. How do you do that? How do you code that?

Software Development c++
Member Avatar for Fbody
0
80
Member Avatar for NishantG01

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#
Member Avatar for nick.crane
0
147
Member Avatar for Zinderin
Member Avatar for Zinderin

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
Member Avatar for Zinderin
0
170
Member Avatar for jonnyflash

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 …

Software Development c++ python
Member Avatar for Gribouillis
0
1K
Member Avatar for charqus

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
Member Avatar for charqus
0
77
Member Avatar for cjmartin

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
Member Avatar for NormR1
0
619
Member Avatar for peter_budo

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
Member Avatar for kkais
0
10K
Member Avatar for dreamweaver75

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
Member Avatar for jon.kiparsky
0
187
Member Avatar for TechLover95

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
Member Avatar for peter_budo
0
129
Member Avatar for dylgod

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
Member Avatar for tong1
0
141
Member Avatar for yap_1991

[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
Member Avatar for yap_1991
0
479
Member Avatar for drewdizzle

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
Member Avatar for drewdizzle
0
214
Member Avatar for MxDev

Hi guys, How to convert HTML syntax to RTF format using any existing library or dll?? any help appreciated. Thanks

Software Development html-css
Member Avatar for MxDev
0
114
Member Avatar for aint

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
Member Avatar for snippsat
0
112
Member Avatar for yan_yan

[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++
Member Avatar for mike_2000_17
0
76
Member Avatar for Luther von Wulf

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++
Member Avatar for mike_2000_17
0
184
Member Avatar for vhea

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
Member Avatar for jon.kiparsky
0
146
Member Avatar for Duki

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++
Member Avatar for Duki
0
74
Member Avatar for jamshed ahmed

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
Member Avatar for nick.crane
0
98
Member Avatar for StaffanB

How do I obtain the characterindex that the cursor is currently pointing at in a richTextBox.

Software Development
Member Avatar for nick.crane
0
135
Member Avatar for computerdummy30

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++
Member Avatar for Fbody
0
111
Member Avatar for ShadowOfBlood

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 …

Software Development algorithm c++
Member Avatar for 1stDAN
0
4K
Member Avatar for steelnaaz

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
Member Avatar for finito
0
206
Member Avatar for assafey

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 …

Software Development html-css vb.net
Member Avatar for Oxiegen
0
490
Member Avatar for bleedi

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++
Member Avatar for Ancient Dragon
0
136
Member Avatar for nssltd

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
Member Avatar for nick.crane
0
150
Member Avatar for neo.mn

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
Member Avatar for nick.crane
0
112
Member Avatar for KSGuan

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
Member Avatar for codewriter_IND
0
127
Member Avatar for shanbady

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 …

Software Development c++ gui
Member Avatar for Nick Evan
0
163
Member Avatar for tennis

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++
Member Avatar for Nick Evan
0
88
Member Avatar for tkmandanna

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
Member Avatar for mike_2000_17
0
148
Member Avatar for runee1000

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 …

Software Development ide image java
Member Avatar for runee1000
0
202
Member Avatar for Scu

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++
Member Avatar for Scu
0
115
Member Avatar for pakunoda

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
Member Avatar for Geekitygeek
0
114
Member Avatar for aranjan

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++
Member Avatar for AkashL
0
131
Member Avatar for saqib_604

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 …

Software Development assembly c#
Member Avatar for saqib_604
0
104
Member Avatar for runnerme

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
Member Avatar for debasisdas
0
121
Member Avatar for gishi

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
Member Avatar for gishi
0
623
Member Avatar for nitrate

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
Member Avatar for nutan phalke
0
235
Member Avatar for Fasola

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 …

Software Development c c# c++
Member Avatar for A.Rehman Amjad
0
1K

The End.