Beginners - April 2008 (Page 15)

by Deimos
A nice program
 
I just had an idea for a nice program capable of showing ALL of the possible combinations of letters in an user-specified word, here is the source code so far: ...
[1 reply] : A buffer is a temporary cache where data is stored until it's extracte... (by peterhansen)
problem with output
 
I am a dev student, my class was given an assignment mainly dealing with basic input\output. the program must read from a text file (no problems there), and th...
[no replies]
Student trying to do school report...
 
Ok, I am a student enrolled in the Game Development course at Westwood College Online. I have to write a report comparing IDEs. I have Visual Studio Pro '08, ...
[no replies]
Yahtzee part 1
 
I have to write the first "part" of the game Yahtzee to include three functions (other than main); RollDice, DisplayBoard, and Keepers. Here are the instruction...
[no replies]
nested IF statements
 
The program has to compute four totals: using nested If statement. How many people do not read a newspaper, how many men older than 40 years read a newspa...
[1 reply] : What do you have so far? (by Ganon11)
HELP void function
 
I have been working on this program for a couple of weeks now and am now behind in my online class. My professor is not answering any of my emails and I don't ...
[11 replies] Last: Could this boolean variable work? if I want the 5 lowbalance charge t... (by cannsyl)
by nEdImT
Problem with += ...
 
Hello. I'm new here. I have this code: #include <iostream> using namespace std; int main(){ int a; int i; float pr; int br=0; ...
[4 replies] Last: Thanks man ! :) (by nEdImT)
by cppwtf
loop break
 
I have a loop which calculates a sum. I need it to stop when it equals 0. [ i have managed to do this with an if and break statement]. BUT if the sum never e...
[3 replies] Last: stopping a loop when it is closest to 0 would be hard b/c the first an... (by cyberpirate)
by DwLee
Don't understand this code.
 
// more pointers #include <iostream> using namespace std; int main () { int firstvalue = 5, secondvalue = 15; int * p1, * p2; p1 = &firstvalue...
[4 replies] Last: Oh! So there is no addition or anything, we just changed the value of ... (by DwLee)
Reading a .txt into an array
 
I am new at C++ (of course) and am having problems reading a .txt file into an array. I really don't have a full grasp of arrays. My .txt file looks like thi...
[7 replies] Last: You were really close with your original code. The problem is that yo... (by nogoodatall)
Data input to an array help!
 
I'm having trouble with a fragment of code in my program. I have to read in data from a file to an array. The basic setup in the data file looks like this... ...
[no replies]
calculate pi with loop
 
Have to calculate pi using the fibonacci sequence (pi = 4 - 4/3 + 4/5 - 4/7 + ...) The number of calculations or precision it goes out to is based on a user pro...
[8 replies] Last: Thanks again, I pulled a duh Huh! on the (!) operator. I had studied t... (by mantater)
I'am new and i want to make my own Keylogger some help?
 
ok, i want to make my keylogger becuase my friend said all the ones out there are no good so i want to make my own where do i start
[3 replies] Last: What psault was trying to tell you is that if you're asking how to get... (by gzero)
Basic C++ Program Help
 
I'm in a C++ course, and am having a few problems with a problem we were given. We were given a text file, on the first line are X and Y coordinates of an "e...
[6 replies] Last: Here's some quick modifications to your code that fix the error and ma... (by gzero)
help...plz
 
We are writing a program that will function as a point of sale system at a sports arena snack bar. The snack bar sells only six different items. They are listed...
[3 replies] Last: How about you write something, then come back with a more specific que... (by gzero)
strtod-- usage problem???
 
Hello Guys.. i need to parse a string which contains floating point numbers. The function strtod sounds great to me...but the problem is that this function r...
[no replies]
error when compiling
 
i keep getting this error message when i compilie my project. stray \150 in program expected ')' before "output1" This is the 2 lines I get the error fo...
[1 reply] : In the following line of code you do not have matching parenthesis; ... (by closed account z05DSL3A)
problem in map
 
i am trying to pass map by adderess but not being able to do so... what can be the possible way to do so........
[no replies]
by amax
Adding text in any file using fstream
 
Hello, I am doing one project. I am using fstream liabrary for reading and writing text in to files. I am able to write text in file.but when I execute it, ne...
[1 reply] : when you open the file, after the file name add ios::app like this: ... (by psault)
how do you make colored text with visual C++?
 
the title pretty much says it all. ive been trying to figure out how to change the colors of both the background and the text when usuing VC++ 2008, but i havnt...
[2 replies] Last: use this: system("color a"); http://www.cplusplus.com/forum/ar... (by guruplus)
April 2008 Pages: 1... 131415161718
  Archived months: [mar2008] [may2008]

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