General C++ Programming (Page 2)

by byOmer
How to do input function in keyboard?
I want to input in keyboard a function. For example ; x*x+y*y . input x (example 2) and y (example 3...
[2 replies] Last: no this is wrong. it will be ; cout << "Input a function" ; // (we ... (by byOmer)
by Zyety
Please help, Not sure what im doing wrong
I want to use a conditional statement to create the objects of my 2 derived class depending on the u...
[11 replies] Last: You're welcome - glad it worked! (by MikeyBoy)
by mtali
i need to make a given project. i need consultation of expert programmer
I am given a project on either a circuit simulation program or an aircraft trainer both using c++ ob...
[no replies]
How do I capture and Process each and every frame of an image using CImg library ?
Hi, I'm working on a project based on real time image processing using CImg Library in Raspberrypi. ...
[4 replies] Last: I think I know what helios is getting to on this one. What model Ras... (by Computergeek01)
pointer to function error
I keep getting the error below when I try to pass a function pointer as a parameter in function fx1....
[5 replies] Last: int fx1(int(*p_funct)(int)) { (*p_funct)(10); } is more commonly w... (by cire)
Sorting code
Our teacher wants us to show the "number of passes" or the difference in passes in the Selection, In...
[1 reply] : #include <iostream> template < typename T > void sort( T a , int n, ... (by JLBorges)
by RichaS
OLEDB Provider problem
I am facing a problem while upgrading one of my code from VS 6.0 to VS 2012, written in C++. This...
[no replies]
Homework Help
Hey guys, I need your help. I am working on homework and I am getting the error: undefined reference...
[1 reply] : Nevermind, I figured it out. I forgot to finish the prototype. (by Ateimoortagh)
Opening file issues
my file is failing to open i have a file named numbers.txt with 12 numbers in it like so : 1 2 3 4 ...
[17 replies] Last: Thanks for that! (by Little Captain)
HomeWork prompt
Hello! I am basically having trouble on a homework prompt and need a little help with scenarios tha...
[no replies]
Binary 7
Okay. So I'm trying to interface to a system and the interface document has the message definition ...
[3 replies] Last: Should it be of the same type, char? A byte is a byte is a byte. S... (by MikeyBoy)
pretty much confused...about this
one of students wants to get output as upper right and upper left elements of matrix /* Declarati...
[1 reply] : one of students wants to get output as upper right and upper left ele... (by keskiverto)
Double dispatch
I'm making a binary tree as well as various different classes that act upon it, with the idea being ...
[4 replies] Last: The reason I've been trying to do this, is that I've been trying to mo... (by shadowmouse)
I'd like a critique of my mathematical vector struct
I wrote a struct with operator overloading as practice, I want to know what I've done wrong and how...
[5 replies] Last: hi, With radian_angle_between , are you aware that the dot product e... (by TheIdeasMan)
Can't figure out why num variable wont work
#include <iostream> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h>...
[no replies]
Error cannot convert Movies* to Movie* in assignment
In Movies.cpp at the bottom of the Movies* createMovies() function ///////////////////////////...
[3 replies] Last: You know, this is the exact problem constructors were created to solve... (by tipaye)
Pokemon Text game (HELP)
hello! so i need some help badly on my program i am making about pokemon. it is text based game and ...
[no replies]
Compiler Error when creating a program about classes
I am trying to compile this program I created but I keep receiving compiler errors and I don't und...
[6 replies] Last: In you Factorial function you haven't used braces around num = num * ... (by AbstractionAnon)
Store the contents of text file into map container and print contents of map
Hi everyone I am trying to store the elements of text file in map container. The elements of text ...
[1 reply] : Double post: (by MrHutch)
parameter problem
so I making a linear sorting into a function and for some reason there is an error (Argument of type...
[3 replies] Last: still don't get how to make the code block thing http://www.cplusplu... (by MikeyBoy)
Pages: 1234... 27
  Archived months: [mar2016]

Cannot post in this page. To post a new message, go to the first page.