General C++ Programming (Page 34)

parent function manipulating member of derived class
Hi. I've been trying to solve this problem for many days, but I couldn't find a good solution or des...
[2 replies] Last: Exactly! I just figured that template base class might be what I want ... (by ljw2602)
by lisa96
A critical task analysis
can someone tell me what should I write in the loop.I could not do that. I have tried to use for and...
[3 replies] Last: Thanks. So when you read an event, you need to know if you've seen it ... (by dhayden)
reference points to result of operation
Hi, The following pseudo code seems to work (i.e., the values in "v1" are correct). However, I w...
[3 replies] Last: Modern compilers are good at return value optimization so I don't th... (by Peter87)
Collision problem with pong ALLEGRO5
I have a problem with making a pong game, when the ball intersects with the second player, nothing h...
[6 replies] Last: Thank you so so much! It's now working :) (by Idiotal)
by jubeh
Need Cheap ASP.NET 5 or ASP.NET Core 1.0 Hosting
Hi There Somedays ago I read news about ASP.NET 5.0 has been renamed to ASP.NET Core 1.0, N I'm s...
[no replies]
Question A gallery needs to keep track of its paintings and photographs. It keeps at most 120 artwo...
[1 reply] : Nobody will be doing your homework for you. Attempt it. If you have ... (by cire)
Declare a structure variable birthday of type dates.
[1 reply] : struct dates {}; dates birthday; Please read: http://www.cplusplus.... (by cire)
You should know that...
I was wondering if anyone knows of a condensced source of all of the "tricks" with windows/dos that ...
[no replies]
Smart pointers, shared.
Well I am studying Smart Pointers and don't understand when a shared pointer points to the same obje...
[5 replies] Last: Yes, I do understand. That's what I was wondering Keskiverto. I thou... (by josheir)
please help with this question
Define a structure type Emp that holds and id (integer), a name(20 characters long), and time of typ...
[1 reply] : (by Chervil)
Tetris Loop
Hello everyone, I'm currently making a tetris using SDL as a part of my coursework and I have a que...
[4 replies] Last: OK I got it, I will create a pointer to a falling piece. Thanks :) As... (by LieForBananas)
how to recycle pointer
The compiler complains about redeclaration of n_ptr, which makes sense. My goal though was to recycl...
[2 replies] Last: No need to redeclare n_ptr as it is already type * pointer. int *... (by technologist)
I need help with c++. please text me.
Why can't you discuss the problems here?
[no replies]
I need help with a c++ scoreboard issue
I am currently doing an assignment that utilizes classes to create a basic score board, this is what...
[1 reply] : cout<< "\t\tHome Possession: \n\n " << scoreboardmain.getPos() << en... (by AbstractionAnon)
Return pointer to a vector of objects as a function return
I hope I can explain what I need to do, that is how lost I am. Let's say you have a simple class U...
[6 replies] Last: Alright, finally I got this but I am using vector<Class*> structure ra... (by Adaptron)
Help With Outputting data from 2 classes
Hello! I am working on a school lab and i have encounted a slight problem... The project is all ...
[3 replies] Last: Have you fixed the problem that Thomas 1965 explained to you? it won... (by MikeyBoy)
Code that runs code that is entered
Is it possible to write a code that when you type into it a piece of code (e.g. cout << "Hi!" << end...
[2 replies] Last: did you mean: (by Necip)
Project using pass by value
This code is very lengthy, but I almost have it finished and ready to go. I have been testing the co...
[3 replies] Last: When I compile though, I do not get any errors at all. That's beca... (by TheIdeasMan)
I need help with Caesar's Cipher
Write a C++ program that asks the user for the name of an input file and translates the contents of ...
[4 replies] Last: I need help with the variable declarations I guess you are referring... (by keskiverto)
Pages: 1... 3233343536... 39
  Archived months: [mar2016]

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