General C++ Programming (Page 3)

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)
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]
Empty stringstream/string
Hi guys I'm facing some Trouble again... I want to print the score to the Screen, but it wont work ...
[4 replies] Last: Thanks :D (by HalfNOoB)
create the "merge" function?
hi, I tried to make a generic implementation in C ++, but I don't know how to create the "merge" fun...
[7 replies] Last: that's nice Thank you my friends (by ACHRAF92)
Data Files
Hi guys! I would appreciate any help I can get. I'm supposed to do the following: Create a data f...
[1 reply] : You can start off by googling how data files work. You can start off b... (by TarikNeaj)
Guessing Game
Hi guys! I'm trying to transform a code that has no bugs or anything, but I want to add on something...
[1 reply] : You can create a boolean. Call it bool option = true; Then do wh... (by TarikNeaj)
by BasV
global variables in cpp files
Hi everyone, Lately, I've been using more global variables declared in .cpp files instead of addi...
[3 replies] Last: These are some good tips, thanks very much. I think I misused the word... (by BasV)
simplify function help
I am building a class fraction. I have it set up to take in two parameters such as fraction f1(4/10)...
[3 replies] Last: never mind I figured it out. It does work, I just had put in my origin... (by UGAman22)
Pages: 12345... 31
  Archived months: [jan2015]

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