General C++ Programming (Page 42)

my code gives wrong output
Today is my friend's birthday. I want to give a gift to my friend. So I am desperately searching for...
[no replies]
by aml14
Word Unscrambler
Hey guys. Im still a first yr programmer so go easy. For my final my teacher gave us this: Unscra...
[6 replies] Last: @aml14 I did a google search, and here's the list of words I found, t... (by whitenite1)
(array) deletion from the end
Can you please help me, give me a simple example of deletion from the end here is the algorithm 1...
[2 replies] Last: You delete it by not using it. Allocate the array using the maximum po... (by joe7)
by younes
Hi My MacOS doesn't support c++11, What should I do to install it? Thanks
[2 replies] Last: Which versions of Mac OS X and XCode you are you running? If you're u... (by Lodger)
by jaystu
New ordering system sorting
Here's the objective of the program: "Instead of using ABCDEFGHIJ to order letters use DCBAJIHGF go ...
[1 reply] : are you familiar with with strncmp function in c? I think you need to... (by SIK)
by manojg
passing std::vector as a const reference to std::sort problem
Hi, In my following code, I am passing a std::vector as a const reference to std::sort function but...
[4 replies] Last: Ahh! I see, thanks a lot. (by manojg)
Derived virtual class, returning object
Hi guys, I am having an issue I need some help with. If I have a virtual base class such as....
[2 replies] Last: Thank kbw, works like a charm! (by toomanystars)
Error handling when using Boost NonCopyable
I have been using a Boost NonCopyable library in Microsoft Visual Studio 2013. What I have is the...
[4 replies] Last: //tell user about error. In this case you are the user (of noncopy... (by spectral)
class and variable declaration
#include<iostream> #include<conio.h> #include<string> using namespace std; class ir; class B...
[1 reply] : #include<iostream> //#include<conio.h> #include<string> #include <cma... (by JLBorges)
by judo11
How to get the sum of rows and columns in 2 dimensional array?
Here's my code for adding the rows and columns. My problem is that my program displays an incorrect ...
[6 replies] Last: @judo11 What keskiverto is trying to tell you, is you must reset the... (by whitenite1)
c++ and sqlite
Can someone please help me understand how to integrate this. I want to write a simple console progra...
[1 reply] : Most C code ia valid C++ too, so what's wrong with using C API exposed... (by modoran)
Operator>> no match error
#include<iostream> #include<conio.h> #include<string> using namespace std; class Bank_acc { ...
[3 replies] Last: cout <<endl<< "Is the account a savings account or a current account?... (by KarnageKnight)
Counting black pixels in an image ??
I have a problem with the counting black pixels program at the very bottom and i dont know why its s...
[no replies]
by jaystu
Reading file into 2D array
can someone help me read a text file and store the file contents into a 2D array? Here's the file: ...
[1 reply] : As it's set up now, the nested loop is infinite. You should be testin... (by cire)
Game Programming Graphics
Hi =). I am looking to create a simple 8-bit top down game. Simple collision basics that I can lear...
[2 replies] Last: SDL - SFML - Opengl - htt... (by roger911)
Impossible to escape?
Ok so I have Project25 and Project26 below. Project25 endlessly checks to see if Project26 is open a...
[4 replies] Last: MS is aware of the Robin Hood / Friar Tuck problem, so I doubt it. (... (by Duoas)
using a header file across multiple files
So say I create a header file which contains a list of structs, and I want to use these structs thro...
[2 replies] Last: Nevermind... The problem was in the header file... forgot to close the... (by roger911)
by iebwen
how to stop strings separating: cin
I'm currently learning c++ from programming books. Codeblocks is the IDE I am using. One of the exer...
[5 replies] Last: getline worked perfectly. Thanks for the help. Really appreciate it si... (by iebwen)
Draw two overlapping circles in C++
Here is my code. I need help Drawing two overlapping circles both with black borders but different c...
[no replies]
conversion using constructor &&&& cast () operator overloading
---------Project for converting by constructor method--------- //main.cpp #include <iostream>...
[2 replies] Last: ummm.... and what is C++ cast syntax the one I used is just class::o... (by danicpp)
Pages: 1... 4041424344
  Archived months: [jul2014]

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