132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for SiliconSpec

My friend has challenged me to create a simple c++ program. I have had the last 3 weeks to work on it, half way through I have realised I am doing it wrong. The program is: Entering 10 random numbers into an array( the easy part ), then printing the …

Software Development c++
Member Avatar for ghadahelal
0
307
Member Avatar for Zxenobia0

I need help working on my Java project. Any amount is welcome. The project needs to prompt the user for a file input (txt), file output, and five words to search through the input file. Each input needs to be equipped with try and catch code to prevent crashing. The …

Software Development java
Member Avatar for Phaelax
0
150
Member Avatar for Stoney

Ok so I have a program to read three exam scores from 6 students. I have to make the program average the 3 exam scores for each student and then have an average for each invidual exam. Then have a total average for every score there. Blah I can't get …

Software Development qbasic
Member Avatar for Stoney
0
208
Member Avatar for totalnewb++

I have to create a 20 x 20 array (turtle program), I am sure you guys get these alot.. I have been working on this for way too long and I am not getting it.. I have read the chapter again and still am lost.. here is the code I …

Software Development c++
Member Avatar for dwks
0
146
Member Avatar for mperkins07

Can you help me wlth the following work?: This sample program shows how to print the current month, now using the "Calendar" object (instead of the Date object which has been deprecated, meaning it has been slated for removal from the language). [code]// Program prints the current month import java.util.Calendar; …

Software Development java
Member Avatar for Phaelax
0
152
Member Avatar for G.Host

Hello to all of you. My name is Greg. I am currently running Mac OS X ( my homeschooling computer). Anyways, I'm having trouble downloading Python to my Mac. Every python file I've downloaded and decompressed with StuffIt Expander, just seems to be nothing but files that I don't know …

Software Development os-x python
Member Avatar for G.Host
0
158
Member Avatar for steve65

Hi all! I have been having the hardest time trying to get memory to release from an application I am developing. I know I could have written the code below without the classes but I wanted to makes sure that I understood how to pass references and not values in …

Software Development regex
Member Avatar for alc6379
0
170
Member Avatar for sunny82

