Beginners - May 2013 (Page 49)

What do I do next?
 
Hi guys, So I'm pretty new and I have gotten the basics under my belt. The only problem is, I've ran out of ideas of what to do next, I've seen a Challenge thr...
[1 reply] : http://www.cplusplus.com/forum/articles/12974/ (by Pebble)
Password control, exiting Do Loop, Returning to main
 
Hi I am testing to see if a correct password is entered in 3 attempts, if it is not, the program exits, if its correct, it return back to the main. I made a...
[4 replies] Last: Ahh that made sense. Made the changes and used bool. Worked well thank... (by Progressive)
by tpinon
endless loop
 
I'm working with binary files for the first time. I'm writing a record to the file and then reading from it. When I get to this function to read and display the...
[6 replies] Last: Also, it display the wrong information when you rerun it. (by amchinese)
Area under a curve for multiple functions
 
Alright guys, I have been all over trying to find something to help me, and while there are lots of "area under a curve" topics, there aren't any that discuss h...
[3 replies] Last: http://www.cplusplus.com/forum/beginner/91632/2/#msg495659 (by Chervil)
Binary Conversion
 
I heard there was a function to convert character values into Binary values. Since character values represent ASCII numbers, I assume its just a regular deci...
[10 replies] Last: would their binary representations be different, or same? Different... (by Chervil)
by nass
Little help with functions c++? (1,2)
 
I'm trying to get this program to work but something is wrong, don't know what exactly. The formula - if you're wondering - for the volume of a sphere is 4/3...
[22 replies] Last: Hi Nass, You can simplify your code right down if you want to, and sti... (by Donnie)
by abirtj
Made a small code but if conditions DON"T WORK!!
 
Made this as an assignment for my instructor but the if conditions don't work at all i m a novice so please help me out!! # include <iostream> # include ...
[3 replies] Last: hey thank guyz....that fixed it!! (by abirtj)
Swapping in Array
 
I am trying to write a program to sort an array of 10 numerical values from smallest to largest I'm lost at the swapping part. How do I write that part so I am ...
[4 replies] Last: What you are trying to implement is a bubble sort algorithm. Swaping v... (by nedo)
Help to read program code
 
I might be beginner who tries too hard thing. But I want to read real program code. I provide link to it. That is chemistry command line program it takes two f...
[3 replies] Last: Strange... try this one: https://github.com/Ashod/vina (by ProzacR)
program
 
what program should i use to program c++? cheers
[3 replies] Last: cat? (No, that would be brutal.) The OP does not specify OS. You writ... (by keskiverto)
to update information
 
hello everyone.. i have no clue how to work out this problem... i'm new to c++. i have to define a class which would update the data members of the class. i w...
[1 reply] : uhh.. here's the code: #include<iostream.h> #include<conio.h> #include... (by nishant313)
by theguy
Thanks!
 
Thank you!
[2 replies] Last: http://ideone.com/ (by naraku9333)
getting odd errors when i try to read data into a 2d array
 
I'm getting a few errors when I try to compile my code and I have no idea how to fix them #include <iostream> #include <fstream> #include <iomanip> using nam...
[1 reply] : You write: using namespace std; #include "input.dat" class sudoku{ ... (by keskiverto)
by eyali
How to change pointer within a function
 
Hi All, I try to change to address where a pointer points to within a function. I don't understand why the following code doesnt work void changePoin...
[7 replies] Last: I see ... Thank u all for your help!! (by eyali)
by teand2
Getting program to open text file
 
The program is supposed read checker board moves from a text file and print them to the screen. Everything compiles correctly but it keeps saying ""Error openin...
[1 reply] : intData.open("C:\\Users\\T_Dub\\Desktop\\data.txt"); or, better: ... (by cire)
by tpinon
Help with this endless loop!
 
I need help. I'm still getting an endless loop here when reading from a binary file. The data is in the file ok. Any suggestions. I debugged, but it didn't help...
[1 reply] : I would have assumed from the function signature that Read reads one e... (by cire)
How to make a bar graph?
 
I wrote a program that allows the user to generate their own poll and tally up the results of the input. At the end, I want the results to be displayed as a hor...
[3 replies] Last: Yes, perfect! Thank you, I can't believe it was that easy (by whatisjeff)
Need some help with reading a file into an array
 
I am working on a project that grades a drivers liscense test. It involves two programs. The first being creating a file of 20 random answers. The second progra...
[18 replies] Last: Fixed.. #include <iostream> #include <string> #include <fstream> #in... (by Carm)
My first 'BIG' program & what to improve on
 
Alright, so this is my first "Big" program I've written in c++. It's a silly text-based game, but it took me a few days to write. I tried to format/organize the...
[3 replies] Last: its funny! xD -the random cases- "You see a man on a dock drinking a s... (by eyenrique)
Why does my program keep freezing?
 
I'm just trying to make a little program to help me study. I would like to have the program to give me a word and allow me to choose the correct answer in a fo...
[2 replies] Last: For one, your functions multipleChoice and wordGenerator return someth... (by Ispil)
May 2013 Pages: 1... 4748495051... 66
  Archived months: [apr2013] [jun2013]

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