
please wait
I really need help with this program not working correctly |
Hi so I made a program using if statements, but when I put 64 as the input it does include all of the correct input except for the last part "Not divisible!" It... |
Feb 6, 2013 at 10:32pm
[1 reply] : You should edit your post and use code tags under the format option. ... (by SamuelAdams)
|
by btkircher
Do-While Loops - ALMOST COMPLETE
|
This program should work as follows (and it does work - almost): Input sequence of integers (zero to stop): -4 3 -20 10 45 100 -1 0 The sum of positive num... |
Feb 6, 2013 at 10:04pm
[1 reply] : try removing the " ; " right after your if statement :) (by simpleasy)
|
by brooksaj94
[Deleted]
|
Feb 6, 2013 at 10:01pm
[1 reply] : http://www.cplusplus.com/doc/tutorial/files/ (by simpleasy)
|
by Doth
struct in class not working properly
|
I started doing a program that is supposed to solve crosswords ( search for words in all directions ). So basicaly I have a field [X:Y] , there is a letter on ... |
Feb 6, 2013 at 9:57pm
[3 replies] Last: OK, I found the mistake. I'm sorry to waste everyones time , this is t... (by Doth)
|
by JakOrp
troubleshoot prime number calculator
|
Hi i've searched through some articles and i think the mathematical part of my code is correct, but it doesnt run as expected. many thanks in advanced. edit: t... |
Feb 6, 2013 at 9:37pm
[13 replies] Last: Thanks for your help! (by JakOrp)
|
by mhajototzkie
Kindly need a help ...
|
I am just a new student for programming .. i really hope i can find help here coz i badly needed it now .. I have here a program .. I hope you ca help me bou... |
Feb 6, 2013 at 9:00pm
[2 replies] Last: You are not even going to give him an answer? Try something like: ... (by Pickle Gunner)
|
by Mobius1
getline in fstream
|
my assignment has me taking data from a .txt file and putting it in a program and doing some calculations with it. the .txt file. 400 25.5 1/4 pound hambur... |
Feb 6, 2013 at 8:13pm
[2 replies] Last: Thanks that was just what i needed! (by Mobius1)
|
by wondersz1
Strange syntactic error in the code.
|
Hi Everyone, I'm a total starter with C. That is a simple hometask that I'm trying to code but get stuck with a syntactic error when trying to create a loop.... |
Feb 6, 2013 at 8:09pm
[8 replies] Last: Thanks for the hint! I really used the wrong syntax. It's working now!... (by wondersz1)
|
by noblesm1975
Help With Functions
|
I am getting the following errors: Error 1 error LNK2019: unresolved external symbol "double __cdecl CalculateAverageScore(int * const,int)" (?CalculateAvera... |
Feb 6, 2013 at 7:55pm
[7 replies] Last: Case sensitive double CalculateAverageScore(int , int ); //declaratio... (by ne555)
|
by hellfire1
How to verify input is an integer?
|
Hey all, Having trouble verifying an input is an integer. It's like this: I need to enter a number, and then check whether it's between 5 and 26, if so, i... |
Feb 6, 2013 at 7:30pm
[5 replies] Last: Well, while I'm not really sure what int argc, char* argv means or... (by hellfire1)
|
by s1729
problem with delete[] in class
|
Hi guys. In the code below, I am making a class 'agent' and then making an array of agents in function 'main'. This throws the error given below. In the functio... |
Feb 6, 2013 at 7:22pm
[5 replies] Last: Thank you Disch and ResidentBiscuit! You were right and I managed to f... (by s1729)
|
by FeliciaGonz
Problem with converting numbers with text
|
Im trying to write a program that could convert numbers to text. The main problem is that i only got error when i write a number between 100-999. I know i do... |
Feb 6, 2013 at 7:04pm
[7 replies] Last: Please don't give out full solutions, redlichan. noted... I'm a new... (by redlichan)
|
by mrmegusta
Invalid Allocation Size in VC10
|
I am a beginner in C++ and I am trying to create a matrix calculator for addition and subtraction, 2Ddynamic array while avoiding to use #include <vector> I ... |
Feb 6, 2013 at 7:01pm
[4 replies] Last: Thank you, I am still getting into it. I used your suggestions and the... (by mrmegusta)
|
by bruntmjust
How to get this example to work?
|
These are the variables: n = number of rectangles and/or trapezoids a = beginning x value b = ending x value h = width of each rectangle/trapezoid, (b-a)/n... |
Feb 6, 2013 at 6:37pm
[4 replies] Last: Ok. I have the first part for you. (I'm sure there is a much more ef... (by aperio)
|
Plz help edit this c++ program? |
this program is to store my name and print it. name has to have a limit of 10 characters. while loop has to end when i enter 10 characters or i press enter. but... |
Feb 6, 2013 at 6:16pm
[3 replies] Last: @cire http://www.cplusplus.com/forum/beginner/91858/#msg493662 How man... (by zubair rockstar)
|
Mayan long count |
This is what my teacher posted.. .and I HAVE NO CLUE on how to even start it! 1 Kin is 1 Day 1 Uinal is 20 Kin 1 Tun is 18 Uinal 1 Katun is 20 Tun 1 B... |
Feb 6, 2013 at 5:29pm
[4 replies] Last: Do you understand how to convert seconds to HH:MM:SS? This assignment ... (by LB)
|
by bigdray55
Generate an array of 500 numbers between 1-1000
|
Generate an array of 500 numbers between 1-1000. Sum the even numbers and display the total sum, sum the odd numbers and display the total sum. Display a coun... |
Feb 6, 2013 at 5:21pm
[1 reply] : [quote=bugdray55s homework assignment]Generate an array of 500 numbers... (by LB)
|
by rcast
Ternary Operators
|
Can somebody explain in simple terms how this works and what it produces? a = --b ? b : (b = -99); |
Feb 6, 2013 at 4:20pm
[6 replies] Last: Excellent. Thanks (by rcast)
|
Some techniques to learn C/C++ |
I want to learn C++. Could you please tell me how to learn C++,have any easy way,documents,ebook etc |
Feb 6, 2013 at 3:40pm
[2 replies] Last: I think that he best way is to try and fallow some tutorials from the ... (by nedo)
|
by mhajototzkie
Badly need a help guys..
|
I am just a new student for programming .. i really hope i can find help here coz i badly needed it now .. I have here a program .. I hope you ca help me bou... |
Feb 6, 2013 at 3:10pm
[1 reply] : Wheres your problem? All I see is the assignment, not any work where y... (by ResidentBiscuit)
|