Beginners - October 2010 (Page 35)

never gives "Wrong date of birth or death"???
 
#include<iostream> #include<conio.h> using namespace std; void main() { int monthb,dateb,yearb;...
[1 reply] : Seriously, stop posting new topics with EXACTLY the same code in it al... (by Kyon)
what is wrong here???
 
"C:\age calculator\age calculatorr.cpp(68) : error C2447: missing function header (old-style formal ...
[4 replies] Last: Another note: Lose the habit of using void main() , every time you u... (by Kyon)
Installing Qt Libraries
 
I Want to run this code on Ubuntu Linux but i obviously need to install the Qt library onto my compu...
[1 reply] : http://qt.nokia.com/downloads/sdk-linux-x11-32bit-cpp http://doc.qt.n... (by Albatross)
by JamesZ
question regarding classes
 
Hey everyone, I am having trouble with a program dealing with Poker hands. I used 2 separate Classes...
[4 replies] Last: i dont know already this kind of topic beacause my instructor is alway... (by acDz)
Templates
 
Hi can someone help me finish the rest of this code? functions.h #ifndef __FUNCTIONS_H__ #de...
[6 replies] Last: Awesome thank you so much for the guidance and help (by swalton)
Variables in System Commands?
 
I'm not sure if this is really much of a noob problem or not, but since I am a noob to C++, I think ...
[2 replies] Last: It works! Thanks for the quick help. (by closed account j6XEy60M)
code structure
 
The code i am developing involves a lot of number crunching. I am interested in separating the funct...
[2 replies] Last: Thanks for the suggestions. Significant portion of my code is symbolic... (by cpluplusrat)
Reading 2 diffrent lines into array
 
Hello there, I wrote a code that uses algorithm of bubble sorting, but it works only if I input one ...
[3 replies] Last: Nevermind, solved this, topic to close. (by youknowitsme)
read txt increment words
 
I am workng on a progam to read txt in a file and print it to the screen. Every fifth word I sub an ...
[1 reply] : have a char last , before inFile.get(ch) , swap(last, ch) .... (by hamsterman)
Confusing
 
Time &Time::setTime(int h, int m, int s){ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~...
[2 replies] Last: Right, like any other return type declaration. Thanks a bunch. (by Analyzer)
Code compiles but no output
 
Our instructor gave us this code (from char c to endl;). It should print out the ASCII characters fr...
[9 replies] Last: Thanks guys I have class this morning and will run it by the professor... (by alpha49er)
school project: recursion and binary trees
 
ok... what i need to do is make a recursive function that returns either true or false after seei...
[2 replies] Last: first define a function to see if two nodeas are equal bool equal(no... (by hamsterman)
by tonnot
A strange class definition at h and cpp
 
I have found at QT files then next 'way' of declare a class : Anybody can help me to understand it...
[1 reply] : That's what QT does. Lots of macros. The result is class QLCDNumber... (by hamsterman)
ifstream extraction limiting
 
I'm trying to be a safe programmer, controlling extraction to guarantee no buffer overruns. However...
[3 replies] Last: Try below see how. while ( TestWords.getline( TestWord, 6 ) ) { ... (by sohguanh)
classes
 
I am trying to learn classes in c++, in the header file, do we always have to include the #ifndef #d...
[1 reply] : You need to include every header which is declaring symbols you are go... (by Bazzy)
Returning *This
 
Why would you ever return a *this pointer in a memeber function of a class? for example: Time...
[7 replies] Last: ........ =.= hihi Pardon me for asking.. i tried to read for a few ... (by teapotz)
Question about possible errors in a program.
 
Greetings Everyone, Once again I come to you with a completed homework assignment. However, even ...
[9 replies] Last: So the code as it stands now is as follows: #include <iostream> ... (by Flynn380)
by saicam
error C2106: '=' : left operand must be l-value
 
Hi guys, Can anybody help me in this kind of error?..I'm actually reading a file text and I'm trying...
[1 reply] : You can't use the assignment operator like that with C - style strings... (by mike246)
Function at Top vs at the Bottom?
 
Can somebody explain the difference and effect of creating the Function at the bottom vs Top please?...
[2 replies] Last: Thanks. (by knighthonor)
How do you recognize multiple user inputs and extract a sentinel value (1,2)
 
User puts in as many numbers as they want and then use -1 to say they would like to stop inputting n...
[22 replies] Last: I DID IT! Love you bros. Thanks so much for the help. Albatr... (by HipHopPotatoe)
October 2010 Pages: 1... 3334353637... 42
  Archived months: [sep2010] [nov2010]

This is an archived page. To post a new message, go to the current page.