General C++ Programming (Page 2)

PLEASE SOMEONE SHOULD HELP TO DEBUG THIS CODE NEED HELP!!!! #include<iostream> #include<iomanip...
[no replies]
by Gyiove
messing with bits and 8bit variables
Hello everyone! I tried to mess with the bit operators, yet couldn't figure this one out. I ha...
[11 replies] Last: Thanks for everything! Its working now. The problem was that if i cha... (by Gyiove)
Read into an array of a class from a text file
I need to read into an array of Employees from a text file. Here is my header file (which I know is ...
[no replies]
Why the ambiguity?
#include <fstream> class Item { public: virtual Item* createFrom (std::istream&) const =...
[4 replies] Last: Yes, for this sample. I need covariant return types in my actual prog... (by prestokeys)
What is wrong with this Class? LNK 2019 Error
Here are the 3 files my class program is divided into. File 1 Class Date Specifications #ifndef D...
[5 replies] Last: Just to reiterate and expand on what's already been said: 1) The des... (by MikeyBoy)
by Ulutay
Hello, I would love a recommendation to a book and a graphic engin to start learning and desigm game...
[5 replies] Last: Aha you guys are awesome, thanks alot for the time. That was really he... (by Ulutay)
Design and write a C++ program that reads 3 integer values from the keyboard
(be sure to print a prompt message for the user). Then calculate and print on the screen the sum, av...
[4 replies] Last: your response wont compile :( (by lensalexis)
a C ++ version of the example
someone shows me a C ++ version of the example please // class...
[4 replies] Last: thanks (by ACHRAF92)
Modulus function
How do I write a function that takes 4 integer parameters? the first two of which are user-suppli...
[1 reply] : void Modulus_function(int num1, int num2, int &quotient, int &remaind... (by coder777)
program out puts only 1 with numbers
** This is the file *** I need to generate the totals sales for the first seven weeks of a movie ...
[1 reply] : The type of movie needs to be string not int... (by coder777)
Rules for Access to data members or to member functions of a class?
hi, Given the following statement by the Client class, class Client { private: float sold...
[2 replies] Last: thank you very much :) (by ACHRAF92)
Vending Machine
Can someone help me to create a vending machine program? Im just studying C++ for almost 3 months. W...
[14 replies] Last: I have made a modification of the codes, i reduced it to inserting coi... (by ryanjoshiii)
by caolen
How do I call a class method in a dll from C++?
I used the ATL Project template in Visual Studio 2013 to create a “PT2_B.dll.” The “DoubleVa...
[1 reply] : #define MY_API __declspec(DllExport) class MY_API MyClass { /* ... (by codekiddy)
Project Ideas for C++ File Handling
I know there isn't much you can do with basic File Handling in C++. I've worked on some small projec...
[3 replies] Last: Well you can pull one of the project ideas from above link and impleme... (by codekiddy)
Doubly linked list destructor help!
My destructor for my doubly linked list is not working as intended, and I have absolutely no idea wh...
[6 replies] Last: Isn't delete head and tail deleting two separate pointers of the same... (by cire)
by bardok
Writing a basic program (lab assignment)
Hey guys! I am new to C++ and I have an assignment coming up that I can't seem to nail down. Actuall...
[no replies]
Please help:: Error message expected initializer before ‘double’
I Keep getting this error message, and i'm sure it has something to do with how I am attempting to c...
[1 reply] : please use code tags. look at line one. thats where the error is. (by Little Bobby Tables)
finding values in array
how could I find values in array, I am very confused because I am new to this subject.pls help me:(
[3 replies] Last: ok,thank you for the links (by seirin1234)
PLEASE HELP Program reading from a txt file
I need help. I wrote this code. It takes information from a txt file and calculates pay, tax, and ne...
[11 replies] Last: * (by morgancassiday)
Singly linked list, remove last node
I keep running into a program breaking error when my compiler reaches the function which calls re...
[no replies]
Pages: 1234... 30
  Archived months: [jan2015]

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