Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~6K People Reached
Favorite Forums
Favorite Tags
Member Avatar for svatstika

Hello everyone! My idea is like this: Class MainWindow is a JFrame object, on which there is a JButton object (named button1). When I hit that button, the second window (this window is a JFrame object that is instance of class SecondWindow) will appear with a JTextField object (named textField) …

Member Avatar for NormR1
0
276
Member Avatar for svatstika

Hello everybody! I've made an application in borland C++ builder 2006. Then I tried install it in another computer. borland C++ builder 2006 is not installed in this computer. So I got the message: can not open my application because missing file vcl100.bpl . I searched in google.com but still …

Member Avatar for jonsca
0
120
Member Avatar for svatstika

Hi everybody! In my TMemo (name: MemoMain) there are following datas: 3 0 1 1 1 0 1 1 1 0 I must read them to a variable int and an array int A[][]; After reading: n==3; A[0][1]==0 A[0][2]==1 A[0][2]==1 A[1][0]==1 A[1][1]==0 A[1][2]==1 A[2][0]==1 A[2][1]==1 A[2][2]==0 I did like this: …

Member Avatar for svatstika
0
257
Member Avatar for svatstika

Hello everybody! I'm using Visual C++ 2008 and I've done problem "finding hamilton cycle in an undirected graph" after writing a console application. I want improve the program to a window form application and I have 2 missions to complete: 1. How to read an adjacency matrix from a rich …

Member Avatar for jonsca
0
95
Member Avatar for svatstika

Hi everyone! I'm reading a book and doing some exercises in this book. One of them is: define a class, which implements arithmetic (+, -, /, *) with arbitrary precision. This is a new type with just some arithmetic operations. With type double we also can do some arithmetic but …

Member Avatar for svatstika
0
184
Member Avatar for svatstika

Hi everyone! I'm trying to creat a class calling INT, which is equivalent to type int. I think we must creat every operator for this class like: +, -, *, /, %, pow(x,y),... I've never seen how does type int look like? May someone give me a introduction to type …

Member Avatar for mrnutty
0
190
Member Avatar for svatstika

Hello everybody! I'm trying to create a class calling INT, that is equivalent to the type int. I really don't know exactly what're inside class int. What I know is int is a type. I think what I need to do is create a class with operators like: +, -, …

Member Avatar for Ancient Dragon
0
92
Member Avatar for svatstika

Hello everyone! I'm writing a program to evaluate an infix expression(for example: 1.5*(2-3)+(4.5-4)). To do that I'm using function void infix2postfix(char* infix, char * postfix, int insertspace) to convert an infix expression to the postfix one (for this purpose I'm using a stack to hold operators of infix expression); then …

Member Avatar for VernonDozier
0
251
Member Avatar for svatstika

Hello everyone! I'm trying to understand the following code: [CODE]class char_queue { protected: struct charNode { public: char val; charNode* next; charNode(char ch, charList* ptr) { val = ch; next = ptr; } }; protected: charNode* begin; charNode* end; void clearCharNode(); public: char_queue(); bool find(char ch); virtual void add(char ch); …

Member Avatar for svatstika
0
124
Member Avatar for svatstika

Hi everybody! I'm working on a following program: [CODE] #include "stdafx.h" #include <iostream> using namespace std; class char_queue { protected: struct charList { public: char val; charList* next; charList(char ch, charList* ptr) { val = ch; next = ptr; } }; protected: charList* begin; charList* end; void clearCharList(); public: char_queue(); …

Member Avatar for jonsca
0
151
Member Avatar for svatstika

Hello everybody! I'm trying to understand following code. [CODE] #include "stdafx.h" #include <iostream> using namespace std; class Circle; class Square; class Triangle; class Shape { public: virtual bool Check(const Shape&)const = 0; virtual bool Check(const Circle&)const = 0; virtual bool Check(const Square&)const = 0; virtual bool Check(const Triangle&)const = 0; …

Member Avatar for Ancient Dragon
0
262
Member Avatar for svatstika

Dear Friends! I want to draw a bouncing ball directly on form using component timer. I think that I should draw a ball then change its coordinates. Like this: [CODE] public partial class FormMain : Form { int mx = 10; int my = 10; public FormMain() { InitializeComponent(); } …

Member Avatar for ddanbe
0
238
Member Avatar for svatstika

Hi friends! I have a openFileDialog and a saveFileDialog. All I wanna do is: when I click on menu Open, a dialog will be appeared, then I can choose difference file types to open like: .doc, .cpp,... The same thing to saveFileDialog. Thanks in advanced for any suggestion! :)

Member Avatar for PsychicTide
0
56
Member Avatar for svatstika

Hi friends! I'm doing a small project in VC# 2008. In the main form (called myForm) I have a richTextBox (called myRichTextBox) and a button (called myButton). The thing is: when I click on the button, the last line from the richTextBox must be deleted. I'm doing like this: [code] …

Member Avatar for Momerath
0
3K
Member Avatar for svatstika

Dear friends! I have a button in form1, and now I want when clicking on it, a new form (form2) will appear. There's a text box on this form2. User will input a integer here. After user's pressing Enter, this integer will be given to a function into Form1.cs and …

Member Avatar for darkagn
0
173