by admin
Welcome -- read before posting!
Welcome to the beginner's forum in! In this forum, users can to talk about any topic relate...
[2 replies] Last: How To Answer Questions in a Helpful Way Be gentle. Problem-relat... (by admin)
Console Closing Down (1,2,3,4,5,6,7)
Hi, i am new to C++ and have just written my "Hello World" program. It worked all right but the cons...
[120 replies] Last: It displayed "Hello world" after you pressed Enter. int c is a ... (by Duoas)
Creating bigint class
Hello, I'm working on a class project and we're creating a bigint class from scratch, and i'm ha...
[4 replies] Last: dhayden - We don't have to deal with negative numbers in this assignme... (by tmmobley)
by T4l0n
cannot go thought linked list in hash function
line 28 does not work, i cannot go thought the linked list to the NULL and create new data s...
[1 reply] : Look at line 28 and imagine that b points to a list of 10 items when ... (by dhayden)
by anup30
Maximum Size of Recursive Fill
my following program fills continuous elements in 2d array recursively. but it worked only for N<180...
[4 replies] Last: I suspect that recursion depth of 180 shouldn't be a problem. I think ... (by dhayden)
by Sh0es
Proper way to Overload operator<<
I've tried numerous ways of overloading operator<< for numerous classes, but I always seem to get so...
[5 replies] Last: How do I overload the operator without making it either a member or a... (by dhayden)
by Fedeb
Overloaded operators
Hi, im reading Cplusplus tutorials and i dont fully understand why does the new definition of operat...
[3 replies] Last: So when "redefining" operator+() inside the class you need to specify... (by dhayden)
by gmac
command line (1,2)
I dont quite know where to start?? create a command-line program that is a simple variant of the ...
[23 replies] Last: You don't have a default value for numLines. I didn't see one in the ... (by dhayden)
2D Arrays
Can anyone help me to simplify or make this code better? I feel as if i made it unnecessarily long. ...
[3 replies] Last: You could try making a nested for loop after you initialize your array... (by HatchetMan302)
"variable generator"
Is there any way for a new variable (not a value for a variable) to be made each time a loop is run....
[3 replies] Last: You can also use dynamically alocated arrays. realloc() would be helpf... (by TheHardew)
Menu Function Code check
Don't have access to a compiler today to test my code and asking someone to look this code over for ...
[1 reply] : Well first off, in your prototype for the menu function you are saying... (by HatchetMan302)
How to read vectors
How do I take a vector such as: < (2,c) (4,T) (3,R) > and print out a dynamic array such as this: ...
[7 replies] Last: try this. (by rafae11)
Is this a good book?
I was wondering if this was a good book to learn C++ from. -AL Stevens C++ Programming 7th Editio...
[2 replies] Last: Right, thank you :) (by Wulfinite)
by KMagic
Linked list
I have been learning about linked list. In an example, there is a piece of code that defines the L...
[1 reply] : That is a hangup from C, C++ accepts your second example but C doesn't... (by Jaybob66)
basic input output related query
Hi, i have to show output like this, while taking input in one turn like shown here. please provide ...
[1 reply] : (by rafae11)
When to use break inside a forloop
I'm having a hard time grasping the use of break inside a loop. I know that in switch cases, the obj...
[3 replies] Last: Makes lots of sense. Thanks! (by sheva29)
I need help, guys! Pls help me :(
Here is the assignment I get: ***** Write an email simulator that processes mail at an average of ...
[2 replies] Last: Well, actually I've done a part of the coding. But the thing is I do... (by syazshamsudin)
by NLB
Help for a true beginner?
Hi! I'm new to the forums and C++ in itself, but I am taking a class for it on the side and I just c...
[2 replies] Last: Sadly I do not, I will read about them and see what I can learn, thank... (by NLB)
by Chase
using sort() on protected variables
Hi! I was using #include <list> and sort it with sort(). The problem is that i cant sort the member ...
[3 replies] Last: Not sure what you're trying to point out with the two copies of your c... (by AbstractionAnon)
by h4ever
How to pass 3 bytes to buffer in one command?
How to pass 3 bytes to buffer in one command? // image_buffer is type unsigned char* of RGB im...
[4 replies] Last: This is testing part: image_buffer =(unsigned char)((H*100)/255); im... (by h4ever)
Pages: 123... 92
  Archived months: [nov2014]