Beginners (Page 2)

cpp PrimerPlus PE 6-2
 
I know that there is a couple of different ways I could have gone with this, but it works. Reason wh...
[7 replies] Last: Ok cool. Thanks (by JohnMorris)
spoj problem 5
 
http://www.spoj.com/problems/PALIN/ http://ideone.com/v5jrgV Compilation ERROR!!! help me out..
[1 reply] : http://www.cplusplus.com/forum/beginner/1/ (by ResidentBiscuit)
Question mark in a code
 
Hi everybody, While I was working i came across a code which was written by somebody else. I see a ...
[3 replies] Last: Yes. PLEASE USE CODE TAGS (the <> formatting button) when posting ... (by AbstractionAnon)
Tic Tac Toe Program does work, but....
 
Hello Everyone, My daughter and I are about 4 weeks into C++. I have a tic tac toe program that I ...
[6 replies] Last: % is the modulus operator. This will return the remainder after divis... (by discofire)
function
 
hello i have question void lose() { cout<<"Game over! You lose"; cout<<endl; if(exp>=5...
[12 replies] Last: If you take approach #1, every function called needs to return exp bac... (by AbstractionAnon)
What are adapters usefull for?
 
I`m talking about container adapters. The std::stalk, queue and priority_queue. Like could someon...
[1 reply] : Some algorithms use such concepts. Towers of Hanoi. There you move pi... (by keskiverto)
any help pls
 
Hi, I wrote a functions to cut a given file to any number of pieces.It's working perfectly but then ...
[17 replies] Last: Can you post the current state of your code, please? (by MikeyBoy)
C++ Primer exercise 9.52, std::stack
 
Before I start I would like to put out there that this is not my homework, I`m learning c++ myself ...
[3 replies] Last: I just dont even really understand this exercise fully. Like does it ... (by Yanson)
by vxk
using ifdef
 
I am using preprocessor ifdef and endif for the first time and i am getting some errors in vs2012 ...
[1 reply] : The problem is that the sleep function is defined multiple times, once... (by Peter87)
Simple question, Please answer
 
Hello! Considering that Deduct is a vector... Why does putting an "=" in the test expression not wo...
[3 replies] Last: Oh I forgot. Thanks! (by nooblet001)
strcmp problem
 
i am trying to make a phonebook i was able to add a few contacts using an add function.i also inclu...
[1 reply] : There are errors in that code, it won't compile. Please post the actua... (by Chervil)
How do I make this work correctly?
 
I'm trying to make a program that has 6 colors on the side, which can be clicked to change the color...
[1 reply] : How do I make it six colrs?? It doesn't matter whether you have 3,6,o... (by coder777)
by xtianl
Need Help !
 
Guys may i know what's the right code/logic here? I am new in programming. Please help. -----------...
[3 replies] Last: Yes you should use an array it inefficient to use a seperate variable ... (by Cube777)
HTTP POST request
 
I am trying to perform a POST request, but my code is not working so I'd like to know any alternativ...
[3 replies] Last: What method should I use? I really hate sockets, I thought you didn... (by kbw)
iostream issues
 
The program will ask the user to enter in data, then copy this data to a file, and will then print i...
[3 replies] Last: ur welcome :) (by cyberdude)
How to make DELAY between cout Statements
 
Hey guys, I would like to learn to put a delay between output and input statements. How can I do th...
[5 replies] Last: I've learned something. Thanks Ganado ! Yes, POSIX has dropped usle... (by Duoas)
Conversions
 
I have a fraction class, but I need to add functions that will convert a fraction to a float and vic...
[1 reply] : Unless explicitly required by the assignment to have a WholeNumber m... (by Duoas)
Too Many Repetitive Inputs To Get The Loops To Exit.
 
Hello! I have written a program that will calculate the area of a circle, rectangle, and a triangle ...
[2 replies] Last: Those mistakes were pretty simple. I am sorry I didn't catch them myse... (by cplusone)
by amjxxx
Running Total in Do While Loop
 
This is a homework assignment so I understand that answers cannot be given. I have been having tro...
[5 replies] Last: Okay, thank you! You are right, this is very helpful! I will try this ... (by amjxxx)
by dgsm98
For loops not printing
 
I'm making a simple program that will use a for loop to print numbers in between the two variables, ...
[2 replies] Last: Thank you, I don't even know how I made that mistake. (by dgsm98)
Pages: 1234... 46
  Archived months: [jun2014]

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