General C++ Programming - May 2012 (Page 22)

Multidimensional arrays and operator[]
 
Hello, I am currently wondering why operator cannot be used to index multidimensional arrays. My simple class definition is as follows: class classDeclarati...
[14 replies] Last: > Not to the readers of C++FAQ or the users of boost.ublas or Eigen. ... (by JLBorges)
MAIL BOX
 
hello everyone i've been asking to design a mail box using pop3 and smtp implimintation, however, my problem is that i need to plan template to MailManger th...
[no replies]
by anuf
Hangman game
 
i need help,our teacher give us a problem on how to design the logic for the hangman game.which the user guesses letters in a hidden word.Store the letters of ...
[no replies]
Abstract functions
 
I have a solid background in Object Pascal and C++ is very new to me. I have a base class that needs to call a function that is defined in a derived class. T...
[5 replies] Last: Thanks for the info. I'll stop trying to make the impossible work. (by KevinOfOz)
Include the library in solution
 
Hi everybody, I'm beginner user of C++ and I'm working with OpenCV library. When I've finished to write my software, I compiled it and I sent it at my friend. T...
[1 reply] : To do this, you need to do what's known as "static linking". Google ho... (by Moschops)
questions here....
 
i am plannning to create a cheat engine and dont know what C++ headers i shall use, and how do i attach my program to the process, how to scan from the process ...
[1 reply] : Sounds like you're trying to write a debugger to start with. Do some g... (by Moschops)
Count Number of Data
 
How can I count the number of data in array Example: In a class with 20 pupils the heights of the individual pupils, in centimeters, are: 175, 167, 160...
[3 replies] Last: Yes, I would mind. This is most likely homework. If I give you workin... (by Gaminic)
Pointing Arrays C++ Visual!
 
Here is what i cant figure out input(string&code1,string&code2); and input(string&code1,string&code2); string type not allowed? code1 and code 2 not identif...
[10 replies] Last: This makes no sense whatsoever: &code2= decoder2; You're trying to a... (by Gaminic)
need help with stopping the board from reading the initial value of the board
 
I need help with the code to stop it from reading the initial value of the board. For example if the ousb board initial value is 0,it should print out 1,2,3,4 ....
[no replies]
Input from user
 
Is it possible to take input from user using cin or getch() or any other and if user does nor enters any value for some time, program should go to next instruct...
[no replies]
by Flurr
Test Scores using 1 do while and the rest For loops
 
I have the basics of it working but I can't figure out how to make the -1 to quit not be displayed and stop the loop from going to the MaxSize(10) with random n...
[2 replies] Last: Thank you for helping me with this. I Figured it out using another pro... (by Flurr)
Calling for help~~~
 
Hello, everyone. I wrote my code to compute the value of an equation written with characters. That is to say, I key in "7*2+(6+3)*4#", I should get the result o...
[2 replies] Last: <math.h> is redundant with C++ you need <cmath> (by buffbill)
PROGRAM CREATING PAYCHECK
 
IM HAVING ISSUES GETTING A PROGRAM TO READ INFO FROM A FILE AND DOING THE FINAL OUTPUT. CAN SOMEONE HELP ME PLEASE... ////////////////////////////////...
[no replies]
I new at programming ATmega with C++ what is the process( steps ) of doing the function below?
 
programming ATmega with C++ what is the process of doing the function below? EXAMPLES Assuming that the Open USB board portb LED's display 11 in binary th...
[no replies]
help plz! find email in an .txt
 
hey everyone i am new to programming and have been working on this code for about two days with no solution. the code is supposed to find a email address within...
[no replies]
Is there any mechnisam for roundoff float numbers in c++
 
Hello guys..i am working on a program where in calculation if i got for example 14.6 i have to round off it to 15..how to do this??
[2 replies] Last: try: #include<iostream> #include<iomanip> using namespace std; int ... (by buffbill)
ShellExecuteWait()
 
While using the ShellExecuteWait ( "MegaMoney.exe" [, " " [, " " [, "open" [, showflag]]]] ) function, I know that the *showflag* is optional, but what do you p...
[7 replies] Last: Interestingly googling ShellExecuteWait and c++, top result: this post... (by slicedpan)
Question about Min and Max numbers
 
Hi all I'm new here. I have an assignment I'm working on. User enters positive numbers, program totals, averages, find min and max and displays to the user and ...
[5 replies] Last: Oh i see. Dang I cant believe I missed that. Added: cout << "Please e... (by klok95330)
problem with iterator and protected
 
Hello, I'm having problem using iterator. I have a class named Matrix and other one named BinPacking. I'm trying to manipulate the matrix in the BinPacking cl...
[4 replies] Last: You can access a protected member from an inherited class, but only it... (by slicedpan)
integral approximation program (final project for class)
 
I'm having trouble with this program. I'm trying to calculate the integral approximations using the midpoint rule, simpson rule and midpoint rule and print eac...
[no replies]
May 2012 Pages: 1... 2021222324... 41
  Archived months: [apr2012] [jun2012]

This is an archived page. To post a new message, go to the current page.