blah blah blah is here! blah blah » Close

0
votes
2 answers

Missing file vcl100.bp

Hello everybody! I've made an application in borland C++ builder 2006. The application is small just 500kB. Then I tried install it in an another computer. Borland C++ builder 2006 is not installed in this computer. So I got the message: ...

0
votes
1 answers

Graphic design problem in hamilton cycle

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 ...

0
votes
1 answers

Define a class, which implements arithmetic with arbitrary precision

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 do ...

0
votes
3 answers

Creating a class INT, which equavalent to the type int

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 l ...

1
votes
2 answers

Debug assertion failed! (visual C++ 2008)

Hello everyone! I'm writing a program to evaluate an infix expression(for example: [b]1.5*(2-3)+(4.5-4)[/b]). To do that I'm using function [b]void infix2postfix(char* infix, char * postfix, int insertspace)[/b] to convert an infix express ...

0
votes
1 answers

strange function in C++

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) { ...

1
votes
1 answers

cannot instantiate abstract class

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; ...

0
votes
1 answers

What is "const" using for? (I'm using visual C++2008)

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 Ch ...

0
votes
1 answers

How to check input data type in Visual C++ 2008

Hi everyone! I'm working on a console program in Visual C++ 2008. Here it is: [code] #include "stdafx.h" #include <iostream> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { int myInt; cout<& ...

1
votes
2 answers

prototype of a function

Hi all of you! My question is a little simple. What does this mean: [code]void h(const char& ch)[/code] Now I gonna give function a content and use it in main() function like following code: [code]void h(const char& ch) { cout ...

0
votes
0 answers

Creating a bouncing ball in VC# 2008

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; in ...

0
votes
1 answers

How to choose file type for a openFileDialog and a saveFileDialog in VC# 2008

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. Than ...

0
votes
1 answers

How to delete the last line from a richtextBox in Visual C# 2008

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 m ...

1
votes
2 answers

Creating new form in visual C# 2008

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 func ...

Feedback