132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for hail2dthief

I :cheesy: want to input a string but instead of showing the real characters on the screen, i want all to be astericks. Can anybody help me to solve this?

Software Development c++
Member Avatar for hail2dthief
0
405
Member Avatar for kalinga

I am having a problem regarding nesting loops.for example for(int x=1;x<10;x++){ for(int y=1;y<x;y++) i want to know what this statement means. I posted a question to the forum but the moderator has unfortunately taken it off. I need some help regarding the concepts of the program given below.just give me …

Software Development c++
Member Avatar for alc6379
0
107
Member Avatar for Sukhbir

consider the programme void main() { unsigned i=1; signed j=-1; if(i<j) printf("less"); } output is: less why can someone explain me

Software Development c
Member Avatar for Dave Sinkula
0
132
Member Avatar for macca1979

Hi there, First off I'm new to java and coding in general so please bear with me. I'm trying to write a bit of code that will convert something like the following con(pk(B),pk(AS),pk(A),B) to this k_B, k_AS, k_A, B I have written the following code : Pattern pk = Pattern.compile("pk(.*)"); …

Software Development java
Member Avatar for nanosani
0
128
Member Avatar for freesoft_2000

I have a text area and a button on a frame and there's some text in the text area. What i need is when the user clicks the button whatever the text in the text area is saved to the file "C:\ret" with the aid of the file selector dialog. …

Software Development email java java-swing
Member Avatar for nanosani
0
185
Member Avatar for LenderRep

I am trying to develop a rate calculator for a fee schedule although "calculator" may not be the best term to use. I have an Excel file containing 7 different fees that correspond to a single loan amount. LOan amounts run in $1,000 increments from $50,000 to $1,000,000. I am …

Software Development visual-basic
Member Avatar for Buff
0
109
Member Avatar for sonix

below is one of my function call of a program done in C: /* asks if the players would like to have another game of Tic Tac Toe */ void prompt_user(int game[][SIZE]) { char reply; printf("\nPlay Again? (Y/N): "); scanf("%c", &reply); if(reply == 'Y' || reply == 'y') { print_empty_board(); …

Software Development c++ microsoft
Member Avatar for kc0arf
0
125
Member Avatar for i_me_roo

Hi guys, In my program i have to draw rectangles, but i need to pause before drawing it depending on the the number it has been assigned. I have created a timing class, which pauses the timer according to the integer. I have used tested the timing class and it …

Software Development java
Member Avatar for nanosani
0
164
Member Avatar for The Beholder

Does anybody know how I would |Bload something I previously bsaved into an array ?

Software Development visual-basic
Member Avatar for The Beholder
0
76
Member Avatar for payam

i have an excel spreadsheet and i need to select a couple of ranges of data from a table and then to create a graph with these ranges. In excel you can use the crtl key to select discontinuous ranges and i c# you can say Excel.get_Range range = thisSheet.get_range("A2":"A6","c2":"c6", …

Software Development
Member Avatar for payam
0
130
Member Avatar for yesuf

Dear members, I am self practicing C++ and I am interested to understand ADTs in C++. It became challenging to understand, but seems very interested. So for my clear understanding, I invite any member to assist me to understand the implementation of linked list using pointers in dynamic memory allocation …

Software Development c++ linked-list
Member Avatar for Chainsaw
0
259
Member Avatar for Mahen

Hi everyone, First of all thank you very much for all the help that you have been providing me. Unfortunately, i am with another bug. This time, i am havinh problems linking OBJ files that uses the following: #include <stdio.h> #include <winsock2.h> #pragma comment(lib, "ws2_32") When i link them, i …

Software Development c
Member Avatar for Dave Sinkula
0
249
Member Avatar for nanosani

I'm in need of determining and implementing the LookAndFeel of the operating system default within a swing frame, whatever that default may happen to be (and without using the string "com.sun.java.swing.plaf..." in the code whatsoever. When simply leaving the UIManager.setLookAndFeel() as is when creating the frame, the correct OS default …

Software Development java java-swing operating-system
Member Avatar for nanosani
0
148
Member Avatar for nanosani

How can I load a class dynamically ?? I need some code help to get started.

Software Development java
Member Avatar for nanosani
0
107
Member Avatar for zid

hey guys...... my name is zid.. ok here is the case....does any one know hows to initialize or activate a file in a client pc from the server....i've tried applet...but my boss was not happy with that coz...the comfirmation pop up windows apperead every time that applet loaded....is there any …

Software Development client-server email java windows-server
Member Avatar for zid
0
134
Member Avatar for red_evolve

I am almost done with my project and I'd like to obtain some advice on this. How do I go about packaging (if this is the right word to use) the whole application? As such, I have some extra active-x components which I'd have to add into the System32 folder …

Software Development visual-basic
Member Avatar for red_evolve
0
228
Member Avatar for nanosani

Is c # slower than c ++? Actually I am a little familiar with c and java ... now I am in a mood to learn c #. Is it better than c and java?

Software Development c++
Member Avatar for nanosani
0
326
Member Avatar for nanosani

I want to control the power of my room from my computer. I want to add the circuit to my serial or game port. Can I make the driver for it in java (I know I can) but is it easier than any other language like vc. Any ideas?

Software Development java
Member Avatar for cosi
0
162
Member Avatar for ZEEPLE

Hello All, I am creating a simple program that draws a simple house. My problem is I need it to run as an application as well as an applet from the same code..I think I am on the right track..Any help would be greatly appreciated check out my code to …

Software Development image java java-swing
Member Avatar for ZEEPLE
0
194
Member Avatar for nanosani

I am doing some very nasty computation using java but it always gives me a java.lang.OutOfMemory Error,after this nothing on the GUI works.i think its ok to have that error but atleast things should work afterwards. Please Advise

Software Development gui java
Member Avatar for nanosani
0
149
Member Avatar for biel_andrada

Hi! Thanks for the help regarding vectors :) It really helped me. Now, I have a problem regarding classes. I do not know the problem in this program #include <iostream.h> #include <ctype.h> //islower(), toupper() #include <stdlib.h> //exit( ) class Temp { public: Temp( ); Temp(double initDeg, char initScale); double Degrees(); …

Software Development c++
Member Avatar for gusano79
0
107
Member Avatar for freesoft_2000

Hi everyone, How does one convert the following a string to integer a integer to string a string to float a float to string a string to long a long to string a string to double a double to string I am trying to do a mini calculator. If someone …

Software Development email java
Member Avatar for axiss
0
101
Member Avatar for nanosani

Any api function in java that allows a program to open and edit the contents(preserving the formatting of the file such as the font, size etc) of the file within a gui?

Software Development api gui java
0
105
Member Avatar for the_one2003a

Hi I created a class,simplified class is like below: #include<iostream.h> class cCat { public: //Constructors and Destructors cCat(); ~cCat(); //Accessor Function int & cCat::GetAge() const{ return *itsAge;} //Convertion operator cCat(int); // cCat object =int x private: int *itsAge; }; cCat::cCat() { itsAge = new int; *itsAge= 20; } cCat::~cCat() { …

Software Development c++
Member Avatar for the_one2003a
0
141
Member Avatar for nanosani

While reading a topic in my book on comparison between java and c ++ ... I read one difference ..... java statements can be labeled while c++ statements cant be. Can anybuddy tell the use of labeling in java?

Software Development java
Member Avatar for nanosani
0
177
Member Avatar for Sphyenx

Ok, ive done all my reasearch, is this how i should learn them.... Python, C, then C++, then JAVA, then PERL?? now should i forget botui Q/basic, an dpascal, and C# or add those in.

Software Development c++ perl python
Member Avatar for Killer_Typo
0
116
Member Avatar for Sukhbir

#include<iostream.h> void main() { cout<<"hello"; } //IF WE COMPILE THIS PROGRAMME IT WILL NOT PRINT HELLO ON U'R SCREEN.TELL ME WHY & TELL ME PROCEDURE HOW IT PRINT USING COUT IN VC++

Software Development c c# c++
Member Avatar for stg110
0
280
Member Avatar for smithag261

I'm new to C programming. I could not understand how to write the following programs. 1. Any year is input through keyboard. Write aprogram to determine whether it is a leap year or not.

Software Development c c# c++
Member Avatar for let us c
0
159
Member Avatar for lore00

desperate need in help on how to do this! To design a class model to represent a simple air traffic controller scenario. Itz not necessary to consider any specific implementation details Air traffic control system: which organises and regulates the process of landing aircraft at an airport. The system has …

Software Development java queue
Member Avatar for nanosani
0
820
Member Avatar for bobinson

Hi, Pls how can I draw a table on a panel with java.The table with five rows and ten columns. Thank you. Bobinson.

Software Development java
Member Avatar for nanosani
0
125
Member Avatar for dirtcar31

someone please help me get rid of html 37049 need some kind of help some where to go to free down load to get this thing gone

Software Development java
Member Avatar for nanosani
0
71
Member Avatar for Ghost

Can anybody help me with some or all of these problems? Problem 1: Write the definition of a function minMax that has five parametersª. The first three parametersª are integersª. The last two are set by the function to the largest and smallest of the valuesª of the first three …

Software Development c c# c++
Member Avatar for WhataNerd
0
228
Member Avatar for WhataNerd

This is just a general C++ question. For someone who has been working with C++ for a while now, my question is what are the best articles-books-anythings to read or do when starting out using C++ . I have a new found passion for programming, and i just want to …

Software Development c++
Member Avatar for WhataNerd
0
153
Member Avatar for Ghost

You replied to my post earlier. I had the C++ question on remainders. The compiler said your code was incorrect :twisted: , so I thought i would give you the orriginal question. Here it is: Write the definition of a function divide that takes four arguments

Software Development c++ first-post
Member Avatar for Ghost
0
488
Member Avatar for OurNation

Can some one write me a code that would genarate numbers in a certin pattern? The pattern starts with 1 the next number 11 meaning the last number had one one the next number is 21 meaning the last number had two ones. Is it possible to make a program …

Software Development java
Member Avatar for cosi
0
170
Member Avatar for asdfgh

Hi i'm pretty new to the whole java thing with basic skills in the non graphical parts of java and some limited swing skills. There's this thing about threads that's sorta irritating me. I would like to know.....if this is possible....how i can run multiple threads in the same class …

Software Development java java-swing
Member Avatar for asdfgh
0
191
Member Avatar for Nexxuz

do you have to be good at math, or science or math to be good at C++??

Software Development c++
Member Avatar for Killer_Typo
0
108
Member Avatar for crazybitez

Hi, I'm trying to write an array of linked lists to disk using c++.I'm running this program on Linux.My data structures are as follows... A Hashtable class which holds the array of linked lists... A linked list class which also has a writetodisk function.. An indexer class which adds entries …

Software Development c++ linked-list
Member Avatar for crazybitez
0
112
Member Avatar for Dragon Master

Hi, I need help with what to start with... Allegro or DirectX or something else??? I program in C++, and I have found the books, but what should I start with as a beginner??? Thanks in advance!!! ;)

Software Development c++
Member Avatar for Dragon Master
0
121
Member Avatar for Frogstar

Hi, I'm trying to compare two text files (outputs from a database and corresponding spatial table in a GIS) to check for errors. Basically, i'm assuming that the output from the database is correct and any missing/repeat numbers in the spatial table will be errors and should be reported. I've …

Software Development c++ ios
Member Avatar for Dave Sinkula
0
150
Member Avatar for freesoft_2000

Hi everyone, I would just ask a question is that can the java programming language be used for commercial uses without any royalty is there any kind of distribution strings attached ( i can charged money for my program and not distribute for free)? Can someone please help me answer …

Software Development email java
Member Avatar for Cain
0
166
Member Avatar for mmmmar

hi guys! ;) i'm tryng to make a [B]class string[/B]... i'm wondering how to make a member function that can show the string length w/o using strlen..please help! :?: i already made a program that prints the length of the string w/o using strlen...but the problem is, it's in the …

