132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for PRATS 1990

I HAVE A VERY PECULIAR PROBLEM,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, THE PROGRAMS I COMPILE SHUT DOWN AFTER COMPILING ONCE,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, FOR EG- I CREATED THIS PROGRAM FOR GETTING THE ASCII CODES OF AN ALPHABET ,,,,,,,,,,,,,,,,,, AFTER I WROTE THE ALPHABET IN DOS IT DISPLAYED ITS VALUE AND SHUTDOWN,,,,,,,,,,,,,,,, HOW CAN I ALTER MY PROGRAM TO …

Software Development c
Member Avatar for PRATS 1990
0
228
Member Avatar for Joka527

Hi, a noob programmer just starting in C# with Visual Studio here.... I came across this while coding in Visual C# and I couldn't figure out anything about it so a little explanation would be greatly appreciated.... In Microsoft's Visual C#...when using Windows Forms for GUI..... You guys know how …

Software Development c# gui visual-studio
Member Avatar for bcasp
0
172
Member Avatar for southernd0529

trying to get the program to run but there is an error in line 31 (expected primary expression before else) i dont know what to do [code=cplusplus] // Devin Southern // COSC 112 - Spring 2009 // Dr Stone // Lab 9 // This program will use loop to keep …

Software Development c++
Member Avatar for southernd0529
0
142
Member Avatar for pt_solar

I'm new to this and I'm a beginner at c++. I need some help with some questions that I've been trying to solve for hours. I think I got most of this one right but I got stuck at the wages array. This question says : write a program that …

Software Development c++
Member Avatar for pt_solar
0
1K
Member Avatar for Dewey1040

Multiplying the digits of an integer and continuing the process gives the surprising result that the sequence of products always arrives at a single digit number. For example, 715 ---- 35 ---- 15 ---- 5 27 ---- 14 ---- 4 4000 ---- 0 9 The number of times products need …

Software Development c
Member Avatar for Dewey1040
0
2K
Member Avatar for daviddoria

