48,985 Topics
|
|
i want to make an artificial system in c++ language for a doctor or any judge that will take input from the user and by using rule of inference it will display the result as true or false, can anybody help me to solve this problem |
|
|
I am in the process of making a small game-engine for educational purposes, and I have come accross a very fustrating error. When debugging the program with the c++ gdb debugger an error occurs on the `glGenVertexArrays(0, &m_vertexArrayObject);` - line 21 in the implementation of the `addVertices` method, line in … |
Hi there, well, i have homework of packet sniffing software i'm not suppose to write the code,but i need to make a report of an existing code and explain it in details. I found the following code somewhere(the code should be of a packet sniffer) ,but i couldn't run it.I … |
|
im studying in class 12 and i need a project for my school assessment. im not looking for those boring library management,hotel management and stuff but something interseting which will force me to think. i know a little bit of graphics to the extent that ive made program to draw … |
|
Hello guys I need your help im really new in C++ and I need to do easter calculation to get the right easter day, at the moment I could get one year. Example: Year 2015 Easter Day in 2015 is/5/4/2015Year but my professor is asking me to get year range … |
|
Hello Everyone! I am wondering about the thory behind the box blur. I have an assignment, and I wrote a program implementing the box blur the way it was described in my assignment which is "When centered on a pixel, its values are multiplied with each corresponding surrounding pixel values, … |
|
Create a teacher class (teacher name, ID, department, subject currently handled)and student class(student name, regno, subjects, teacher, marks(cae1,cae2,assignment), log) such that the teacher class id made a friend of student class. Allow the teacher class to update the student information like marks and also maintain an entry in the student … |
|
Hi, I'm trying to compute a moving average of length 20. I've got a vector of structs that's read into my function and I'm using an iterator to read through as follows: int length = a; int count = 0; double sum = 0; while (itr!= priceinput.end()) { sum += … |
|
All, I am wanting to be able to "read" hand writing. I have managed to get the hand written characters from papers. I now - to the computer - have just pixels on paper (output is in .pdf format). I want to have the computer be able to convert the … |
|
#include <iostream> using namespace std; int main() { const int password=123; const string username = "abc"; int pass; string user; cout<< "Enter your username"<<endl; cin>>user; cout<< "Enter your Password"<<endl; cin>>pass; if (pass==password) && (user==username) { cout<< "Access Granted"<<endl; } else{ cout<< "username And Password Incorrect"<<endl; } cout << "Hello world!" … |
|
when naming the constant in C++ program, WHY DOES IT IMPORTANT TO NAME FOR EXAMPLE INCHES_PER_FOOT ? |
|
Hey, i need c++ coding to print sum of this series 1 + 1/11 + 1/21 + 1/31 + ... + 1/N Would be great if someone could answer this quick, thanks. |
|
i was given an assignment to create a word construction game where the program will randomly picks a combination of vowels and consonants and the user will build as much words as possible from the choosen letters. my prog will check for the correctness of the words and gives the … |
|
Hi Guys, In my current task , I need to read the read the approximately 10,000 recoreds from database and need to store the same in container.Now i need to select container to store all this records inorder to generate the report.Could you let me know whether i need to … |
|
Hello , I've been working for an hour now searching for a solution for a problem i have for tomorrow's workshop so I wanted to be ready for it and here was the question : Write a program that reads 3 integers. Then, display: The count of positive integers … |
|
i need just an intro about Matrix. what is Matrix and what i can do? i understand that i can rotate, scale, mirror and more. but can i swap pixels?(convert red to green) i don't know so much about Matrix intro :( |
|
Hi All, Usually in factory method we need to check the existance of object based on given argument and then need to return the object and due to this we need to have multiple if and else statement and while adding one more type then again one more else block … |
|
Hello C++ Programmers; I would like to know if fill color can be automatic fill up a whole row when in two column have a number 6; for example: A B C D E F G H I J 1 98 132 3 146 6 54 8 210 8 2817 … |
|
Hello everyone, can anyone explain to me what is wrong with my project? I coded the program using my linux system using Vim and the g++ compiler. I then copied that text over to Visual Studio since I am assuming my professor is going to compile and run it through … |
|
Im a student & and just started learning c++... My professor assigned me a program to get output as: 1 1 2 3 5 8 13 21 34 With the use of while loop... i hv made this>> #include<iostream.h> #include<conio.h> main() { int n=1,m=2; cout<<n<<' '<<n<<' '<<m<<' '<<n+m<<' '<<n+(2*m)<<' '<<4*m<<' … |
|
Ok, so right to it. int CSQLDB::Init(const char *host, const char *user, const char *passwd, const char *db) { //Init mySQL mySQL = mysql_init(mySQL); my_bool rec = 1; mysql_options(mySQL, MYSQL_OPT_RECONNECT, &rec); if(!mysql_real_connect(mySQL, host, user, passwd, db, 3306, NULL, NULL)) { printf("(!!!) mySql connection rejected!\n"); mysql_close(mySQL); return 0; } failed = … |
|
[CODE=C++] #ifndef LIST_H #define LIST_H #include <iostream> typedef char Item; class List{ public: List() {first = NULL; last = NULL;} //~List() void append(Item entry); void remove_last(); void output(); private: struct Node { Item data; Node *next; Node *back; }; Node *first; Node *last; }; #endif [/CODE] I'm writing a class … |
|
input 5 numbers and print in ascending order in c++ |
|
I got the questionairre problem. I was trying to fill the answers from the 20 questions and output the file as results.txt, but it only shows the answers of 19 questions. And when I fill up all the answers, the total score shows 0. The scores for each question (except … |
|
problem#1 Create a program that will count from 1 to n, wherein n is a user-input number. problem#2 Create a menu and combine previously-created programs into one im a newbie programmer i need help in using looping constructs... any suggestions??? |
|
how to print system Date & time on screen? in c++ |
|
how to reboot system using c++ commands |
The End.