Software Development c++
Member Avatar for mmmmar
0
151
Member Avatar for The Beholder

I'm stuck on retrieving bytes from a register using qbasic, specifically how do they get the Low byte and High byte from this: 'al%=lowbyte of ax, al%=highbyte of ax, al%=outregs.ax and &hff ah%=outregs.ax \ 256 I can understand that with call interrupt you can read or write to general registers …

Software Development visual-basic
Member Avatar for The Beholder
0
135
Member Avatar for kohkohkoh

for a simple program... #include <iostream> using namespace std; int main() {[color=magenta]int x[/color]; cout << "enter password\n"; [color=red]cin >> x[/color]; return 0; } for the pink colour part.. if i want my password to be in integer and alphabets, so what command line should i put? and when i enter …

Software Development c++
Member Avatar for saji
0
111
Member Avatar for bobinson

Top of the day to you guys out there! Kindly assist in this program.It's made up of six textfields and a button on a panel.it should work in such a way that the fifth textfield displays the sum of the values entered into the first four on pressing the button.Also,the …

Software Development display java
Member Avatar for bobinson
0
147
Member Avatar for freesoft_2000

hello everyone, can anyone show me any good links on the web where i can get good information about the java swing and awt package event handling. My event handling is very bad as the last java sdk i learned was sdk 1.0. It was a very long time ago. …

