General C++ Programming (Page 42)

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)
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)
Writing a simple game, can you help me to organize it
Trying to make a simple 2D game on sprites Look my approach, I will appreciate your advices to make ...
[4 replies] Last: Is it legit that I not use sub-classes and virtual methods, and do ev... (by toad)
by Bako
does cygwin support visual c++ programming by qt?
does "Cygwin" support visual c++ programming by qt?? if does can you give me an instruction or link ...
[1 reply] : No. See (by keskiverto)
// Good Morning I need help for this my project... // I didn't understand yet.. // main #inclu...
[1 reply] : Please use code tags: [co de] Your code [/co de] Read this: http://w... (by coder777)
Pages: 1... 4041424344
  Archived months: [feb2015]

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