Beginners (Page 118)

how to define actions of a "Button" class?
hello, i'm wondering how actions of a "Button" class would be defined. the class is only one, but...
[9 replies] Last: the real class does have a bounding box. it is made in SFML, with a sf... (by Stauricus)
Data File
I am creating a program that lets users input the contact details of a person and saves the data in ...
[6 replies] Last: There is no such thing as <iostream.h> - there is, however, <iostre... (by LB)
by shnabz
New to coding
I don't understand. Why does this work colourPos .insert(colourPos .begin(), 0); Why can't ...
[2 replies] Last: [quote=shnabz]And what do I mean by "things"? In context, you mean "me... (by LB)
Text Adventure Program - Advice/Critic
Hello everyone, I am a beginner C++ student. I am taking it upon myself to create a text adventure p...
[10 replies] Last: Oh, great! Thank you. (by FSM Worshipper)
by eeyv
Choosing a compiler
This is going to sound really stupid but I am a beginner and I am wondering what everyone feels is t...
[5 replies] Last: For IDE: Try all the ones that you can install for your system and get... (by LB)
by vxk
arguments in templates
Can anybody point out what is wrong with the following code: header file Header.h: template<t...
[4 replies] Last: Here's a quick example (it doesn't use perfect forwarding though): htt... (by LB)
new vs. malloc
Can someone explain the difference between these two lines? Yes I know one is c++ and the other is ...
[10 replies] Last: Alright I am still up ! Couldn't resist learning something new. Herb... (by TheIdeasMan)
Class private data member
Hello, I have a question Should I put all the data types member in private? Is putting data type in...
[9 replies] Last: I would take exception to dhayden 's response and say that all data s... (by AbstractionAnon)
Whats wrong with my code?
Hello Everyone. This has been bothering me for a while now and for most of my programs, the line ' i...
[5 replies] Last: @programmer read the OP's code the input has to be read in string. (by Lorence30)
Need help with the code
#include <iostream> using namespace std; double *array(double a, double b) { double arr...
[5 replies] Last: What if you have to use it like this: int main() { const double *dp... (by keskiverto)
by DevTK
fstream - cannot access private members declared in class basic_fstream<_Elem, _Traits>
I use fstream to open a file for writing purpose. fstream streamFile; (...
[5 replies] Last: Well, the root of the error is that a stream may not be copied. If you... (by Chervil)
Troubleshooting dynamic array
Hello. Can anyone help me out please. I'm trying to dynamically grow an array. Below is the functi...
[4 replies] Last: First, Second, t... (by keskiverto)
by Theory
Very new need an explanation
Very new need an explanation // the number of blanks surrounding the greeting const int pad = ...
[1 reply] : For rows you multiply by 2 since you will need the padding on the top ... (by giblit)
by snx
LNK2019 & LNK1120
So every time I try to compile these codes it keeps giving me these errors Error 1 error LNK2019:...
[2 replies] Last: Thank You very much that did the trick, I had a hunch that it was that... (by snx)
high schooler internship advice
(Sorry if this is in the wrong section of the forum, but it seems best to put it here.) Hello all...
[no replies]
Basing Array Size on Input File
I have a program due for class. We just finished talking about arrays.It says: "Write a program t...
[15 replies] Last: OVERKILL class RangeTally { private: struct Range { ... (by Disch)
Bitmap animation with Thread
I am a beginner at MFC and I am going to make a simple game with some card images. When I click a b...
[6 replies] Last: How can I make it with boost thread? Main thread and animation thread... (by maria1234)
How can I make a profile dialog?
I am a beginner of MFC and I want to make a profile dialog. But I can't find the way how to receive...
[2 replies] Last: 'profile image' is a character of an account (in other words : "avatar... (by maria1234)
How to use <chrono> in C++ Microsoft Visual?
I am using Microsoft visual 2010 for my c++ homework and the thread <chrono> and <thread> cannot be ...
[7 replies] Last: I am using loop inside loop to delay the time.. here is my code I th... (by giblit)
by Ch1156
Accessing 1 private member from class
I need to access 1 private member from my class, I have been looking up how to do it but nothing tha...
[5 replies] Last: if you only need to read a private member, add a member function that ... (by IWishIKnew)
Pages: 1... 116117118119120121
  Archived months: [aug2014]

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