132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gicio
Member Avatar for JoBe

;) Hello ladies and gents, Ive written this class time in wich I have to use operator+ to increase the hour with a certain amount of minutes like this: time t0 (23, 59), t1; // t0 = 23.59 t1 = t1 + 120; // t1 = 1.59 Problem is, I …

Software Development c++
Member Avatar for Narue
0
646
Member Avatar for Acidburn

sorry about the lenght of code: [php] #include <iostream> using namespace std; class Shape { public: Shape(int,int); Shape (); virtual ~Shape(); virtual void print()const = 0; virtual double calArea() = 0; protected: int centreX,centreY; }; ////// CONSTRUCTORS //////////////////// Shape::Shape(int x, int y) { centreX = x; centreY = y; } …

Software Development c++
Member Avatar for Narue
0
215
Member Avatar for sinrtb

I have a few questions that I was hoping somone here could answer. 1. how can i pause my cout output? or is it possible to do it without calling a system command 2. is there a way to clear the console screen without makeing specific os comands? 3. does …

Software Development c++ operating-system
Member Avatar for Narue
0
131
Member Avatar for stupidenator

Here's a quick, stupid question... is it possible to make an executable file for Java Application? and if so, how?

Software Development java
Member Avatar for jwenting
0
185
Member Avatar for server_crash

I have an application that has a fractal already drawn, but I have three JSliders that allow the user to zoom in out, shift the x axis, and shift the y axis. I think it's plotting around 160,000 points, and the refresh is quit noticible. I was wondering if there …

Software Development first-post java
Member Avatar for server_crash
0
207
Member Avatar for Kelleyj

I have a datagrid that is populated with data. If the operator scrolls off to the click on a field that is off to the right (not initially displayed on the grid) ---- then the operator does something that needs to repopulate that data with a different set of information …

Software Development dataset display vb.net
Member Avatar for Kelleyj
0
221
Member Avatar for sunandoghosh

Hi everyone First of all I am glad that i found this forum...I would like to humbly request all the knowledgeable people here to express their views on this........ I am an accountant by profession and completely novice to the world of computers.All i know is how to check emails, …

Software Development c++ email
Member Avatar for Narue
0
191
Member Avatar for Rose Aashii

below is my code the whole program is for prompting user to enter 10 nos. b/w 20 to 100 it will while is there to check wheter the user entr the corect number or not, it will also check that the entered number is unique and was not previously entered …

Software Development c++ display
Member Avatar for Narue
0
229
Member Avatar for ultimate_fusion

