Beginners - February 2014 (Page 30)

Fruit Sales assignment
 
Hello I have been faced with a difficult problem domain. I am getting tons of errors.Any help would ...
[3 replies] Last: Why do you have to use strcpy and why do you do the same things twice?... (by closed account iAk3T05o)
Having display issues with my code, looking for help to fix!
 
Hello everyone! I have a code that I've been putting together for school that's basically a bike ...
[6 replies] Last: // Creates a dynamic CycleComputer object // static CycleComputer ... (by Alysha Recore)
How when should I use literals?
 
Hi, I understand how Integer Literals are to be used. int main() { const unsigned s...
[1 reply] : Self answering here -_-;;; http://www.parashift.com/c++-faq/numeric-... (by closed account 91vUpfjN)
HELP - many lines text
 
i will explain again, my program will create a file in the desktop called test.txt so it will create...
[6 replies] Last: thanks bufige (by closed account ivDwAqkS)
why does it load wrong[0] twice before loading wrong[1] ???
 
exactly what the title says.... basically this function goes through 81 boxes or 9 rows of 9 boxes. ...
[no replies]
Can you use VC++ to write Windows Apps
 
I'm really confused, I have tried to look everywhere to see if you can write Windows applications in...
[10 replies] Last: Alright, thanks modoran - I'm still all quite new to this. (by SoftMOUNT)
helpp
 
how to eliminate duplicate from a singal integer array?
[2 replies] Last: std::sort + std::unique + std::distance http://www.cplusplus.com/refer... (by keskiverto)
cin invalid input
 
Hey all... I am looking for a way to handle the comparison of input datatypes. In other words, in ...
[1 reply] : You can check if the input was successful by using it as a condition f... (by Peter87)
by Alby94
for_each() function!
 
Why the function for_each() calls first the constructor and after the function operator()? #in...
[2 replies] Last: Because the arguments of the functions must be evaluated before the fu... (by ne555)
A couple of algorithms to compress
 
Huffman 1 #include<iostream> #include<fstream> #include<string> #include<vector> #include<map...
[1 reply] : 1. You haven't asked a question 2. You duplicate posted: http://www.cp... (by Stewbond)
Is it possible to use the modulus operator on a decimal?
 
Hey, so I'm trying to write this program in which once you are given change, it dispenses it accordi...
[3 replies] Last: You can use fmod from <cmath> http://www.cplusplus.com/reference/cmath... (by Stewbond)
by siebi
ifstream.get() returns wrong character
 
Hello, I have a really confusing problem. Was searching the web, but found nothing useful. It ...
[2 replies] Last: try using gets() instead of get(). (by NPcomplete)
by kooogs
New to Programming
 
Hi, I would like to start learning c++ as a programming language and really I wanted to know where t...
[6 replies] Last: @koongs Tablet/Mobile apps. This can't be done with "pure" C++, but wi... (by iQChange)
Requesing Interesting C++ tutorials
 
Hi there , This site already has the best tutorial of c++ but I need some other tutorials of C++. Of...
[no replies]
Convert an array into a link list.
 
typedef struct Elem { int x; unsigned char value; struct Elem *next; } Elem; typede...
[no replies]
Multiplication using repeated addition problem
 
This code works on everything expect when I input a 0 for the second number... when I enter a 0 for ...
[3 replies] Last: Your computer knows 5 * 0 or 0 * 5 is 0 so there is no need for that c... (by closed account iAk3T05o)
Overloading Functions Compiler Error
 
I'm trying to overload the '<<' and '>>' operators but when I compile using g++, it gives me the fol...
[7 replies] Last: Thanks! (by Tipharez)
C++ text adventure
 
I am making an adventure game where the person is either a knight or samurai. I am having some issue...
[10 replies] Last: @dnulho I will be posting my code is several parts in a new topic. And... (by faust058)
using text file
 
Hello. I am taking my first computer class and my teacher doesn't offer any type of guidance. She ex...
[1 reply] : Let me make sure I'm understanding you correctly... you don't have any... (by packetpirate)
by dnulho
Text based game w/ external files
 
I am working on creating a game that is midway between a text based adventure and a text based RPG. ...
[1 reply] : Sorry to double post, but I updated the code and my problem. If some w... (by dnulho)
February 2014 Pages: 1... 2829303132... 60
  Archived months: [jan2014] [mar2014]

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