49,761 Topics
| |
hi every body i m doing project of hand gestures detection using open cv .so pls guide me how i detect hand from video . | |
Here is my problem: 1) I have a tree which I want to act upon some branches indepedantly and simultaneously by different threads 2) The program is structured so that the processing of each branch is isolated after the main "manager" thread delegates the work to different thread: memory of … | |
I am studying CH4.3.2 of the book "C++ concurrency in action" , the book mention about "synchronizing with message passing" and give the reader some basic idea about it but without details(how to implement it). Could I find some simple examples which implement MPI by boost::thread? Since I haven't grasp … | |
hello my dear friends I have read a book that was simple to learn c++,recently But in operator ovorloading threads ,I dont underestand many example for ovoreloading in another books & booklets for example : in the example below 1 // Fig. 11.3: PhoneNumber.h 2 // PhoneNumber class definition 3 … | |
How do I define a function that reads a sequence of values from an input stream that is passed as an argument? | |
Hey everybody, I am still pretty new to programming. I am not getting a compiler error here, but I can't figure out what the problem is. I get the message "an unhandled win32 exception occured [1576]" It seems like some type of overflow in the insertion_sort function. I am still … | |
I'm trying to solve this exercise. Write a program that print out the following, user will input the top number: ***** **** *** ** * i made a program similary to this , but user inputs the bottom number ,the output is like this: * ** *** **** ***** here … | |
hope anyone can help something with this code, well this code for the exercise 3.4 in Accelerated C++ book... where 3-4. Write a program to report the length of the longest and shortest string in its input. I thought my code was gonna going good, but it seems that it … | |
Hello, I am trying to add integers to a two dimensional vector. My problem is on line 26. I know this is how you would add the data to an array, but how do you do this for a vector? Also, is it true you cannot pass an array to … | |
Hi there, I'm trying to create a complex number class in c++ and have hit a snag. I have searched the forums here for an answer and have tried to google it, but still wasnt able to figure out what is wrong. I am fairly new to C++ so yeah. … | |
Having a little trouble with this problem. Keep getting a compiler error which says there is no match for my operators when I run the test program Create a class called Rational for performing arithmetic with fractions. Write a driver program to test your class. Use integer variables to represent … | |
#include<IOSTREAM.h> main() { int rohan=0; int m=10; int l=10; int t=10; int flag1 =0; int flag=0; int temp; float temp1; long double n; double k; cout<<"ENTER N\n"; cin>>n; k=n; int camp; camp=k; while (flag1) { l*=10; camp/t; t*=10; if (camp == 0) {flag1=1;} } if ((1>n)&&(n>=1e6)) {cout<<"there is a error";} … | |
I am having problems with a simple file I am trying to create. The idea of the file is to use a header to read something from the file and then call this in the main.cpp This is my Main.cpp file: [code] #include <iostream> #include <string> #include "Menu_Screen.h" using namespace … | |
I need help with a programing assignment for my CS 2 class, the task is to check rather a user inputted string is a palindrome meaning it is the same forwards as it is backwards. I have most of the program working, I input a string then copy it and … | |
I am having a problem with my program not reading the OR statements right. [CODE] do { blah blah blah }while(y!=1||y!=2); [/CODE] I have also used it as this format, ((y!=1)||(y!=2)) The program is marking it as true and keeping me stuck the loop even though y is == 1 … | |
My assignment is to basically design a set class that creates a "set" of any data type and is able to perform basic functions. It needs to use an array to store it's elements and operate like a C++ set, meaning no duplicates. I need to be able to add … | |
hello everyone, can anyone suggest me any software that is portable in pen-drive and c++ program can run in pen-drive. | |
I have the following program to reduce rational numbers but am getting error messages at the lines x = c.subtraction( d ); and for multiplication, addition and division that says no operator "=" matches these operands. I do not know why. Could someone please help? [code] class Rational { private: … | |
how do i store the data from the partData file and find if the order was successful?????? is this program correct???????? #include <stdio.h> #include <stdlib.h> #define MaxWordSize 1000 /*Part Number = PartNume Selling Price = SP Quantity in stock = QtyInStock Order Number = OrderNum Quantity requested = QtyRequested partData … | |
I want to make a table like this: Seq. Name Class Seat VIP? Mileage(km) ==== =============== ===== ==== ====== ========== 1. Peter B 5A VIP 1046km 2. David F 1A VIP 2150km ...... Do I need to use for loop, strncpy to do so? Or do I need to use … | |
i need to use function but i think my card value and calculate hand functions are not working right. not sure what to do. [code] #include <iostream> using namespace std; void instructions ( ); void input (int& number_of_cards, char& card_value1, char& card_value2, char& card_value3, char& card_value4, char& card_value5); int calculate_hand … | |
Hi, I'm learning to use the Simple, Fast, Multimedia Library (or SFML), and I was going through the tutorials on their website. The first one (found [URL="http://www.sfml-dev.org/tutorials/1.6/window-window.php"]here[/URL]) said the following: [QUOTE]Under Windows operating systems, you may have created a "Windows Application" project, especially if don't want the console to show … | |
Hello, i need help adding to a class member. I want to make a deposit and add $20 to the class member, however, it doesn't change the value of the class member when i do so. example: $200 + $20 = $200 And, i assume the other methods won't work … | |
Hello, This assignment is demanding for me. The user is prompted to enter 4 names, and by way of one cout line, call the function 3 times to determine which name comes first lexicographically. Not sorting all 4 names, just displaying which one comes first. Cannot use a loop, or … | |
I'm writing a program in C++ to convert a user-submitted string into a postfix expression and then evaluate it. The function where the string is tokenized into operands, operators and such looks like this: [CODE] void Calc::tokenize(char * s){ cout << s << endl; int i = 0; char * … | |
Im trying to grab a value from my query. Im gettign a sintax error. It contains a picture name mypic.jpg. Then i want to display that on my page. This is what im doing how do i do this correctly. display.aspx [CODE] <asp:Image ID="Img1" ImageUrl="pathToPicture" runat="server" /> [/CODE] display.aspx.cs [CODE] … | |
I’m writing my first form application in Visual Studio 2008 C++. The first thing that has to happen is to select the project you are working on. I used a combo box that will eventually be initialized from the contents of an INI file. The first time through it will … | |
So I am getting the below error messages with seem to do with vtable. I would assume this is in relation to Virtual functions. I'm not sure what i'm doing wrong here or even the correct corse of action. HELP :-) ? Ld /Users/krisarmstrong/Library/Developer/Xcode/DerivedData/CS215Lab4-cyvyxpagepfuqhdusjdgbpjctcis/Build/Products/Debug/CS215Lab4 normal x86_64 cd /Users/krisarmstrong/Documents/XCodeProjects/CS215Lab4 setenv MACOSX_DEPLOYMENT_TARGET … | |
Sometimes, when I want to move the project from path A:/B/C to path A:B/C/D/E, the relative path of the project have to be changed. I think I could write a small program to deduce the relative path after changed, it would be better if I could change the "Additional manipulate … |
The End.