General C++ Programming - October 2013 (Page 27)

by Kubani
Qt
 
Hi all, Now I'm studying PPP (you know what book I'm telling about, yes?) and am in chapter 10 of that book. My question is that, first, can I jump to a reso...
[11 replies] Last: No more help!? (by Kubani)
ARGH! I Keep Getting An Error
 
This issue has been resolved! Thank you to everyone for helping! Here's my code for the declarations and initialisations of some moves (Y'Know. Tackle, Tai...
[6 replies] Last: This declaration does not pull up any errors. class _move ... (by closed account L0Shb7Xj)
I don't understand why the memory address of "*x" inside "Product destructor" doesn't equal to 30 but a number series 2379648
 
#include<iostream> #include<string> using namespace std; class product { int *x,*y; public: product (int c,int d); int area(){return...
[4 replies] Last: I got it. Thanks a lot. !!!!!!! (by bennyipfar)
Need help in Project
 
Follow the programming example on page 123 in the Walter Savitch text book to compute both the state tax bill or state tax refund and the federal tax bill or fe...
[1 reply] : what kind of help do you need? Please use code tags: [co de] Your co... (by coder777)
Guidance Needed For Changing Pre-defined Code
 
Hey everybody, I'm a little stumped with my current assignment so I'm here for guidance. I need to change a function 'removeAt' to swap a value which the user c...
[5 replies] Last: See, I knew I was stressing myself out and over-thinking it. Thanks no... (by Jangoon24)
Help with structures
 
i need help with structures, i think my function call is not working and i dont know how to fix it. Basically i want it to output my getstudent function and on...
[6 replies] Last: ah thank you so much, that was the problem xD. it works now . thanks f... (by azntrindo)
I need help with this project
 
write a C program that can be used to calculate the score needed on the final exam to obtain each possible grade in the class fiven the scores obtained up to th...
[1 reply] : Read This: http://www.cplusplus.com/forum/beginner/1/ (by BitRat)
by tegi00
Having trouble with my destructor. Receiving error "Pointer being freed was not allocated" HELP!
 
My program is supposed to be a self written QUEUE template along with a driver to test out the QUEUE. My QUEUE is working fine and so is my driver. It is able t...
[2 replies] Last: Thanks for the tip I went ahead and created an overloaded operator = a... (by tegi00)
user defined funtions
 
this is my code #include <iostream> #include <fstream> #include <iomanip> #include <string> using namespace std; const int N=5; struct RECORD { cha...
[2 replies] Last: I seeee. Cool. Fixed it with f.ignore(). Thanks (by Unpredictableimp)
Switch statement problem
 
The program works fine with numbers 1-9, but when I put in 10 it will print out a "I" when it should print out the default. #include <iostream> using namespa...
[3 replies] Last: '1' is a character, whereas 1 is an integer. (by LB)
[Request] Need DLL JoyStick Testers
 
Hello! DLL: http://host-a.net/u/FatalSleep/JoyStick.dll SRC: http://host-a.net/u/FatalSleep/JoyStick.cpp GML: http://host-a.net/u/FatalSleep/JoyStick.gml GEX: ...
[3 replies] Last: Here is an application for anyone willing to help: https://dl.dropboxu... (by FatalSleep)
Looking for some help (Error: Expected a Expression)
 
#include "I:\Documents\Visual Studio 2010\Projects\Coding Club Game\Coding Club Game\blocks.h" #include <allegro.h> #include <string> using namespac...
[15 replies] Last: Zereo, I had actually had it set to blocks::blocks() { place = {{t... (by Sinthed)
by PeterA
Please Help with "invalid initialization of reference of type"
 
I have search though multiple similar topics but still can't find the answere. Would you please help ? The error is : invalid initialization of reference of...
[15 replies] Last: @ne555: Today I used Array<T> Array<T>::operator*(const Array<T>&) co... (by PeterA)
Comparing operators
 
I am trying to compare a math operator with a variable, but i keep getting this error: postfixDriver.cpp:93: error: expected primary-expression before ')' token...
[2 replies] Last: Thank you! (by jdwdrums)
by Ceset
getting pixel code
 
hi guys. i had searched through internet but couldnt find much about it lets say i have an image coded ARGB8888. and the image is 640*480 and i want to get t...
[4 replies] Last: @computerquip sth festers my mind. you said [quote=computerquip]surely... (by Ceset)
SFML 2.0 Text scrolling
 
I have screen scrolling working but i want to have text scroll with the screen. because at the moment my player moves and the screen scrolls but the text doesn'...
[15 replies] Last: THANK YOU!!!!!!! :) (by Cronnoc)
Data file output
 
Hello! I am having trouble outputting the file "output1.dat" to the screen. I know that some of my code is wrong but I don't know how to fix it unless I seen t...
[2 replies] Last: Thank you for your help!! I was also having trouble with the "sort_mer... (by Jonathan67)
Movie Data
 
Directions: Write a program that uses the structure named MovieData to store the following information about a movie: Title Director Year Released Running ...
[1 reply] : Make one struct and two instances of that same struct.... (by LB)
Books for Learning C++
 
I have used C++ for a handful of programs within school-related projects and just finished "Jumping into C++" by Alex Allain. Now, I'm wondering what book I sh...
[4 replies] Last: C++ for dummies 6th edition is great! The compiler included is pretty... (by fatirishman53)
by cshu
Help with program
 
Ive done most of this problem, and I have my file outputted but im stuck on what to do next. The program problem is that a veterinarian needs a program to ...
[no replies]
October 2013 Pages: 1... 2526272829... 46
  Archived months: [sep2013] [nov2013]

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