Beginners - March 2013 (Page 20)

calculating age from date of birth and computer date
 
I have used the following to acquire the date from the computer and this works great. char*date; ...
[1 reply] : http://www.cplusplus.com/reference/ctime/time/ The example on that pa... (by fg109)
If Then statements.
 
Im trying to do a challange problem in my C++ text book. I have to allow the user to input a quantit...
[1 reply] : if ( pack >= 10 ) // amount of discount based on purchase quantity { ... (by MiiNiPaa)
by krutuk
Problem with array
 
Hi everybody! I have a problem with an array. I really need somebody's help. Here is a code: #in...
[10 replies] Last: I am sorry for being late was solving another problem at less I hope w... (by closed account 28poGNh0)
This makes no sense? Please help
 
In my book Book, Ivor Horton's Beginning Visual C++ 2012 it says that the following is a lvalue refe...
[no replies]
Problem with else in Dev C++
 
I have this code: #include <cstdlib> #include <iostream> #include <cmath> using namespace s...
[4 replies] Last: Thank you Techno01 !! You fixed my problem ! (by RadCod3Win)
Creating a Composite Object ...
 
I'm fairly new to object creation in c++ and need some help creating a composite object (utilizing ...
[2 replies] Last: I believe the "x" include will only search in the source files directo... (by SeaLyons)
How to refer to a method in another cpp file
 
I have this bit of code that I'm trying to make function, but Visual Studio is giving me error messa...
[2 replies] Last: Thank you, this worked perfectly. (by josephawad)
by mpack
Issue with operators?
 
I am trying to get a program to work for an assignment, but I can't seem to get anywhere else on it....
[3 replies] Last: @ vlad from moscow From what I know, wouldn't you want to make a switc... (by RadCod3Win)
Rectangle with "*"
 
Hi, I am supposed to make a program in which you give 2 numbers and those 2 numbers should be the wi...
[2 replies] Last: Thanks it worked (by dude101)
by poziga
Structs, linked list (1,2)
 
I have a program that reads a file text.txt and contains filenames . When it reads a filename it op...
[23 replies] Last: Again, C++ is C. http://www.cprogramming.com/tutorial/c-vs-c++.html ... (by MiiNiPaa)
by Tax
What should I use instead of goto?
 
Hi, what should I use, instead of goto? I read some about functions and loops, but can't see any sim...
[9 replies] Last: Now a version using a vector, which can be considered as an array whic... (by Chervil)
Defining an object from another file that's not in the global scope.
 
I have 4 files, but I think you only need two to help me. Basically I have a vector full of "monster...
[3 replies] Last: Er, I'm confused. Do this? Monster.h class Monster { public: Monst... (by kong288)
One Last Question, and I then shouldent need anymore help.
 
I actually know my fair share of C++, were I learned just never explained anything about graphics, s...
[2 replies] Last: Well I was using OpenGL for the longest time, and really it just wante... (by Joshrocksforeverandever)
I have a question
 
Please do not recommend any type of shortcut, I just want to tell my computer completely through my ...
[4 replies] Last: Okay, thank-you so much! (by Joshrocksforeverandever)
Grade Calculator (Functions, Ugh)
 
Program compiles but writes "invalid letter grade" to file. Am very new to programming. // This ...
[1 reply] : Return statemen will stop function immediatly. In your case problem ... (by MiiNiPaa)
i need some exercises...
 
hi to everyone... i am new to c++ programing and i used the tutorial and it was really beneficial.....
[1 reply] : http://www.cplusplus.com/articles/N6vU7k9E/ http://projecteuler.net/ (by MiiNiPaa)
Functions in classes
 
I am hesitant to post this topic because it is the second time today that I have posted with a simil...
[2 replies] Last: Thank you so much! I can finally continue with this project. (by connorvba)
Strings
 
Is there any way of inputting strings till a certain character? cin inputs till space, getline till...
[1 reply] : You can use std::getline. For example std::string s; std::getline( st... (by vlad from moscow)
problem with class creation. unresolved externals
 
This is supposed to create a class that inherits from the STL string class and use it to find word p...
[2 replies] Last: Thanks, I knew I was looking too hard for simple issues - Bobby (by lostcowboy)
I need a good compiler.
 
Hello everyone! I'm a beginner, and I need to know what compiler is the best? (I need a link fo...
[3 replies] Last: I am on Mac, and as a beginner I user a $10 app from the App Store cal... (by Cenmo)
March 2013 Pages: 1... 1819202122... 87
  Archived months: [feb2013] [apr2013]

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