General C++ Programming - July 2014 (Page 10)

Subset using binary. No idea
 
This program is supposed to print out the subsets A-G. I'm supposed the write the code for the selec...
[no replies]
Passing to Function - Unspecified Array
 
Hello, I am working on a project, but have found my self stuck on one section. I have a function ca...
[4 replies] Last: Nevermind, I'm an idiot. Haha this works just fine, it was another fun... (by weathers2015)
Variables differences in C++ and Java
 
Hi, while going through the differences between the c++, prolog and java, I came to see a question a...
[6 replies] Last: since Prolog was brought up, a Prolog variable is essentially a pointe... (by Cubbi)
Pointer with array doubts in the code
 
Hi i have two doubts in the following code,the doubts are marked..PLs note that the following code i...
[2 replies] Last: Thanks a lot !! (by supershooverine)
How to export a program
 
Well i just finished my new program in c++ that i learned from c++ for dummies and i would like to k...
[2 replies] Last: You compile a program, you don't really export it. When you com... (by Stewbond)
Reading Files
 
I can't seem to get my program to read a file that's saved on my computer. Here's my code: #incl...
[6 replies] Last: Yes. I changed that letter to a capital "F" and also put the txt file ... (by Undefined95)
Trouble finding errors
 
This is some code from c++ for dummies that i can't run because of the errors i find when i build it...
[2 replies] Last: wow thanks its all fixed now. im just new to c++ sooo yea. thanks so ... (by GabrielTheGreat)
Help with classes
 
3. Given the following class, class CBase { protected: int m_anInt; public: CBase(int n):...
[6 replies] Last: My next answer will be in lua. (by Stewbond)
OGRE - Device Lost
 
Hello there, I've been creating a program with OGRE, and I've recently been getting crashes due to ...
[3 replies] Last: Right, figured out why: It's because the loading and the rendering are... (by Irrelevant Elephant)
Check for deallocated memory?
 
How would I go about checking for deallocated memory? For example, let's take this into considera...
[11 replies] Last: So I thought. I'll consider this. (by FatalSleep)
Beginner in need of assistance
 
I'm in an introductory programming class. We learning C++ and I have program that prints out the wri...
[1 reply] : And you post it to beginners' too =..= (by lsk)
"Anonymous" struct?
 
struct Something { signed int x, y, z; }; std::vector<Something> things; This works fine....
[8 replies] Last: Thank you! This is exactly what I was looking for! (by MeNeedsHelp)
Please help me:(
 
The overall marks of the students in a particular class of 25 for 4 subjects CPPS, DFUND1, CKT AND E...
[3 replies] Last: You could do it that way I suppose. Then you would do something like: ... (by giblit)
Need urgent Help.pls
 
Something wrong with output getdata() works beautifully while putdata() is malfunctioning here's ...
[3 replies] Last: hello? someone!!!!! (by George Kuriakose)
How to change background color? (Mac/Windows)
 
I'm creating a simple game with my friend that runs in the Terminal/Command Prompt window, but I wou...
[2 replies] Last: Thank you so much, Disch, your answer was very helpful! I had been loo... (by closed account j1CpDjzh)
Segmentation fault (arrays) queries...
 
No need to read the full code just see the global array declaration(edit ) as my discussion is b...
[5 replies] Last: Thanks a lot ne555 (by ankur12106037)
by helios
This is a test (1,2)
 
If I'm right, putting empty code tags anywhere should cause the site to not let me post again in...
[21 replies] Last: Since we've gone onto page two.... (by LB)
Problem of sorting ascending order by according to PRODUCT ID,NAME,PRICE
 
Here is my code below: #include<fstream> #include<iostream> #include<stdlib.h> #include<iomanip> #i...
[4 replies] Last: The first thing to do is to read the data from the file in the require... (by Chervil)
How to filter products by type
 
void FTR(){ string type; cout << "Please input the type of book:"; cin >> type; ifstream file("...
[no replies]
July 2014 Pages: 1... 89101112... 26
  Archived months: [jun2014] [aug2014]

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