Beginners (Page 57)

weird problem in c++ logical operator ?
i was running this trivial program and whenever i wrote y or e or s it was printing yes! normally, n...
[3 replies] Last: thanks for help, i have figured out a way ! #include "iostream" usin... (by mohamedeltair)
Web dev question
Hey all, I know this probably isn't the best place to post this but I figure it's a beginner ques...
[no replies]
const function doesn't return char* (1,2)
Hello! Can anyone explain me why if I make the function get_fName a const function, it returns _fNam...
[31 replies] Last: OK, that was very helpful. Thank you people. (by leonid1990)
by Winsu
I am making a constructor for a class which has a member of other class.I want to do a constructor w...
[16 replies] Last: I have two questions related with this function ostream& operato... (by Winsu)
virtual function and abstruct class
Hi I have few qustions that i want please get an answer 1-alway when i want to use on polymorphisem...
[1 reply] : 1) Yes, you should declare destructor virtual if you intend to use chi... (by MiiNiPaa)
its a cin.ignore problem, please help
the cin.ignore(); is making the getline(); command loose one character in the name at the first...
[6 replies] Last: Thankyou so much, it worked #include <iostream> using namespace st... (by isaacthebro)
by nofish
accessing class member and doing nothing ?
I have this PartsList class from the book I'm currently learning. For understanding context: the Pa...
[3 replies] Last: Thank you both. That link is a spot on example, got it. (Actually I'v... (by nofish)
by h4ever
macro name in loop
I have macros (control names) like IDC_T_UCLASS1, IDC_T_UCLASS2, IDC_T_UCLASS3 etc. How to shorten t...
[1 reply] : The C preprocessor is not Turing-complete. It doesn't allow iteration.... (by helios)
input value into 2 variables ?
#include <iostream> using namespace std; int main(void) { int n; char a ; cin >> a; return 0; } ...
[5 replies] Last: more shortened way : #include <iostream> using namespace std; int m... (by mohamedeltair)
Changing a const object?
I've come this code and it works so I must be reading it wrong. Critter& Critter::operator=(const C...
[1 reply] : never mind I got it now c isn't being changed, this is being chang... (by shawnlau)
input/output problem
hey guys i want to make a program that is used to enter the information of 11 players in a structu...
[2 replies] Last: thank you (by Mahmoud Mansour)
how to
what would be the code to ask enter a command? and if the answer is hello then make it run another ...
[4 replies] Last: would it have to be a /exe? or could it be another c++ file? How do... (by Gamer2015)
by Filorn
work together
Hi,i'm searching some young programmers for working together (italian if possible, like me). If some...
[no replies]
by mindoo
VS error C2064: term does not evaluate to a function taking 0 arguments
Hi everyone, I finished following the winsock tutorial over at msdn and now I'm trying to adapt it ...
[6 replies] Last: Sorry, I hadn't noticed I could actually use that in my code. Thanks f... (by mindoo)
Help understand overloading operators
I'm going through an ebook ( "Beginning C++ ...
[2 replies] Last: I'm getting a better understanding, thanks. (by shawnlau)
Behavior of char
Can someone please help, I don't understand why the code below has output likes 1234 abcd1234 ...
[2 replies] Last: oh, I got it....thanks MiiNiPaa if I changed to test2 = "abcd" , the... (by cookiehim)
by Yulia
Class and its Member Order
I want to know about class. Does class follow the initializing order? i mean how the function run by...
[3 replies] Last: 1) Order of member function in class is unrelevant. You can have destr... (by MiiNiPaa)
by Tarbal
Trouble with find
The following code works to a certain extent, but with 2 exceptions. Here is the code: using n...
[3 replies] Last: Hey, thanks a lot guys. This is more help than I could have hoped for.... (by Tarbal)
by h4ever
add string to combo box
Write your question here. I have this function which is called when Property Sheet Page is initiate...
[no replies]
Debug a program
Hi, when i try to debug a program, a widow appear that indicates "the specified file is unfound". h...
[1 reply] : It would help to see your code or at least the error. Knowing what you... (by SamuelAdams)
Pages: 1... 55565758
  Archived months: [jun2015]

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