Beginners (Page 19)

by ysf007
how to get threads to communicate with shared memory ?
 
Hi, I'm trying to write a code which allows me to get threads to communicate, a particular way. ...
[2 replies] Last: thank you @tpb (by ysf007)
Should you forward declare classes that are part of a library?
 
Is it ok to declare classes that are part of a library that your using or should you only forward de...
[3 replies] Last: The biggest advantage of using forward declarations is to avoid circul... (by Peter87)
Resize function help.
 
So I need a resize function that is only called when the insert function checks for and discovers th...
[1 reply] : Unless you are simply wanting to learn the copy function, I would try ... (by wsme)
Need help with arrays.
 
A default constructor that sets up an initial array of 5 unsigned longs, sets capacity to 5 and used...
[3 replies] Last: Your post in another thread is correct (by closed account 3UohqMoL)
insert function help.
 
So I need an insert function that receives an unsigned long as a parameter and puts it into the next...
[1 reply] : Yes i think it should work now (by closed account 3UohqMoL)
Need hint for this, please!
 
So our assignment is to do this: The following program (see file starBox.txt) is the shell of a pr...
[6 replies] Last: I figured it out using my code the way it was, thank you though. (by BGA6444)
Call Function problems?
 
I am new at c++ so I don't know what I'm missing. The program just asks for the pay rate, wage, and ...
[3 replies] Last: Thank you so much for your help! You have no idea how much worry you s... (by BGA6444)
No Strings Attached (1,2)
 
Can anyone help me with this question ? my approach was to find greatest character from the current...
[33 replies] Last: @pewdiepie I have done with ur code but cant pm u back becoz i excee... (by ghostrideriit)
Calling the right function of a child class
 
I need to call the correct function from an object of a sub-class. Both the super-class and the sub-...
[10 replies] Last: This compiles, and works. #include <iostream> class Character { ... (by Repeater)
GEARS
 
guyz please help me out here!! i am doing this problem using dfs. i am passing 4 cases in the firs...
[1 reply] : @aman whats your approach to the problem (by blackmamba)
by Yap
printf
 
hey everyone, i just started learning programming and I've given a task to create this output "The g...
[2 replies] Last: methinks you want this. #include <stdio.h> int main() { int a = 4;... (by jonnin)
by jism3
pointer question
 
I've been trying to learn c++ lately and its becoming a habit of me to validate pointers using these...
[7 replies] Last: consider being able to disable some of the checks in release builds if... (by jonnin)
Ways to share variables between classes
 
Imagine I have a class A and a class B that both depend on the same set of variables. Class A sets t...
[2 replies] Last: Just to note, this is also being discussed in the OP's other thread: ... (by MikeyBoy)
by h4ever
Organisation of files
 
May I have a general question? When writing program which will access many data files to search reco...
[12 replies] Last: Another case when is it not useful to have big file is when I would ne... (by h4ever)
Inheritance Conundrum
 
So I've got a little bit of a problem with a program I'm working on. I've got two classes: class A a...
[8 replies] Last: Thank you for the suggestions! (by Crusher21)
Need help with GEARS!!!!
 
it will be 0
[14 replies] Last: hey man why r u providing http links they are not safe. (by hyfun)
Coloring problem in 1D
 
Can you give some more detail on the problem? Preferably post the actual text of the problem you're ...
[no replies]
Need help with making a calculator using arrays.
 
I'm learning C++ atm., and I am at arrays right now. I understood the mechanics of it, but I was cur...
[4 replies] Last: I ended up with this, I guess it's fair enough, but I could've done be... (by quickyq)
by t009
Overloadig operator on a class
 
Taken from this websites example on classesII. // overloading operators example #include <ios...
[1 reply] : Cvector::operator+ just means that you want to define operator+ that i... (by Peter87)
Pages: 1... 1718192021... 25
  Archived months: [jun2018]

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