49,761 Topics
| |
| Design a function that computes integers whose factorial is less than number read from input data? |
can someone please tell me how much time will take to learn java , i have already learnt c++ and looking forward to learning java | |
I would like to learn the Win32 or the Windows API. But I have no clue. I just need some guidance to go ahead. Thanks | |
i wrote but the Read function is just for a single character any function for int numbers? int i = Console::Read(); Console::WriteLine(i); | |
design a digitally controlled washing machine that sets the wash temperature to 80degree celcius for cotten clothes 40degree celcius per quick wash and 1000 revolution for rinse and dry only using Microsoft visual STUDIO 2010 c++ programming //please this is all i could do, help improve in respect to the … | |
In a past prac. exam for an algorithm course I'm doing is the challenge below, and their are no solutions but it seems like a really interesting one to solve. Can someone please help and point me in the right direction, I would like to try this on my own, … | |
Hello! My name is Page, and I am still in the process of becoming a more seasoned programmer. I am trying to get a .txt file with first names in it to be sorted after I read the file and input it to a array from a function. Now I … | |
Hi, I m new in programming language and i m using turbo c . Can it be possible to give the header file windows.h in turbo c ? And if it is possible then please give the detail function and related code of it.I will be remain thankful to you. | |
// 9-2. If we define the name function as a plain, nonconst member // function, what other functions in our system must change and why? based on the question, the answer would be // answer bool compare(const Student_info&, const Student_info&); // because this function uses the member function as it's … | |
where is the run-time error in that code? void main(){ .... char *fruites[5] = {"apple", "banana", "orange", "apricot", "pineapple"}; bubble(fruites,5,10); } void bubble(char *a[], int size, int columns) { int j,i; char * x= new char[columns]; for (int z=0; z<columns;z++){ *(x+z) ='0'; } for (i = size - 1; i … | |
Hello, I'm having trouble with one of my coding assignments. I have to compare 2 arrays to see if they're identical. My code compiles fine, but i'm not getting the correct results. Mind you I'm in a beginner's course so I cannot have any advanced coding, I appreciate those suggestions, … | |
I want a programe witch automaticaly open a html typed file . Please help me to create a c++ programe # How to open internet explorer using a c++ programe # | |
compiler is showing this error but I don't know where I went wrong with my simple structure program. #include <iostream> #include <conio.h> using namespace std; #include<iostream> #include<conio.h> using namespace std; struct distance //structure { int foot; float inches; }; int main() { distance a,b; distance c={3,6.34}; cout<<"Enter feet and inches … | |
i am studying c++... and i have come across the topic constructors.. and in that i am confused between ...basic constructors, copy constructors, dynamic constructors... please explain what are these and also the program in which they can be used...??? | |
Hi All, Could you please clear my doubt why this second catch block is called when exception is thrown only once. #include <iostream> using namespace std; class E { public: const char* error; E(const char* arg): error(arg) {} }; class B { public: B() {}; ~B(){cout<<"~B() called"<<endl;} }; class D: … | |
Hello, I m new in programming languge and using turbo c . I need your help in completing my projects. I want to display the numbers in column with classification as even, odd, prime and composite numbers. And i want to use int array for 8 numbers. That is, first … | |
| |
I am working on an assignment that does the following three things when a valid expression is provided: 1. Convert to postfix 2. convert to prefix 3. Evaluate expression. I'm using stacks and Binary trees to do this and have been able to do the first two without a hick. … | |
Hello, I m new to the programming language and i m using turbo c++. If any one kindly give me a link for the meaning and definition and the uses of the different type of header file used in the c++ and there different types of function. | |
Can someone help me with this problem I need program in c++ ,that can sum number DIGIC COMPLEMENT and RADICAL COMPLEMENT IF the input is in DC 1111111111110101 0000000000100010 my output should be 0000000000011000 Please help | |
Helo, I m using turbo c++. I want to give menu bar with drop down list. I actually don't know the code for this. So, can u plz. help me to this by giving the source code to this. I shall be thankful to u. | |
Hi All I have a query regarding constructor and destructor. How accessibility of constructor and destructor affects the scope and the visibility of their class. If someone give some explaination on this I will be thankful. Regards | |
friends please do me a help, please solve this: All class must have encapsulation, constructor, destructor and in any one solution you must have to use operator overloading 1) Define a class name DVD_DB. Include the following members. `DATA MEMBERS:` Name of DVD – private character array, size 10 Price … | |
For some reason my string is spitting out pure trash, and I have no idea why it's doing it. There are no errors kicked out when debugging. #include <iostream> #include <string> using namespace std; void main(){ string xx = ""; string yy = ""; for( int x = 0; x … | |
#include<iostream.h> class counter { private: int count; public: counter():count(0) { count 1 } }; int main() { counter c1; return 0; } whats wrong in this program i am not able to know? | |
Hi all, Please answer this question. Why the output is ACA?? In the line obj = obj+6; the 6 should have been converted to obj type but, why it is converting the obj to int type? Please help... #include <iostream> using namespace std; class Base { public: Base(int m_var=1):i(m_var){ cout<<"A"; … | |
this is what the question said. // 9-1. Reimplement the Student_info class so that it calculates the // final grade when reading the student's record, and stores that grade // in the object. Reimplement the grade function to use this // precomputed value. this is what I thought! 1. Reimplement … | |
hi every ; i want to know how to start **simulation using c++** , i searched in many websites in order to find some hints about this subject but i found nothing . Best regards | |
hello everyone, I seek help please to find a program c + + that can read images from different types bmp, jpeg, png and put the pixels values in a vector, modified pixels valus, then saved the picture change to a different location, I inform you that I am working … | |
Hi, I've been learning about the std::copy function in the <algorithm> header and I'm stuck on this exercise that I gave my self. Let's see the code snippet first: #include <iostream> #include <vector> #include <algorithm> #include <iterator> using namespace std; ostream& operator<<(ostream& os, const int p_val) { os.put( p_val*2); return … |
The End.