Beginners - January 2011 (Page 31)

Visit my C++ WEbsite
 
http://cplusplus-learning-basics.blogspot.com http://cplusplus-learning-basics.byethost31.com
[no replies]
by chipp
operator= (1,2)
 
i'm a little bit confused about this kinda function: class test { public: test operator= (const test &t) { a = t.a; b = t.b; //my question is...
[23 replies] Last: all right, thanks bro... (by chipp)
by GulHK
insert text between lines of file
 
Hello everyone Could anyone please help me how do I insert text between lines of a files depending on certain condition? Thanks
[7 replies] Last: This program is now working but I am not sure if it is an efficient wa... (by GulHK)
size_t
 
Class A{ int p ; }; What is size_t A? Is this true that every type actually has a constant "size"
[9 replies] Last: [quote=teguh123]Where do P is located when we do. A someA; stack. ... (by coder777)
Easy to start project to contribute
 
hi all, Can anyone suggest me a open source project that I can download and start reading the code and may be contribute(writing patches). I'm a newbie. I ...
[7 replies] Last: It would involve analyzing an image, comparing each set of however ma... (by sohguanh)
i want code for finding square root using mental arithmetic (1,2)
 
i want code for finding square root using mental arithmetic
[21 replies] Last: brown3141 You can also use continued fractions. stereoMatching ... (by closed account 4Gb4jE8b)
Critique my 2D array class?
 
I'd appreciate it if you guys could give me some feedback on my 2D array class :) Things I could do better, stuff I could add, stuff I should take out, etc. ...
[5 replies] Last: In my personal opinion (as a student of C++ and nothing more) It's bet... (by closed account 4Gb4jE8b)
is there native c++ code (i. e. no includes)?
 
hi guys. I have some experience in a scripting language called autohotkey, and in there you type and everything works. for example: msgbox, Testing ...
[8 replies] Last: Well... #include is a copy-and-paste function, if you will. This takes... (by Albatross)
How to integrate GUI in C/C++ DLL?
 
Hi Friends, Now, i'm developing C DLL using Microsoft VC++ 6. I want to know how to make/integrate GUI (DialogBox) in C/C++ DLL.. Actually the problem i h...
[3 replies] Last: I don't think you can use radio buttons and checkboxes in a Windows AP... (by western)
comma on string stream?
 
i need help: im really new of this function: i dont know how to make a program with this output: http://labnet.ndkc.edu.ph/shared/it121/exercise somebody...
[2 replies] Last: Same issue. Your link doesn't seem to work for me either, sorry. As wo... (by Albatross)
Why won't this factorial program work?
 
The program is supposed to calculate factorials, but for some reason it doesn't output the right things and I can't figure out why. #include "stdafx.h" #incl...
[2 replies] Last: Well whadda know. Told you, it's always something simple. :) Thanks ... (by Kieth89)
Reading data from a long string
 
Hi, I looked through the sections on getline() and ifstream/ofstream but couldn't couldn't figure out a solution to this question: Given a string in a file: ...
[5 replies] Last: Thanks! (by janeikeliu)
What purpose do classes and vectors have in C++?
 
I am a beginner, have read articles, but do not fully understand a real given example or reason as to one why one would need to use classes or vectors. I wou...
[17 replies] Last: There is always garbage collection programming language like Java, Pe... (by western)
What's The Best Program You Made?
 
What does it do?.
[18 replies] Last: Well yeah, no offense. (by western)
Multiple if conditions - how to do it?
 
My first post here! I have an "if" that looks like this, which is meant to detect whether the user has entered anything other than m/M/f/F: if (sex != '...
[5 replies] Last: Stupid me. it is my logic that's the problem. Can't believe I didn't s... (by Napwneon)
by willvf
Is some value in a vector
 
Hi I am trying to make an if statement that asks if a number is a member of a vector but am not sure how to do this? I want something of the form: if(number ...
[5 replies] Last: I got it now, thanks all (by willvf)
instanciate object
 
hey everybody , plz help me on that , i wanna make something like that cout<<"do u wanna create an object ?"<<endl; cin>>a if(a==1) { ????????????????????...
[4 replies] Last: #include <iostream> using namespace std; class A {int... (by Moschops)
Managed VS Unmanaged
 
Can anyone explain the difference in it? Also which one is more popular now. I was just looking on another site and saw this post and it got me wondering. ...
[3 replies] Last: Thanks for the quick replies. (by Chris S)
search for an object
 
hey everybody , can i look for an object in the base class ? if yes , how can i do it ??
[1 reply] : What do you mean? An object..."in" the base class...? I don't understa... (by Zhuge)
Accessing a member of a class from a member function of another class
 
If I have a class with a public member variable, and another class with a private member function, and I want to use the variable inside the function, how do I ...
[10 replies] Last: I think what you want is to have Betting() take a Player as a paramete... (by Zhuge)
January 2011 Pages: 1... 2930313233... 42
  Archived months: [dec2010] [feb2011]

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