Software Development java java-swing
Member Avatar for avinashjava
0
163
Member Avatar for Ghost

I need help solving two macro questions in C++. They are: Define a macro PANIC that expands to code that uses cout

Software Development c c# c++
Member Avatar for Ghost
0
1K
Member Avatar for the_one2003a

Hi I tried to use a pointer to point to address of an enumurated constant but this made a compile error. so can can I know address of an enumurated constant and use it with a pointer? down is a sample code: #include<iostream.h> main() { enum Date {mainX=1,mainY}; const int …

Software Development c++
Member Avatar for the_one2003a
0
684
Member Avatar for madref

This program won't print the menu number the user enters??? /* Currency equivalence to the Dollar*/ #include <stdio.h> float Australian_Dollar; //Australian Dollar float Euro; //Euro Dollar float British_Pound; //British_Pound Dollar float Japanese_Yen; //Japanese_Yen Dollar float Swiss_Franc; //Swiss_Franc Dollar float count; int menunum; /* Dollar conversion */ int main(void) { // …

Software Development c
Member Avatar for red_evolve
0
851
Member Avatar for kc0arf

Hello, This might be in the wrong place. My question pertains to MS Excel, and using Visual Basic for Applications (VBA). We have a user that would like to hide one of her worksheets within a workbook. She would like the sheet to be securely hidden. I found this piece …

Software Development vb.net visual-basic
Member Avatar for mnemtsas
0
170

The End.