Beginners (Page 2)

Spacing problem in code that sorts names using parallel arrays
I have some code that sorts names using parallel arrays, however there are too few spaces in between...
[3 replies] Last: bump (by keltonfan2)
String Manipulation Help
Working on an assignment for a c++ class, and I've been running into some trouble. I'm sure this is...
[2 replies] Last: I understand the first two things, but the last one doesn't make sense... (by KC Smallz)
Did I understand references and pointers correctly?
I have been reading about references and pointers everywhere but I still have some questions. Fro...
[13 replies] Last: The function MyClass::MyFunction returns a reference to an integer, ... (by LB)
by jmann
C-String Array Input Validation
Hi, The following code I wrote class is supposed to ask the user to input a social security numbe...
[1 reply] : Why are line 29 and 34 loops? Where does the value of i inside the lo... (by cire)
by id10t
Nested Class Question
Hey Folks, I need some help again. We have an assignment that is incorporating both nested classes a...
[6 replies] Last: The constructor ask for a pointer and an integer. STLDataBuffer::It... (by ne555)
by trasbd
Overloading the Insertion (<<) Operator
I am trying to overload the insertion operator for a class called resident . Whenever I run this, ...
[3 replies] Last: This is the code in the header file const int NAMEMAX = 100; class r... (by trasbd)
by fabmab
Question about enums inside arrays
I'm building a minesweeper game for a project and I'm suppose to be initializing each position on th...
[no replies]
need help with errors in my code
so i am basically doing an assignment priority queue using heap these are instructions for every co...
[no replies]
Hopefully a quick fix
This is in assignment. The program was given but I needed to re-arrange it. I was wondering about wh...
[no replies]
by s8050
How to run more than one function at the same time?
I am a beginner in C++ and I barely make simple console applications and now I could make a music fo...
[2 replies] Last: mm, that explained a lot. I am not sure what kind of Dav-C++ I am usin... (by s8050)
by koopey
string.find method problem
hey guys. this segment of code tries to store input from only inside <body>stuff to be strored </bod...
[6 replies] Last: a great misunderstanding! i initially thought after using 'body_begin'... (by koopey)
by iahmed
terminate called after throwing an instance of std::bad_alloc
Hi... I am facing the current error since last few days and fighting with it to resolve the problem...
[4 replies] Last: Please if you need the complete code to have a look i can email you, a... (by iahmed)
General Question about prog/job math
What is the most important math skills for a programmer.In other words, if I was to expand my math s...
[4 replies] Last: Vector math and matrices if you're planning to do any physics/graphics... (by cnoeval)
by koopey
Post your space invader game!
caution: this is not a contest or something. i have seen many active users in this forum mention th...
[no replies]
by erfa4n
problem with Date function(help pls)
hi friends i want to write a date function that Receipt a number ( for example 1267859 ) and turn ...
[2 replies] Last: look with this function we turned a date to DAYS...this function show ... (by erfa4n)
by HelenI
If and else if
is that correct? void main(){ if(....){ } else if (....){ } else if (...){ statef () } ...
[3 replies] Last: also I missed the semi-colon... statef() should be statef(); ... (by programmer007)
by HelenI
Function and While Help
Hello, can i put a function in a while that's in a function...... void main(){ while(......) ...
[2 replies] Last: thank you! (by HelenI)
RunTime Error not working....
Hey guys,I was writing a sample program that uses the try and catch block(actually I was trying to l...
[1 reply] : #include<stdexcept> See: (by coder777)
object oriented inheritance
EXAMPLE OF INHERITANCE //Base class class Hotel { public: void setName(string hotel_...
[1 reply] : Do you have a question? And no: that's not useful inheritance. (by coder777)
Adding Functionality to Classes
I'm not grasping how to go about this, any help would be appreciated... thank you! Exercise 12.0...
[1 reply] : Read this: http://www.... (by coder777)
Pages: 1234... 82
  Archived months: [feb2015]

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