48,985 Topics

Member Avatar for
Member Avatar for charmie
Member Avatar for mzee rajput

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

Member Avatar for bernardo.mclobo
0
133
Member Avatar for Caperski

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 …

Member Avatar for Caperski
0
200
Member Avatar for wannas

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 …

Member Avatar for Mahesh_14
0
5K
Member Avatar for akshaydixi

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 …

Member Avatar for Darackht
-2
3K
Member Avatar for lusito92

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 …

Member Avatar for rubberman
0
202
Member Avatar for sirlink99

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, …

Member Avatar for JamesCherrill
0
535
Member Avatar for simran_5

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 …

Member Avatar for David W
0
164
Member Avatar for toneranger

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 += …

Member Avatar for toneranger
0
187
Member Avatar for ParPau

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 …

Member Avatar for LaxLoafer
0
481
Member Avatar for directorabbey

#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!" …

Member Avatar for zelrick
0
121
Member Avatar for Medusa Tomsin

when naming the constant in C++ program, WHY DOES IT IMPORTANT TO NAME FOR EXAMPLE INCHES_PER_FOOT ?

Member Avatar for 0x69
0
102
Member Avatar for k3rry41o

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.

Member Avatar for ddanbe
-2
104
Member Avatar for surayanbo
Member Avatar for NathanOliver
0
108
Member Avatar for prgmmgbgnnr

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 …

Member Avatar for prgmmgbgnnr
0
233
Member Avatar for can-mohan

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 …

Member Avatar for can-mohan
0
164
Member Avatar for Sara_13

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 …

Member Avatar for David W
0
283
Member Avatar for cambalinho

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 :(

Member Avatar for ddanbe
0
79
Member Avatar for can-mohan

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 …

Member Avatar for rubberman
0
262
Member Avatar for zelrick

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 …

0
113
Member Avatar for TheFearful

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 …

Member Avatar for Moschops
0
440
Member Avatar for mrismich

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<<' …

Member Avatar for TheFearful
0
218
Member Avatar for Pilot122x

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 = …

Member Avatar for マーズ maazu
0
223
Member Avatar for homeryansta

[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 …

Member Avatar for Syed Zuman
0
967
Member Avatar for mrismich
Member Avatar for SpottyBlue

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 …

Member Avatar for rubberman
0
195
Member Avatar for egieboom12

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

Member Avatar for rubberman
0
146
Member Avatar for mrismich
Member Avatar for mrismich
Member Avatar for mrismich

The End.