Hi, I am getting 3 similar types of errors.its saying illegal start of expression in public void makedeposit<int deposit>,public void makewithdraw<int withdraw> and public void showbalance<int a, int balance>{} plz help. here is my code--- [code]public class bank { bank b; public class output{ public output outputobject=new output(); } public …

Software Development java
Member Avatar for sunny82
0
197
Member Avatar for JoeM

Hello!! I'm really new to python and pygtk and Glade, I'm sorry I'm still on the dark side using Windows 2000 :-( What I'm trying to do is a simple Testing Program Simulator, that means that I will press a button and then I'm supposed to show a cross or …

Software Development gui image python xml
Member Avatar for vegaseat
0
305
Member Avatar for nabil1983

hello. Im having problems trying to get my jframe gui to work correctly i got the window all done fine but when i tell it to display somethis in the code , it comes up with errors when compiled. Can someone please tell me where im going wrong .. apreciate …

Software Development gui java java-swing
Member Avatar for DeepZ
0
187
Member Avatar for K.Duncan

I'm working on a fairly basic program and can not seem to get it to work. I've checked my spelling and all that; the only thing I can think of is my main isn't able to find my class file. Here's the error message: ComplexDemo.java:10: cannot find symbol symbol : …

Software Development java
Member Avatar for DeepZ
0
168
Member Avatar for monisola

will like to know more about java programming language

Software Development java
Member Avatar for aniseed
0
202
Member Avatar for Kanryue

The part in bold is the part I need help with. I'm using VB 2003 and That line is VB6 code. The Right and Left functions don't apply to VB2003 and I need to know what I can replace that with to get the same result. Here I'm trying to …

Software Development vb.net
Member Avatar for waynespangler
0
126
Member Avatar for janito2008

May 2, 2006 Hi! I am trying to write a program that uses a structure to store the following weather data for a particular month: Total Rainfall High Temperature Low Temperature Average Temperature The program should have an array of 12 structures to hold weather data for an entire year. …

Software Development c++ data-structure
Member Avatar for Bench
0
509
Member Avatar for musicmancanora4

Sorry for posting again guys but i have fixed up teh string copies to copy the data into each struct variable. But still when i traverse through the linked list it does not print out anything after it reads the file. For some reason it may not be copying at …

Software Development c linked-list
Member Avatar for Lerner
0
167
Member Avatar for derangedone

For my C++ programming course, the prof wants us to do an order queuing program, however he hasn't taught queues and stacks yet. Is there a way I could use arrays (with dynamic memory allocation) to act as a queue? This is the code I have so far, but I …

Software Development c++ queue
Member Avatar for Lerner
0
207
Member Avatar for musicmancanora4

Hey guys im reading in a text file with several fields iv tokenized the '|' so that it only reads the fields categoryId, drinkType, the categoryName, and categoryDescription. My question is how come when i read the file and copy the reading buffer "temp" into each struct it does not …

Software Development c data-structure linked-list
Member Avatar for musicmancanora4
0
156
Member Avatar for Mishac
Member Avatar for Mishac
0
141
Member Avatar for rpd_gnv

i having a problem on how 2 save the animal name each time i create a new animal...can any1 please help me solve this problem on how 2 do the save function to save the animal name that i had created...thank you very much [code]#include <cstddef> #include <cassert> typedef char* …

Software Development c
Member Avatar for iamthwee
0
155
Member Avatar for root

Hello I have been looking for a book on visual basic .NET that covers absolute beginners and on to intermediate chapters then professional preferably about 1,600 pages if possible. I need a book that can teach me all the aspects of vb.NET and if that is not possible then could …

Software Development vb.net visual-basic visual-studio
Member Avatar for root
0
370
Member Avatar for creex

Hey, I need to write program, which will do some action after 11 minutes. I have that action done, but I dont know how to write to wait 11 minutes, and how to write to wait 20 secs after 1 action. [code] Private Sub Command1_Click() Dim hWnd As Long hWnd …

Software Development visual-basic
Member Avatar for Comatose
0
198
Member Avatar for ernie

I’m looking for an up-to-date C/C++ compiler which is available for free and not dependant on .NET. I would also like to find a compiler for Linux, GCC or G++ is ok but I’m having issues installing. (Actually [U]using [/U]Linux is new to me).

Software Development c++
Member Avatar for ernie
0
187
Member Avatar for amarie

I have a program project to complete, but I don't know exactly what to do. This program is in C++ programming language. This what I have to do? Write a program that will use a array to store a linked list. Your linked list should contain an Student number and …

Software Development c++ linked-list
Member Avatar for Bench
0
123
Member Avatar for monkeyphonics

Ok this is a homework program and this is my first JAVA course I am stuck on how to pass double values from one method to another I have a menu that appears with this code [code] public static int menu(int curmenuselection, double curitemprice) { while(curmenuselection != 5) { double …

Software Development java
Member Avatar for monkeyphonics
0
154
Member Avatar for iamthwee

Hullo, I'm trying to make a write a program to automatically create a jar file in java. I've got this far and this works. [CODE]#include <windows.h> #include <direct.h> #include <fstream> using namespace std; int main() { chdir("C:/j2sdk1.4.2_04/bin"); system("javac Saluton.java"); system("java Saluton"); remove ("Saluton.class"); return 0; }[/CODE] But I was wondering …

Software Development api c windows-api
Member Avatar for iamthwee
0
564
Member Avatar for mohamad11

hi to all... Plz i wnt a valuable code to append two text files in java i tried alot using WriteBuffered and FileOutputStream(file,true) but without any use i wrote the following code: import java.io.*; public class append{ public static void main(String[] args) throws IOException { FileInputStream Message_File=new FileInputStream ("C:/JBuilder4/lib/input6.txt"); BufferedReader …

Software Development java
Member Avatar for jwenting
0
856
Member Avatar for moon_light

i ve Q which ask me to write method called nodelevel(int k ) which returns how many nodes in level k.. and i write a code but i dont know what is wrong with it ??? [code]public nodelevel(int k){ if(root == null) return 0; else return getnodelevel(root, 1); } private …

Software Development java
Member Avatar for jwenting
0
203
Member Avatar for sam1

hi, which one of these two would be better to design a file transfer protocol FileInputStream or FileReader? i know FileInputStream is meant to be for image type of files........ thanks

Software Development image java
Member Avatar for jwenting
0
247
Member Avatar for ghadahelal

how can i skip the 1st 2 lines from my input file

Software Development c++
Member Avatar for iamthwee
0
214
Member Avatar for nazgand

[B][COLOR=Blue]dude theres a simple overide solution search the WINDOWS folder for AUTOEXEC.NT and copy it to C:\WINDOWS\System32 and voila!!!!!!!!!!!!!!!! Qbasic will work. Now if you want Qbasic 7.1 or a copy of AUTOEXEC.NT email me at :idea: :idea: <snip> :idea: :idea: :mrgreen: [/COLOR] [/B]

Software Development email qbasic windows-xp
Member Avatar for Comatose
0
333
Member Avatar for ghadahelal

i 've an input file in .xls my user wrote that in german excel version and so the floating point is like that 55,77 my c++ program can not read this number as i'm using an english c++ version i did the conversion from , to . in the excel …

Software Development c++
Member Avatar for Ancient Dragon
0
123
Member Avatar for bucodi

Hi, I would like to configure my wxcombox in a way that when it gets the focus, it automaticly opens his listpart. Any ideas ? tia Rony

Software Development python
Member Avatar for bucodi
0
120
Member Avatar for AlreadyWon!

Hi everone!, im currently working on a cash register program wich has to meet certain tests. The problem im encountering is when im calculating the change to be given to the customer. The change is correct but it has to be displayed in such a way as to give the …

Software Development vb.net
Member Avatar for adrcam
0
142
Member Avatar for YoTaMiX

Hello :) i need to write a program which gets from user number and index ( 0 <= number <= 255 , 0<=index<=7) . then to add up to the number in bitwise a 1 in the place of the index : if number is 102 which is 01100110 and …

Software Development c
Member Avatar for Bench
0
197
Member Avatar for TimC

Hi all, I have just started MS VB 2005 and I have already run into a little problem. I set up a blank screen. I then placed an image on the right hand side of the screen. when i played the application, i maximised the screen size. I expected to …

Software Development image vb.net
Member Avatar for TimC
0
131
Member Avatar for wut-da

Hye, im new here. Need some help on Vb6 coding. I've look up some of the treads on timing in this site but i have problem implementing it. [CODE]Public CHours As Variant Public CMins As Variant Public CSecs As Variant Public CMSecs As Variant Dim StrNested(4) As String ------------------------------------------------------------ Private …

Software Development sql visual-basic
Member Avatar for wut-da
0
238
Member Avatar for tippytoe

Hi - The assignment is to write a C program that prompts the user to enter a line of text up to 69 chars, then convert the text to upper and lower case. The program is required to use pointer notation, not array notation. The program needs to setup a …

Software Development c
Member Avatar for Salem
0
167
Member Avatar for gkakkireni

Hi to all i have requirment like this the field length is 15 digits but am getting input only 6 digits..means i have to put spaces after the 6 digits position menas spaces after the value.how to do it in java,could u send the sample programe because i dont know …

Software Development java
Member Avatar for vimal_parakhiya
0
85
Member Avatar for q8z
Member Avatar for regbrz

Hello, I am with problems I need to Implement urgent a Simplified Computer (CS). This computer will receive as entrance parameter the configuration of duration and it arrives of processes, according to example to proceed. [B] Process [/B]1 2 3 [B]Arrival [/B]1 2 3 [B]Duration [/B]5 2 4 After receiving …

Software Development c
Member Avatar for Salem
0
216
Member Avatar for puppy

Hi. If I want to generate random numbers between -1 and 1, do I need to write a function to do that or is their something in the stdlib that can do it? Thanks.

Software Development c
Member Avatar for puppy
0
178
Member Avatar for ernie

Is there any real concern with using iostream.h and stdio.h in the same program? Sometimes I feel like printf, and sometimes I feel like cout.

Software Development c c# c++
Member Avatar for ernie
0
268
Member Avatar for totalnewb++

I have to create a 20 x 20 array (turtle program), I am sure you guys get these alot.. I have been working on this for way too long and I am not getting it.. I have read the chapter again and still am lost.. here is the code I …

Software Development c++
Member Avatar for Salem
0
126
Member Avatar for qamar2006

Hi all members.. how are you Can any one help me to make a C programming project ? Its an "Air Lines Reservition System" The project is for our C-programming semester in the university and its due to 15 - 4 - 2006 . The requirements is as follow: [quote] …

Software Development c data-structure email user-interface
Member Avatar for Dave Sinkula
0
548
Member Avatar for bondito

Hi everyone, i am trying to use some java code to encrypt passwords entering a database on the system i am building, please could someone explain what the code below is doing and if it would be useful for encrypting passwords. Thanks [code]import java.util.StringTokenizer; public class Encryption { public static …

Software Development encryption java
Member Avatar for hooknc
0
483
Member Avatar for tyczj

i need some help on this, im making a blackjack game and i need to make a stack of cards and i dont know what to do so just get me started is all im really askin for. here is what i have so far [CODE]#include <stack> #include <list> #include …

Software Development c++
Member Avatar for iamthwee
0
174
Member Avatar for jacjr

Hello to everyone! I have just started taking what is described as a beginning Visual Basic.Net class. I have no programming knowledge, except my class time which started mid January. Right now I'm trying to figure out how to give a type of triangle(equilateral, scalene, or isosceles) and the shortest …

Software Development vb.net visual-basic
Member Avatar for jacjr
0
860
Member Avatar for sam1

hi, would you say that multithreading is part of java's architecture? thanks

Software Development java multithreading
Member Avatar for iamthwee
0
69
Member Avatar for CaliVagabond

i have a global array of char pointers declared as: [code]char *strings[ARRAY_SIZE];[/code] I don't seem to understand the arithmetic necessary to compare individual characters in each array element. I haven't had any luck finding concise examples. Maybe someone can point me in the right direction?

Software Development c++
Member Avatar for CaliVagabond
0
126
Member Avatar for maxilt

:?: I work on the program to function a Magic square, below as my working program, but I don't know how to print out the magic square using print function any one can help? [code]#include<iostream> #include<iomanip> using namespace std; const int n = 30; int MagicSquareConstruct(int MagicSquare[n][n]); int main() { …

Software Development c
Member Avatar for Bench
0
244

The End.