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.

~3K People Reached
Favorite Forums
Favorite Tags

23 Posted Topics

Member Avatar for Rdel

Both of them are free c++ compilers. I do not know if one of them has technical advantage over the other one. If I were you I would use the one which has more documentation on the internet.

Member Avatar for PrimePackster
0
104
Member Avatar for esesili

Hello all, I want to write a qui program which opens and reads a text file when pressed Open File button. So far, when I click the button Open File Dialog works and I can choose the file to read but I do not know how to read it line …

Member Avatar for esesili
0
240
Member Avatar for esesili

Hello All, Currently I am working on an GUI using a tutorial video. In video when tutor types n = System::Convert:: , after :: a bunch of options appear like n = System::Convert::ToInt32. However, when I type same phrase n = System::Convert:: after :: no option appears. How can I …

Member Avatar for esesili
0
160
Member Avatar for esesili

Hello All, I have been using c++ console applications for a while. I need to develop some graphical user interfaces. Even though there are many ways of developing a gui, I am not sure what is the most easy to learn and use. There is a library called Q4 library, …

Member Avatar for LdaXy
0
328
Member Avatar for Raisefamous

Here is another factorial program. Almost same with others [CODE]#include <iostream> using namespace std; int main() { long double n; long double result = 1; int k; cout << "please enter a non-negative number"<< endl; cin>> n; if (n<0) { cout<<"the number is less then 0."<< endl; cout<<"please enter a …

Member Avatar for WaltP
0
258
Member Avatar for esesili

Hi All, When I try to compile the code below, I get error message " error: ‘MAX_IMG_HEIGHT’ undeclared here (not in a function)". I tried to declare them in different ways but it does not work. Does anyone have idea ? I appreciate for helps, The code is: [CODE]/* ImagExper.h …

Member Avatar for dusktreader
0
92
Member Avatar for esesili

Hi All, I got a program which was written in c++ for unix at 1999. There are almost a hundred of source code files and makefile is available also. I do not have access to unix because of this, I need to get it worked in windows. My question is …

Member Avatar for WaltP
0
123
Member Avatar for esesili

Dear All, First of all, I do not know if this is the correct place or not but I am having problems about playing video by using opencv. I am trying to play an .avi video. I did exactly the same thing as tutorial but the code below does not …

Member Avatar for Nick Evan
0
139
Member Avatar for esesili

Hi all, I am having problem about file operations. There are a few numbers in my txt file. I want the program to calculate average of these numbers in the txt file. The code I have written is as below. Number of numbers in the file is 5. When I …

Member Avatar for mrnutty
0
131
Member Avatar for esesili

Hi all, I am trying to read double numbers from a txt file and calculate average and standard deviation. It builds successfully but gives an error when it is run. The error I see on the screen is -1.#IND. Do you have any idea what it is and how can …

Member Avatar for mrnutty
0
78
Member Avatar for esesili

Hi all, I want the program below to calculate the doctor fee. I am doing it to learn class and inheritance concept. "[B]patient1.output(cout);[/B]" works correctly it gets [B]doctor_hour_fee[/B] from [B]doct1[/B] object. The problem is at [B]patient2.output(cout);[/B]. When I enter patient information it asks me to enter all member variables of …

Member Avatar for Sky Diploma
0
118
Member Avatar for esesili

Hi everyone, I have a problem about inheritance and I can not solve it since Monday. I have two classes [B](Student_Patient and Emp_Patient) [/B]inherited from [B]Patient[/B] class. [B]Patient [/B]class and [B]Doctor [/B]classes are inherited from [B]Person [/B]class. The [B]Doctor[/B] class has a member function[B]double get_fee_of_doc() const;[/B] which returns a double …

Member Avatar for NathanOliver
0
122
Member Avatar for esesili

Hi all, I have a simple question. I am working on it for a long time and I feel that I am almost done except for a small problem. As seen below there is a member function of patient class. It takes variables name and visit_duration. In addition to these …

Member Avatar for Sky Diploma
0
146
Member Avatar for esesili

When I compile the code below it generates more than 30 syntax errors. It does not make sense. The problem is probably somewhere in [CODE]Patient(string name_of_patient, int age_of_patient, string address_of_pat, double visit_duration_ofp, string ssn_of_patient, Doctor &doc);[/CODE] but I could not figure out the problem. I know it is not convenient …

Member Avatar for StuXYZ
0
129
Member Avatar for esesili

Hi all, I have two classes [B]C[/B] and [B]D[/B] these classes are inherited from [B]B[/B] class. My question is how can I use a member function of [B]C[/B] at[B] D[/B] and at [B]D[/B]'s child classes? I tried to do it with a regular function but it does not work in …

Member Avatar for esesili
0
141
Member Avatar for esesili

Hi All, I have created a class [B]person[/B] and derived [B]patient[/B] and [B]doctor[/B] classes from [B]person[/B]. Also I derived [B]student_patient[/B] and [B]emp_patient[/B] classes from [B]patient [/B]class. I want to make a small calculation at [B]patient[/B], [B]student_patient[/B] and [B]emp_patient[/B] classes by using a function from [B]doctor [/B]class wihch is [B]get_fee_of_doc[/B]. I …

Member Avatar for Ancient Dragon
0
84
Member Avatar for esesili

Hello all, I have a [B]base class[/B] which is called [B]person[/B]. I derived a class from[B] person[/B] which is called [B]patient[/B]. My question is can I derive two more classes ([B]patient_student and patient employee[/B]) from [B]derived class patient[/B] or should I derive them from [B]person[/B]? If I can derive classes …

Member Avatar for mrnutty
0
164
Member Avatar for esesili

Hello All, I am a new user of c++. Until now I just worked on basic console applications. I have to develop a program which will be able read two images and open them in separate windows and do some geometric calculations background. Also this program should allow user to …

Member Avatar for marco93
0
114
Member Avatar for esesili

Hi all, I am studying c++ and there is an expression that i did not understand can someone please explain it to me ? It is declaration of a public class method. The expression is [B]bool less_than(const Date &d) const [/B]. name of the class is Date. Thank you,

Member Avatar for Dave Sinkula
0
73
Member Avatar for esesili

Hi everyone, I am trying to sort array by a function. My code is shown below. I get error message "runtime check failure 2 stack around the variable "arrayim"". Can someone tell me what does it mean and how to solve this problem? I appreciate for helps [ICODE]#include <iostream> using …

Member Avatar for chaines51
0
107
Member Avatar for esesili

Hello All, I am trying to generate an array which has random integers and pass this array to a function to be able to print random integers. The code I have written is as below. Can you help me about that? Thanks [ICODE]#include <iostream> #include <ctime> using namespace std; void …

Member Avatar for tux4life
0
120
Member Avatar for esesili

Hello again, I am trying to generate an array which has random integers. Then I have to sort it and perform binary search. Below is my code so far. It gives error message (runtime check failure 2 stack around the variable num_arry was corrupted). When I define num_arry[10] instead of …

Member Avatar for tux4life
0
101
Member Avatar for esesili

Hi all, I am trying to write a simple program but I am having an error message that I am working on it for three days. The aim of program is to convert entered value depending on the clicked radio buttons. Please can someone help me about it ? Thanks, …

Member Avatar for JamesCherrill
0
145

The End.