Beginners - October 2015 (Page 49)

Loops
 
I have an idea of where to start, but can someone help me figure out my errors? #include <iostream> using namespace std; float loopCalculateSum(floa...
[3 replies] Last: Anything else? That i need to fix? Pardon? (by closed account 48T7M4Gy)
Cash register program - having trouble with very small values (pennies)
 
Hi folks, I am having some hair-pulling trouble getting very small amounts (i.e., pennies) to work right with a fictional (for fun) cash register program I cre...
[4 replies] Last: Edit/update - I solved it! I used long double and did fmod() divisio... (by studentcoder)
LAP TIMER HELP
 
I have this timer. can someone help me with the laps? when ENTER KEY is pressed it will display laps. [/#include <iostream> #include <windows.h> #incl...
[no replies]
by koopey
void main or int main?!?
 
In c++, is using void main() even legal and if so, in what cases? Just a note, I indeed have consulted a lot of websites regarding this and they all seem to s...
[3 replies] Last: thanks guys. I will straighten the guys out now! :) (by koopey)
by mentat
Staying within a certain range of numbers
 
So i am doing some practice problems and i am not able to solve this problem. I am to ask the user for a number. The program will continue to ask the user for a...
[2 replies] Last: You also need to use an array/vector to store your numbers so you can ... (by integralfx)
Converting enum to string help
 
Solved
[1 reply] : Do you know that deleting your posts from your topics is considered ru... (by jlb)
Learning
 
Hallo, my name is Lyubomir. I am student at University of Vienna. I took all my exams i have only c++. I would like to ask you, how can I learn fast c++. Can yo...
[3 replies] Last: No one learns C++ "fast", it takes time. You can learn the basics thro... (by closed account 18hRX9L8)
Sorting Lists
 
Well, I'm mostly done with this project, it sorts a list of 25 students with their gpas and standing and such into alphabetical order, and calculates the gpa av...
[3 replies] Last: Oh my god I feel silly. Well, I won't make that mistake again... ugh.... (by Culbrelai)
SIGSEGV Segmentation Fault in Array Sorter
 
Hi all, I am very new to programming and I am writing a short program that generates an array of random values between 0 and 500, prints the array, sorts the ar...
[1 reply] : I'm guessing that the array index is out of bounds. I suggest you fami... (by Cody0023)
Adding 2 vectors
 
Why is the result wrong? 1.79302e-307,1.79317e-307+-8.94132e+070,2.60732e+253=7.23027e-308,7.23127e-308 Correct result should be :(1.5, 8.0) #include <ios...
[1 reply] : You need to initialize the member variables x and y (you have the cons... (by Danny Toledo)
Need Help!
 
I am just starting classes on c++ in college, and I'm having trouble with this "undefined reference to 'get_withholding_function'. I will put 3 stars on the lin...
[8 replies] Last: No worries. I know what you mean. (by chicofeo)
Trying to strip <Tags> off an HTML document
 
I am trying to read in an HTML file and I am trying to strip the tags '<' '>' and everything in between them. Below is some code I've tried working with for awh...
[5 replies] Last: I was able to get the program to work, what I was missing was an istre... (by Outlaw782)
A minor problem with a menu code
 
There's really no errors in this code, but I do want to make it better. As seen below in the code, I have the customer enter in "5 0" to end the code, is there ...
[8 replies] Last: does it always default set it to 0-3? As I said before, the = {0} ... (by AbstractionAnon)
by levsky
C++ to edit song info in an mp3
 
I was wondering if it was possible to use a c++ program to take a mp3 and use it to edit song info such as the artist, album, and etc. How would I go about maki...
[1 reply] : Yes, of course. There are libraries dedicated to reading and writing M... (by helios)
output with int variables
 
Hey guys I am having trouble on how to solve this code. Please give me the steps on how to solve. I need to figure out what the out put is with out having to ru...
[2 replies] Last: like @Norm said take a piece of paper and write value of x and y for e... (by Ericool)
Bool error's help please.
 
having some issues with my bool. Any help would be nice. any help would be nice I am trying to figure out at the same time just having a difficult time trying ...
[5 replies] Last: Line 7: Missing a close comment (*/) Line 24: ne555 gave you two exa... (by AbstractionAnon)
I want to read the file line by line as array with Dev C++
 
Hello everybody, I am beginner and I just come to C++ I want to read the file, line by line, and line as array, like this: my file: 6 1 2 4 5 2 1 ...
[1 reply] : If you want to parse the contents of a string, you could use a strings... (by Norm Gunderson)
How to make software to solve linear fuctions ?
 
Hello can some one post code of software to solve this unsigned char k = 120 unsigned char n = 230 int p = 500 int c = 800 c = n + k k = p + c c += k ...
[2 replies] Last: Thanks a lot bro saved me a lot of time couting it manually :D (by totalnooob)
please fix it for me guys!
 
I`m really confiused about it pleas help me. I`m a beginner. this program supposed to show your age, by day/week/year. Also the day of the week that u borne. I...
[15 replies] Last: I'm a beginner too but noticed some obvious errors. missing a semicol... (by diamondknife)
Extracting Digits
 
Need some help with extracting digits from inserted integer :( I have some errors, I am a beginner, please help me out #include <iostream> using name...
[9 replies] Last: OK Cya :) Hint: when you get to division, integer division can give... (by closed account 48T7M4Gy)
October 2015 Pages: 1... 4748495051... 57
  Archived months: [sep2015] [nov2015]

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