General C++ Programming - August 2015 (Page 12)

Got a problem with the exclamation point not moving to the end in the pig latin program. Shows up as earn!lay
 
#include <iomanip> #include <iostream> #include <string> const int Characters = 100; char Sent...
[1 reply] : I don't see where you are printing !, so it must be part of the string... (by SamuelAdams)
by UCLA
What is "namespace clt and dmp"?
 
I'm trying to implement a vector in c++. Found this online: http://doingmyprogramming.com/2013/06...
[1 reply] : Looks like he found the answer http://stackoverflow.com/questions/319... (by SamuelAdams)
Window to Window QT Creator
 
Assume, I have a form with a single button "enter". Now what I want is when I push enter I want ano...
[2 replies] Last: Thanks, I imagine the same logic applies in QT Creator or Visual Studi... (by csstudent123)
programs only prints part of the results/simple tasks
 
This is my program -- I am experimenting with data type sizes. Unfortunately I am getting strange re...
[9 replies] Last: I checked my code and execution with IDEONE and it had no problem with... (by technologist)
by samrux
A beginner's stupid cmd game. I am looking for advice.
 
I started to learn to program a couple years ago as a hobby. Up to this day, I like, every few month...
[no replies]
Help___ about bool function
 
class Iterator { private: Node* position; List* container; public: bool equals(Iterator b) const;...
[1 reply] : (position == b.position) is an expression with the binary operator ... (by xismn)
assistance with input file not working
 
My console output is all jacked up; my averages are way off and the stuID are not accurate. although...
[3 replies] Last: Sorry, I meant total - I looked at the wrong variable by mistake.... (by LB)
Validating User Input
 
Hi, everyone. I'm having trouble trying to build a function which validates user input as follow... ...
[4 replies] Last: Yup, now it works perfectly, thanks a lot! :) (by sasauke)
[Error] expected unqualified-id before 'switch'
 
Hey im new on this forum and tried to code a little calculater but the compiler gives me the error "...
[2 replies] Last: Here, I had to edit the code quite a bit, because there were multiple ... (by sasauke)
by iydh
WHILE and INFINITE LOOPS
 
Hello guys! I need your help. I keep getting infinite loops when ever my answer is out from Y or N. ...
[2 replies] Last: To fix the infinite loop you could put the cin >> answer; statement ... (by sasauke)
Pass multiple arguments to member function with pthread_create()
 
Hi everyone, I am having problems with c++. I am trying to call a member function in a class from...
[5 replies] Last: Thank you very much for the help and the advices too. I finally used C... (by dariodem)
how to make the decryption program?
 
Hello there ^^. I made an encryption program that successfully encrypts data but my problem is this...
[7 replies] Last: You are totally right. I am gonna fix this thanks a lot . (by EnVdaProgrammer)
by AldenB
Weird Linker Error
 
I was going back through Principles and Programming by Stroustrup and after completing the chapter 6...
[2 replies] Last: You're awesome it worked perfectly! Thank you so much. I can't believe... (by AldenB)
can u solve this?
 
write a c++ program to create a class STUDENT with data members : USN , name and age and member func...
[3 replies] Last: Sorry to tell you but it looks like an exercise. (by EnVdaProgrammer)
Vector of encapsulated references
 
I've currently got an interface (all functions pure virtual) called Base (which inherits from sf::Dr...
[6 replies] Last: That's strange, I was sure I tried that. Thanks anyway, it must have b... (by shadowmouse)
by Vangy
Mastering the C++
 
Hello Im nearly done with c++ primer and i want to know if i should read another book about c++ and...
[7 replies] Last: When you're finished with Effective C++ you'll know much more, ask aft... (by Gamer2015)
Destructor question
 
Hello, I implemented class destructor as doing nothing that is: inline ~ChannelFlow(){}; It ...
[2 replies] Last: Thank you! (by stridder)
by mnm71
Why this type having ERROR??
 
I want to define function in class Region but line 4 and 1 (in regio.cpp) doesn't mach what am I mi...
[5 replies] Last: @zhunge thank you my problem was solved...... (by mnm71)
Template/Stringstream run-time error;
 
Calling a template function causes a run-time error of freezing Could anyone help me debug this...
[17 replies] Last: Sorry I didn't get the e-mail for these replies. I completely agree ... (by BarelyOtaku)
by Toddig
expected initializer before ...
 
I'm just trying to create a basic inheritance and I get the initializer error at the TriangleObject ...
[1 reply] : Please copy and paste the exact error message. triangle1Object is n... (by LB)
August 2015 Pages: 1... 1011121314... 17
  Archived months: [jul2015] [sep2015]

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