49,761 Topics

Member Avatar for
Member Avatar for asif123

hi every body i m doing project of hand gestures detection using open cv .so pls guide me how i detect hand from video .

Member Avatar for asif123
0
163
Member Avatar for trantran

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 …

Member Avatar for jmichae3
0
306
Member Avatar for stereomatching

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 …

0
49
Member Avatar for atiyehjoon

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 …

Member Avatar for mike_2000_17
0
213
Member Avatar for rockerjhr
Member Avatar for nuclear
0
149
Member Avatar for coolbeanbob

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 …

Member Avatar for coolbeanbob
0
118
Member Avatar for Dakot

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 …

Member Avatar for Dakot
0
81
Member Avatar for Vasthor

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 …

Member Avatar for Vasthor
0
155
Member Avatar for coolbeanbob

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 …

Member Avatar for VernonDozier
0
172
Member Avatar for desolatebeast

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

Member Avatar for morganJohnson
0
345
Member Avatar for nyfan68

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 …

Member Avatar for Schol-R-LEA
0
2K
Member Avatar for rohan121212

#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";} …

Member Avatar for morganJohnson
0
161
Member Avatar for Octet

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 …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for Kyle Willett

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 …

Member Avatar for frogboy77
0
265
Member Avatar for rjstamey

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 …

Member Avatar for rjstamey
0
103
Member Avatar for Leprechaun6

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 …

Member Avatar for Leprechaun6
0
172
Member Avatar for clorofaysal

hello everyone, can anyone suggest me any software that is portable in pen-drive and c++ program can run in pen-drive.

Member Avatar for cossay
0
140
Member Avatar for lbgladson

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

Member Avatar for Schol-R-LEA
0
6K
Member Avatar for r_k_k

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 …

Member Avatar for WaltP
0
221
Member Avatar for Vermouth

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 …

Member Avatar for WaltP
0
137
Member Avatar for jlake

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 …

Member Avatar for WaltP
0
205
Member Avatar for Chuckleluck

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 …

Member Avatar for thines01
0
2K
Member Avatar for fishsticks1907

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 …

Member Avatar for thines01
0
189
Member Avatar for incredi_badd

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 …

0
45
Member Avatar for gwjunkie

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

Member Avatar for gwjunkie
0
100
Member Avatar for jdscams

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

0
48
Member Avatar for PapaGeek

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 …

0
76
Member Avatar for karmstrong

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 …

Member Avatar for vijayan121
0
705
Member Avatar for boyz
Member Avatar for stereomatching

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 …

Member Avatar for stereomatching
0
192

The End.