I am making a game and need a hell of alot of varibles. it is all so GUI so I need alot of Jbuttons. can I do it like something what I have below??? char[] mine=new char[3]; for(int count=0;count<10;count++){ //String add = "one"+count; JButton mine[count] = new JButton(""); } heres …

Software Development gui java
Member Avatar for server_crash
0
136
Member Avatar for Seyha Eng

I have code: Dim i As Integer --------------------------- Private Sub cmd1_Click() Randomize i = Int(20 * Rnd()) Label1.Caption = i End Sub --------------------------- What code should I add more to show "[B]i[/B]" not the same number? Please someone help me! Thanks! seyha

Software Development visual-basic
Member Avatar for invisal
0
135
Member Avatar for mpx10

im still struggling to print an invoice that i have made in pascal to a usb port printer. any help please. i have tried using various inbuilt function but have had no luck probably because im coding it wrong. thanks in advance

Software Development pascal printer
Member Avatar for Jackrabbit
0
392
Member Avatar for Toulinwoek

Does anyone know anything about an opensource C# IDE called SharpDevelop? I'm looking for something to learn with, and don't want to get something that's not going to do me much good. Thanks for any info!

Software Development ide
Member Avatar for Toulinwoek
0
246
Member Avatar for Bud4java

Greetings all, I'm trying to use the Math.pow(2, b) in the following manner. The program prompts for a user input (int). It then takes the user int and puts it into a forumla that (amoung other things) computes the number 2 to the input's power. (Thus I'm using the Math.pow(2, …

Software Development java
Member Avatar for Bud4java
0
153
Member Avatar for bluesmiley

can someone tell me why it is telling me that class Bomb doesn't exist because it does. here is my code: [CODE] import java.io.*; public class MineSweep1 { static BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); static private Bomb[] bmbArry1 = new Bomb[5]; static private Bomb[] bmbArry2 = new Bomb[5]; static …

Software Development java
Member Avatar for paradox814
0
165
Member Avatar for The Angel

Hi guys I want to write program in assembly language to read string from user and replace each symbol * in string to E but i do not know how i can replace * to E after read string>>>Iam begginer in this language this is my code and i hope …

Software Development assembly
Member Avatar for The Angel
0
183
Member Avatar for r0berth1

I am a noob and would like to write a program that will take user input for a server name, plug that server name into a drive mapping statement, check for certain files in the mapped dir, and copy files to a backup location. I don't know where to start …

Software Development c++
Member Avatar for r0berth1
0
160
Member Avatar for kalel21

Good evening friends, First off I would like to take this opportunity to thank everyone who contributed to my first post "How long does it take to learn assembly and how difficult is it?" :D I would like to thank cscgal, Narue, Kc0arf in particular for their help. ;) Although …

Software Development assembly first-post
Member Avatar for kalel21
0
220
Member Avatar for byte_me

[code] /* v_regdb.c ****************************************************************/ /* */ /* */ /* */ /* This is a maintenance program for an existing Vehicle Database. */ /* The program is an interactive menu system, which allows the user to */ /* edit, delete and insert records into an existing database. */ /* All input …

Software Development c data-structure display first-post
Member Avatar for byte_me
0
188
Member Avatar for nabil1983

Hello. As i couldnt work out my problem with my other version, i re-wrote it in a totally different form, now my program does display all the entries i make,, but the problem now is how do stop the dialog box from keep coming up. For example: i input 2 …

Software Development display java java-swing
Member Avatar for Nandus
0
372
Member Avatar for sham
Member Avatar for jwenting
0
216
Member Avatar for radioman28

Hi, I am thinking about writing a program to compare MP3's in different directories that will compare file size, ID3 tags, bit rate etc. I want to be able to search the computer for MP3 files, then list them in a rich text box like you would see in windows …

Software Development display
Member Avatar for SethWebster
0
161
Member Avatar for niteowl44

I've been taking an accelerated C++ program for 3 weeks now...my current assignment is to write a program that, with user input of a mortgage loan amount, the term of the loan, and the interest rate, display the monthly payment. Then list the loan balance and interest paid for each …

Software Development c++ display
Member Avatar for niteowl44
0
145
Member Avatar for DaveSS

My assignment is to create a definition of the class [B]Box[/B] and a structure definition. The class definition needs the following: [COLOR=Navy]Data Member Data Type[/COLOR] [B]boxNumber int boxType int boxLength float boxWidth float boxHeight float[/B] [B]boxArea float boxCost float boxPrice float boxProfit float[/B] boxFile fstream [COLOR=Green]//Dont include boxFile yet.[/COLOR] Member …

Software Development c++ data-structure
Member Avatar for marinme
0
239
Member Avatar for evilsilver

ok so i am a hs student learning some c++ and recently learned the fstream function and tried to make a load save type thing for a programm i am courently makeing. as far as i can tell the coding is correct but it isn't saveing or loading the file …

Software Development c++ display file-system
Member Avatar for evilsilver
0
218
Member Avatar for xerxes1986

alright i am trying to write a program that implements a class AirborneLocation that stores info on planes in the sky yada, yada, yada....i won't post the whole src code cuz it is hella long but i will post the section that gives me the compiling error [CODE]ostream& operator<< (ostream& …

Software Development c first-post
Member Avatar for Narue
0
177
Member Avatar for NewVBguy

Hi Guys, This might be simple and It might not include a programming job. What I wish to do is to access my files in my office at home. Can anybody teach me how to make this wish come into reality?. I want to know the things I need to …

Software Development visual-basic
Member Avatar for NewVBguy
0
121
Member Avatar for mrlucio79

First post; Very nice and interesting site. I checked the link for C/C++ books and i didn't see a book for beginners. What book do you recommend reading for a person that is new to programming and doesn't have any programming background. I am new and ready to learn. I …

Software Development c++ first-post
Member Avatar for Narue
0
145
Member Avatar for atrusmre

I am currently trying to add an edit box to my program. Everything is find until I add a variable to the edit box. The program runs fine until it is terminated, then I get an assertion error. Any ideas what could be causing this?

Software Development c
Member Avatar for Narue
0
141
Member Avatar for mikecoyner

i teach a high school c++ course. i would like to use a window for user interface instead of dos console. could anyone provide me the basic code to display "hello world" in a window? and if possible a link to the code necessary to use window api for c++ …

Software Development api c++ display user-interface
Member Avatar for Narue
0
212
Member Avatar for shmee

OK i have a project the is due soon and i am stuck.. i need to make a program the you enter you pin and it displase it as ****.. can some one help me. Email [email]Fuklife_1@hotmail.com[/email]..

Software Development email pascal
Member Avatar for Jackrabbit
0
170
Member Avatar for eleet

I first read in data from a file. Then the user is prompted for a name of a person trying to enter the party. If the name of a person trying to get in does not match any name on the invitation list, the program should print a message indicating …

Software Development c
Member Avatar for Dave Sinkula
0
138
Member Avatar for jwenting

[B]Intro[/B] I've been fooling around with RMI today for fun and learning and got some serious headbanging when I couldn't get any of the examples I have in books by respected authors to work with JDK 1.5 (a.k.a. Tiger). All tutorials and examples on RMI say you should run rmic …

Software Development client-server java machine-learning unix
Member Avatar for meabed
0
365
Member Avatar for s-sriram

Hi I am trying my first try at Python. I want to do something very similar to what sprintf does with C. I want to concatenate a string with a number and store it into a new string. I wrote a snippet like this username='user' for i in range (1-100) …

Software Development python
Member Avatar for s-sriram
0
334
Member Avatar for mel2005

i have created these table can you please look at them and tell me if there are right, or can you find a better way of doing them [U][B]CSS TABLE[/B][/U] CSSID Number primarykey Surname Text DOB Date/Time Comment Text [U][B]pencil table[/B][/U] PencilNumber Number CSSID Number Type Text DateIssues Date/Time LengthIssues …

Software Development display visual-basic
Member Avatar for mel2005
0
128
Member Avatar for camduthie

I am trying to write a phonebook program that uses a dat file to store the numbers (ex. in dat file--John Doe 5554445555). I have it to the point when the user keys "John" in, it will display the number. If the user keys in "John Doe", it will not …

Software Development c++ display
Member Avatar for Narue
0
111
Member Avatar for s-sriram

Can someone help me? I am looking to access the properties of system tray processes in Windows. An example of what I am looking to do might be to maximize an application that has been minimized to the system tray? Can I do this in Visual Basic or VB script …

Software Development visual-basic
Member Avatar for s-sriram
0
127
Member Avatar for Gink

Is it possible to view the java classes source code or to get it somehow? I'd really like to see how some of the classes work if its possible

Software Development java
Member Avatar for paradox814
0
138
Member Avatar for nabil1983

Ok i've understood the use of arrays and most of it.... but my problem is no matter wat i do my program still only displays the last entry i make and not all. i've tried a for loop in the print method but no luck. Neone know what im doing …

Software Development java java-swing
Member Avatar for paradox814
0
151
Member Avatar for jengels

Can someone look at my program. I am having a problem with my Scanner line. Does anyone know how to fix this problem?? I keep getting an error at this part: letter = scan.nextLine(); [code] import java.util.Scanner; public class ATMdriver { public static void main(String[] args) { ATM atm=new ATM(); …

Software Development java
Member Avatar for paradox814
0
210
Member Avatar for augie0216

Anybody know a good book for learning about oop reuseable components. I have a project I have do for school. The book i was given to use doesn't cover that subject real well. I'm really in a jam, I even went out on forums asking questions about reuseable components, but …

Software Development oop vb.net
Member Avatar for augie0216
0
126
Member Avatar for jasonkit84

although i've specified in the printer setup where my printer is a dotmatrix printer (oki ML 591)->this printer supports (font) Roman 20 cpi but when i view the report using vb.net, it comes out with another font.

Software Development printer vb.net
Member Avatar for jasonkit84
0
133
Member Avatar for Khishin

How do you add controls through code instead of the form editor? I wasnt to do things like make a textbox appear when a button is pressed, but I'm looking for another way to do it than make a huge clutter of controls and edit the VISIBLE statement. Something like: …

Software Development vb.net
Member Avatar for tgreer
0
129
Member Avatar for ecua_frap

hi.. i'm pretty new with C++, so pls. bear with my question, simple as it may be. can anyone pls. tell me what this error mean: [I]syntax error before `<'[/I] i have a whole bunch of them when i try to compile.. if needed, i'll post up the codes. Thanks!

Software Development c++ first-post
Member Avatar for kc0arf
0
129
Member Avatar for Real-tiner

I am a lab engineer for a university. Up until recently, we have been using MS-DOS 6.22 and Quickbasic 4.5 to control our experiments and record our data. We did not change to Windows because Windows would not let us control our processes on a millisecond level. This series of …

Software Development printer visual-basic
Member Avatar for nicentral
0
333
Member Avatar for oleerik

Hello! I am new and are gonna make a "write'n'print" appelication, i have readed many samples(et.c) but i cant' find my answar! How du i print from my textbox with name textb?

Software Development
Member Avatar for Iron_Cross
0
123
Member Avatar for Bud4java

Greetings all, I'm having a little bit of trouble with writing a method that returns the value of a given function. The method is designed to accept an input (int b), then take the input and return the value of a. a = b + b^2 + 2^b I've gotten …

Software Development java
Member Avatar for Bud4java
0
95
Member Avatar for robert_sun

Can anybody help me on this problem: I am writing a simulation program with several files. In a header file, I declared e global variable in hope that all other files could use it. so i put down: #define size 100 int memory[size]; in the header file memory.h. However, there …

Software Development c c# c++
Member Avatar for Narue
0
132
Member Avatar for Mohsin Khan

How can I integrate Crystal Report 9 along with VB.net (Version 2003). Is it possible to create CR based report in VB.Net? or I've to chose another reporting tool. Plz kindly reply me as soon as possible. It gives error when I declear CR9 object. [U]Dim report as new CrystalReport[/U] …

Software Development vb.net
Member Avatar for Mohsin Khan
0
167
Member Avatar for DANIEL4420

I have been using qbasic programs with Windows XP with no problems, of over a year. I use Automatic update to stay current on all the security patches. Now, when I try to run Qbasic I get this message: C:\WINDOWS\SYSTEM32\AUTOEXEC.NT. The system file is not suitable for running MS-DOS and …

Software Development microsoft microsoft-windows windows-xp
Member Avatar for JC7
0
204

The End.