General C++ Programming - September 2013 (Page 4)

plz help me,its urgent..i have to summit my project tomoorw
 
i wirote a program in which i declare a class called house info,i am having trouble of displaying no...
[5 replies] Last: You need to declare an array of the class of size 10. houseInfo myh... (by Mats)
need critiqueing on some software
 
so i wrote a basic fibonacci program, and i was wondering if there was any way to make it better. ju...
[7 replies] Last: i would have to convert it back to an int. about b) thanks that would ... (by closed account Dy7SLyTq)
by Shren
Binary Tree Structure
 
Write your question here. typedef struct node { char value; // the character that needs ...
[2 replies] Last: Yeah, I was having problems identifying the parent node. I dont actual... (by Shren)
Sequential search problem
 
Hello guys I'm here to seek for help to finish my program. Well the code below runs but it doesn't p...
[3 replies] Last: irrespective of whether you find the number or not you have to increme... (by kulkarnisr)
Problem with SFML text
 
Hi, my text for the score and difficulty doesn't seem to work. They are both appearing twice and not...
[2 replies] Last: Thank you! That solved it. If anyone has any constructive criticism ... (by AceMice)
by jazpen
Simple Coordinate Plane
 
Hello, I'm creating a quick program to calculate midpoint and distance between two points. I'm havin...
[12 replies] Last: The program does work. (by letscode)
Storing classes in array
 
I have a base class Building. Then come its children classes - Commercial Building and Residential B...
[5 replies] Last: I don't know if your solution will work. Yes it will. We know that ... (by andywestken)
some errors running the program
 
I'm doing a Lab assignment for my C++ class, but I'm stuck on some errors which I can't understand. ...
[6 replies] Last: void setplayerName ( char new_playerName) { *playerName = new_playe... (by kulkarnisr)
Cast and parenthesis
 
Hello, Here is a little piece of code: int i = 5; double l = double(int(i)) / double(int(i)); ...
[3 replies] Last: I would have expected to get an error as the lhs of the / is a cast t... (by Catfish4)
Confusing assignment
 
void person :: print() { cout << ssn << " " << fname << " " << lname << " " << dob << "\n"...
[2 replies] Last: It is probably this part: A = p; All your A 's are pointing to t... (by abhishekm71)
HOW TO SAVE A DATA TO FILE?
 
what are the codes that will save the data then it will appear in a file (.txt). I typed the name...
[5 replies] Last: Rigghttt. If you did look it up on the forums, you'd find a page on f... (by Fredbill 30)
struct vs classes.
 
#include <iostream> struct st_one{ public: void set(int x){hello_struct = x;}; int get(){return ...
[5 replies] Last: Basically, the convention of leaving only data members for "struct" is... (by thebeto1of)
C++ Get Mouse Position
 
What is the command to return the position of the mouse on screen in C? I've been searching around ...
[8 replies] Last: My result was a DLL for GM:S. The problem with GameMaker:Studio is tha... (by FatalSleep)
Segmentation fault
 
Hello people, I would greatly appreciate someones help on my program. I have to make a word scanner...
[3 replies] Last: > I have those cout statements to show where it stops Get a debugger,... (by ne555)
Giving audio-input to a C program
 
Hi, I want to give audio-input to a FFT code (KissFFT) written in C, on a real-time basis. While ...
[3 replies] Last: Is this a homework assignment? If so, do you have more specific instr... (by htirwin)
Write an interactive text based menu interface (using a loop)
 
Write an interactive text based menu interface (using a loop) that will allow the user to Enter a...
[1 reply] : This is some pretty basic stuff, and to be honest, having people do yo... (by roger911)
Where to put non class member functions? you guys?
 
If you are doing some big program, usually, how do you organize the files? Put the class and its mem...
[4 replies] Last: Thanks! (by northfly)
by shaggy
c++, SDL RPG game
 
Hey there, I have really wanted to make an RPG in c++ for a while, but never thought i could do it....
[7 replies] Last: RPG are good for beginners yes, also you should consider making a very... (by Uk Marine)
freeing dynamic arrays from memory
 
So I'm trying to wrap my head around dynamic arrays, and I've finally figured out how to build one, ...
[8 replies] Last: So I followed your advice, but I ran into something rather interesting... (by roger911)
September 2013 Pages: 123456... 36
  Archived months: [aug2013] [oct2013]

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