Beginners - February 2014 (Page 42)

by Duan
Error of Redefinition of formal Parameter "X"
 
I am trying to make a payroll calculator, and I have made the code section where it compares the gr...
[1 reply] : nTax function receive an int parameter which has the same name - x do... (by rich1)
prime numbers
 
hi i am not sure what is wrong with the second part of the code. can someone please help what wrong ...
[5 replies] Last: Thanks for the help. I still cannot get the numbers to the file but th... (by billyjoe)
by Larry2
Understand a program logic when it becomes heavy
 
Hello, I was reading a large code (apache web server). With all those inclusions, I would like...
[3 replies] Last: Thanks a lot, Your points of view were very useful to me. I have got... (by Larry2)
Recursive alternative for a counter.
 
I recently completed a HailstoneSequence program I was assigned. In this this program we had to prom...
[1 reply] : first remark you forgot the return type of the function this is a nor... (by JewelCpp)
Creating and writing to file
 
I need to output all of the data I get to a text file. How would I go about doing this? I've read an...
[1 reply] : Well, all your program does is checking with some IFs, and some for lo... (by MatthewRock)
by sky3
Reading in integers to an array
 
I cant figure out why my read in array wont work :/ This is a predetermined lab and so its a bit wei...
[4 replies] Last: How can the following be an endless loop? for (int v = 0; v < 10; ++... (by MikeyBoy)
by ASQ19
illegal, left & right operand has type 'double *'
 
I'm getting this error, illegal, left & right operand has type 'double *' double temp1,val=0.0; ...
[1 reply] : Please use code tags when posting code, to make it readable: http://w... (by MikeyBoy)
Recursion Problem
 
I have a program designed to calculate the power of a number in 3 different ways, defined by 3 diffe...
[2 replies] Last: I'm new, I know I suck. But thanks for the input. (by fizanimtiaz93)
Hello World
 
I have wrote the following code yet when I compile it, i fail to get the desired outcome. #includ...
[3 replies] Last: [quote=kugi]and you can delete his endl here: cout << "Hello World!" ... (by MikeyBoy)
by kugi
CMD screen upade
 
Hello everybody! I am writing in C++ 2 months and I don't know, how to make, that cmd upade his cree...
[no replies]
sscanf string in float array
 
Hallo, ich habe ein Problem... und zwar möchte ich aus der input-Zeile zB ("101 0 ...
[5 replies] Last: Wenn die Anzahl nicht dynamisch ist, spricht nichts dagegen das so zu ... (by coder777)
by jwilt
getline to array
 
How can I use the getline function to get a string of numbers 30 digits long, and store each digit i...
[4 replies] Last: I would use cin.getline http://www.cplusplus.com/reference/istream/ist... (by Yanson)
Overloading Prefix and Postfix Operators
 
Hello! I've been working through some examples on how to overload operators, and I managed to crea...
[2 replies] Last: thanks for your reply! the reason I have to use int * is for a program... (by geniusberry)
Is this scenario possible
 
Hello guys, I have a weird question. Given this scenario: we have a base class called letters; ...
[3 replies] Last: Thanks you guys for the responses, now I have a good starting point. (by bookLearnin)
error C1083 in MSVS 2010
 
Hi.I've written a code in MSVS 2010 and it works fine,but I decided to separate function definition ...
[17 replies] Last: Ok.Thanks (by fitipaldi)
Read Strngs with spaces
 
Hello, i'm using C and i don't ever programed in C++. Now i'm doing a program that needs to read str...
[1 reply] : #include <string.h> #include <stdio.h> int main() { { e... (by JLBorges)
How to ask a user to reenter an input.
 
Hi, It is my second week already in my C++ plus and still getting a good grasp of C++ So as I ...
[1 reply] : hmm you could do it several ways, with a while/for loop or even a swit... (by sky3)
"Bubba Add Program" - Arrays
 
I've been working on this program most of the day. My professor spent a total of 30 minutes discussi...
[6 replies] Last: There are several ways to do it. The easiest way in my opinion. int... (by heyyouyesyouiloveyou)
problem with numbers
 
Hey all. Worlds worst programmer here again. My inquisitor.........er I mean my professor has an i...
[2 replies] Last: Oh. Well I was trying to increment the yearly value that the populati... (by jackbruns28)
Linked List Issues
 
Hello, I have a program that requires me to create an object, populate it with information, and then...
[2 replies] Last: Hello firedraco, thank you for your response. So what you're saying is... (by unsensible)
February 2014 Pages: 1... 4041424344... 60
  Archived months: [jan2014] [mar2014]

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