To remove duplicates from a vector, my first thought was to insert them all into a set, it would take care of the uniqueness of the elements, and then read them back out into my vector. However, I have a vector<Point>, where Point is a point in 3d space (ie. …

Software Development c++
Member Avatar for daviddoria
0
213
Member Avatar for jhonny_86

Hey! Does anyone know how to print out several pages? I have no problem printing out first page but the rest of the pages is a problem for me. All pages look the same just with different text so I don't think I need the book class for that. The …

Software Development java
Member Avatar for Ezzaral
0
85
Member Avatar for bluebird

The assignmento I have to write is to Derive a class DistSign from class Distance which contains inches and feet as a protected data, to add unary + or – to the distance. Write no argument and two argument constructor. Here is my program. I don’t know how to add …

Software Development c++
Member Avatar for MrSpigot
0
88
Member Avatar for Voltron

A man pays $1 to get into a gambling casino. He loses half of his money there and has to pay $1 to leave. He goes to a second casino and pays $1 to get in, he loses half his money again, and has to pay $1 to leave. Then, …

Software Development pay-per-click vb.net
Member Avatar for blackcat40
0
100
Member Avatar for YingKang

This is a part of the problem in my homework. I have : int alpha[20]; int beta[20]; int inStock[10][4]; I need to write a function copyAlphaBeta that stores alpha into the first five rows of inStock and beta into the last five rows of inStock. my program is here, but …

Software Development c++
Member Avatar for YingKang
0
298
Member Avatar for ITech

hi,, it seems thet i am posting too much inthe forum .what to do.i am busy with a project to finish.. ye, i just wanted to ask i have a money datatype in my table SPAINFO in sql server2005 i have done the connectin and its working fine.. the problem …

Software Development
Member Avatar for ctrl-alt-del
0
69
Member Avatar for jdbarry

I am trying to implement the calculations, and I am getting totally wrong answers. This program is to calculate the distance of a projectile based on launch angles as well as (of course) launch velocities(speeds). The formula is as follows: [URL="http://learn.flvs.net/webdav/educator_apcsa_v8/module09/rtfmod09/09_04_VirtualLectureNotes.pdf"]http://learn.flvs.net/webdav/educator_apcsa_v8/module09/rtfmod09/09_04_VirtualLectureNotes.pdf[/URL] Here is the code that I have for doing …

Software Development java pdf
Member Avatar for BestJewSinceJC
0
187
Member Avatar for deathwishgenius

This is my first post: Ok, there's GPL'ed programs, and GPL'ed Java. Is my java program, which uses no other GPL'ed programs all my own? Simple question, simple answer... don

Software Development java
Member Avatar for deathwishgenius
0
135
Member Avatar for kuru225

Hello All I am having some problems with a C++ class that i am taking and after looking around on the web I am still lost. The assignment that I am working on right now is as follows: [ICODE]Two numbers are entered in from the keyboard. If the larger number …

Software Development c c# c++ printer
Member Avatar for kuru225
0
169
Member Avatar for Swapnil Palande

Dear all, Please help me in solving following query. I want to use Encryption and Decryption to add password to database and to retrive password from database. What is the code for this? Thanks and regards, Swapnil.

Software Development c# encryption
Member Avatar for Yanivhl
0
347
Member Avatar for ExtremeGTSlayer

i'm new using VB 2008. so i hope somebody could help me. my problem is i want whenever the listbox is checked then the info in the listbox can be shown in multiple textbox along with picture. i used MS Access as my database. here i attach my code. i …

Software Development vb.net
Member Avatar for ExtremeGTSlayer
0
85
Member Avatar for headedtomexico

I have a VB program, in VB6 that is connecting to a website for validation of a user account. One of my users can't seem to get the thing working though. He gave me his password and when I try it on my machine it works. The validation script on …

Software Development apache unix vb.net
Member Avatar for headedtomexico
0
296
Member Avatar for littlespy

Hi all, Just registered on the forum. I have a quick (hopefully) question. I'm trying to read from a text file into one single string. I'm having some trouble though and can't quite find my error. I have the following code below right now. The problem is that my function …

Software Development c file-system
Member Avatar for Aia
0
160
Member Avatar for ice_cool

I am very much a beginner in programming, so this maybe nothin but this error keeps popping up and i'm unsure why. cannot find symbol - constructor Track this is my source code and its a work in progress. public class Track { private String name; private String creator; private …

Software Development java
Member Avatar for verruckt24
0
189
Member Avatar for gabec94

Hi Im trying to write simple miles per gallon program, I have gotten every part so far, but I cannot figure out how to "calculate and display the miles per gallon obtained for each tankful and print the combined miles per gallon obtained for all tankfuls up to this point." …

Software Development java
Member Avatar for gabec94
0
928
Member Avatar for bluebird

hello everybody! As far as I understand, the functions that are only different in return type are not allowed. But how can I write the program for the following question? ***************************************** Create two classes DM and DB which store the value of distances. DM stores distances in meters and centimeters …

Software Development c++
Member Avatar for Narue
0
167
Member Avatar for gabec94

Hi, Im trying to write a program of a salary from a textbook problem, but am having a hard time. Hopefully you can get the gist of the program, I want it to keep asking for items of what the "salesperson" has sold, until an invalid item is entered, where …

Software Development java
Member Avatar for gabec94
0
81
Member Avatar for bluebird

In this program, although I use Ignore(1000,’\n’); why it does not show the title for tape. In fact, I don’t understand very well about Ignore(); what is the meaning of 1000 in that function? [code] #include<iostream.h> class Publication { char title[20]; float price; public: void putdata() { cout<<"\nEnter title:"; cin.getline(title,20); …

Software Development c++
Member Avatar for Narue
0
364
Member Avatar for Frizeris

Can anyone provide me with an example how to create a program using Delphi that randomizes and shows 2 words out of 78 with a click of a button? The words are: [CODE] Afghanistan Albania Argentina Australia Ausria Blegium Bhutan Bolivia Brazil Bulgaria Canada Chile Colombia Communist_China Costa_Rica Cuba Czechoslovakia …

Software Development delphi pascal
Member Avatar for pritaeas
0
78
Member Avatar for mannclay

Hello, I am trying to make a desktop icon for a newbie script I wrote while Teaching myself Python. I wanted it to be a clickable desktop icon for OS X. Plus, I guess I can use Icon Composer to make it a pic. Any ideas?! Thanks...

Software Development os-x python
Member Avatar for mannclay
0
84
Member Avatar for 11silversurfer1

Hi I would like to learn how to make a .s3m player in c++. Thanks

Software Development c++
Member Avatar for Nick Evan
0
156
Member Avatar for leegeorg07

hello, i just started a paper round and ive started doing what i do best : obsessing about it and i want to know if there is any way that i can open and close images of the different newspapers to learn them? i would prefer to do this with …

Software Development image python
Member Avatar for leegeorg07
0
316
Member Avatar for ganmo

Hello, I have some weird problem with this code. The problem is that when I use >> to read data a text file to vector. It will only add the first double and discard the rest. Anyway if I use array instead of vector it works fine. Anyone know what …

Software Development c++
Member Avatar for ganmo
0
169
Member Avatar for foxypj

Hello I am trying to make a program that converts different units. The conversion factors are stored within a txt file and i need to read them in. i have this code so far; but it doesn't work. using System; using System.IO; namespace Task3 { class TextFileReader { static void …

Software Development file-system visual-studio
Member Avatar for foxypj
0
185
Member Avatar for dv1r

is there a way to increase bluetooth range in mobile phone for 1 seconed? by changing the driver or somthing like that? in C\asm? i asked in the java forum,they said it might be possible in C. to save time - i checked and it's possible to increase range of …

Software Development c
Member Avatar for EricIskhakov
0
105
Member Avatar for G-to-the-RIZZLE

Could potentially have the longest error message EVER and have no idea how to solve it .... Exception in thread "AWT-EventQueue-0" java.lang.Error: Unresolved compilation problems: The import java.sql cannot be resolved The import javax cannot be resolved Connection cannot be resolved to a type Statement cannot be resolved to a …

Software Development java java-swing
Member Avatar for G-to-the-RIZZLE
0
2K
Member Avatar for mem81

Hello , I would like to achieve something which I think is possible using the method Date.daysinmonth. The thing is I am not sure what the syntax would be. Totally confused. I have a ddbox that holds date and changes dynamically.That date would always be the last date of a …

Software Development vb.net
Member Avatar for Teme64
0
151
Member Avatar for tkjr4160

Could someone please help I am getting an illegal start of expression [code] import java.util.Scanner; public class 9a { // The main method public static void main( String args[] ) { Scanner input = new Scanner(System.in); // declares and initializes the variables used to store user input. int n1; double …

Software Development java
Member Avatar for tkjr4160
0
120
Member Avatar for ahvicm

how can i insert the code for entering a password here?? the password should be in the main window...and it should be replaced by asterisk...HOW??? tnx [code] #include<stdio.h> #include<conio.h> #include<dos.h> struct phone { char name[20]; char ad[40]; char ph[20]; }; struct phone ar[100]; int n=0; void wfile(); void rfile(); void …

Software Development c++
Member Avatar for tux4life
0
89
Member Avatar for FrancisC07

hi! ^_^ i am very confuse on how to edit an external file? can someone tell me?

Software Development c++
Member Avatar for skatamatic
0
97
Member Avatar for narayanc1

Hi to All, I am developing an Application in Compact Framework.when Windows Mobile 5.0 is paired with another Device, I have to get the inbound port of Windows Mobile.Is there any process to get that using System.IO.Ports or any other solution.As I am trying for this from 2 days please …

Software Development
Member Avatar for narayanc1
0
108
Member Avatar for peedi

I am almost done with my program. And for some reason i cannot get my boolean to become true. here is the code [CODE]//This program allows the user to order a pizza import java.util.Scanner; import java.text.*; public class PizzaOrder { public static void main(String [] args) { //create a Scanner …

Software Development java
Member Avatar for sillyboy
0
178
Member Avatar for mizzwaniez

How to do this assigment.im did not understand it..plz somebody help me.i will appriciate anybody who will help me. The program question are like this and this program should use c programming:- The owner of a snack bar wants a system which will allow a menu, with prices, to be …

Software Development c
Member Avatar for moonw3ll
0
91
Member Avatar for Robins Antony

Hi friends, How to Find the no of simultaneous users logged in to a web site at a time?. Any help with the C# code will b greatly appreciated. Regards Robins

Software Development
Member Avatar for alc6379
0
74
Member Avatar for CoolAtt

hi everyone. my program uses an infinite loop & runs forever. i want to run some codes when i decide to stop the program using CTRL-C. Is this possible ? Please advise me. thanks

Software Development c
Member Avatar for CoolAtt
0
255
Member Avatar for itcraze

Hello everyone, I want to import data from Excel sheet to my SqL Server database using ASP.NET and C#.The data in excel sheet should be imported to the SQL Server table ................tell me the code in C#.net for performing this fuctionality .............. Thank u ALL !!

Software Development asp.net sql
Member Avatar for alc6379
0
334
Member Avatar for itsrahulk

[B]Hi All I have a .dat file in which content is like X)YF(6ÿÿÿÿÿ™Iÿÿÿÿ which is in ascii i want to convert it to simple text (readable) first i need to read this .dat file then convert it to readable text. pls help me how can i do it with C# …

Software Development
Member Avatar for alc6379
0
72
Member Avatar for Amara

Hi, Using .NET, is there any way to create a dialog which allows the user to choose multiple directories by ticking them. The purpose is to scan the chosen directories for certain files. Thanks

Software Development
Member Avatar for alc6379
0
131
Member Avatar for sid78669

Following is a function I wrote to get a line of definite length from a long string. The line is also word-wrapping to make sure no words are splitted: [CODE=C++] char * getLine(char * str, int length, int start, int lenSent){ int index = 0, //Index number of the current …

Software Development c++
Member Avatar for sid78669
0
143
Member Avatar for endisbegun

so...i dont really understand my project -_- the teacher is asian as am i but he does not write english very well :3 can i get some hints maybe? ^_^ thank you i really appreciate it ive been stumped for such a long time :O "I typed the following 2 …

Software Development c++
Member Avatar for endisbegun
0
94
Member Avatar for schuerm

Hi I am desperately trying to get the text from a chat window. My idea was to use win32gui.GetWindowText(). I wrote a program to display any text with win32gui.GetWindowText() by iterating over all past and previous handles and as deep into each handle as there are children. Basically I tried …

Software Development python
Member Avatar for jworld2
0
397
Member Avatar for atreides27

now...like...i need to concatenate the two words that the user enters, s1 and s2 and output them...i thought i needed to use strcat but like...i dont really understand how to do that here, do i need to make a new c string variable or...? ah i hate this stuff lol …

Software Development c++
Member Avatar for SeeTheLite
0
146
Member Avatar for orwell84

Hello, I'm just wondering how you would go about exporting the matches that regex finds. For example, if I were to have the following code, which matches all the digits in a string and (supposedly) reads them into an array, which is then displayed: [CODE] @numbers = ($string =~ /\d*/); …

Software Development perl regex
Member Avatar for KevinADC
0
94
Member Avatar for ARYT

It's me again. :?: This is the question: Write a computer program that computes the temperature of a gas that is originally at P=5 atm, =V30 Liters, T=273 K. Solve the problem using one dimensional array only. Assume number of array elements is unknown (use the end of file function). …

Software Development c++
Member Avatar for Ancient Dragon
0
219
Member Avatar for yukirosaki

I'm working on this polynomial program but I have stuck at some points which still don't know what's wrong exactly. So anyway, I have to add 2 polynomials, subtracts, and multiply. So could anyone please correct this code below. Thank you very much!! [code=syntax] public class Polynomial implements Cloneable { …

Software Development java
Member Avatar for Ezzaral
0
111

The End.