Beginners - March 2008 (Page 9)

Please help me I started a program and now i need help
 
#include<iostream.h> #include <math.h> #include <cstdlib> #include <ctime> #include <cmath> #include <ctype.h> using namespace std; void...
[1 reply] : Before posting your code, you should make sure it's properly indented.... (by ropez)
Choosing a random string?
 
Hi there, I need some help on how I would randomly choose a string from an array? So far, I have created a text file of 100 strings that is read from a fil...
[1 reply] : #include <iostream> #include <ctime> #include <cstdlib> using na... (by ropez)
by smrfam
I am a beginer all i need is help and advice
 
first of all greetings to you all , this is my first time writing. i need help and advice. i am just starting a programing course and is totally new to me all i...
[1 reply] : Answer should come from you after few months or years. Learn+Apply... (by yogindar)
by arlene
passing reference parameters-function
 
I just do not know where to begin with this homework assignment- the exercise is : Write a function named yrCalc() that has an interger parameter representing t...
[1 reply] : This should give you a start: #include <iostream> using namespa... (by ropez)
by Cito88
help with pizza program
 
im having trouble getting my pizza program to work. its suppose to ask user for type of pizza/size of pizza. amount of toppings.. suppose to use a class/set/g...
[1 reply] : Cito88, First off, you get this program to actually compile? I wasn... (by Cplusplusprog)
Rounding
 
I need to find a function to round the numbers to the second decimal place only...here is my code that I need to figure out. // Andrew Driscoll #include ...
[10 replies] Last: It would, but floating point values are not really the right tool for ... (by ropez)
cmp prompt problem
 
i just started to try c++ with the nice tutorial here and i already get a big problem and can't find solution on google. when i run the programm // my first p...
[6 replies] Last: Another way easier way is to put system("PAUSE"); right before you... (by tomao)
Help VS2008: assigning a returned string to an edit control
 
Hi! Everybody, I am new to programming and this is my first post here. I have problem with assigning a string which is returned by the active component to my e...
[no replies]
Read & write to 24c32
 
Hello All THis is my first post,My project is a fairly simple one. I have a device which contains a 24c32 chip. The chip has 50,000 shots on it. Obviously...
[no replies]
hlao
 
can any one give an example of a programm usess output from a file to find maximum, minimum, average and variance? i really cant find a solution for it. The q...
[12 replies] Last: haha, thats right. is assignment. i am too lazy before this and we ar... (by forcyou)
by Fasine
Passing Pointers from a Class?
 
This may not exactly be a beginner question, but can anyone tell me how to pass a pointer to the calling class as a parameter in a function? I know that Java ha...
[1 reply] : The this keyword in C++ is the pointer to the current instance... (by vince1027)
search back statement in arrays
 
Hi i need an answer here if anyone know pls tell me. I have an arrays that had 50 statement. So now may problem is when i want to alter or change once of the...
[2 replies] Last: Hmm...maybe i not in detail form... Now i will paste down my coding a... (by madne33)
How to use the file download from the Sourcecode section of this site?
 
hey,guys: I have download codes from the sourcecode section,but I can't open it,because I don't known what's the file format it is. what should I do? can some...
[4 replies] Last: well, I download it again, this time it's OK;) thank you! (by Jeff Cheung)
Please help
 
Okay, I am VERY new to this. I am in an intro to computer programming class and we are just starting in C++. I know you may need more info, but you will probabl...
[1 reply] : Sorry, I can't figure out what's wrong with only this information. Ple... (by magicalblender)
Monte Carlo help
 
I am having trouble on one of my problems for my C++ class. The trouble is that I don't really understand how to use random numbers and such. The problem is...
[3 replies] Last: Thanks guys! I managed to figure it out on my own. If anyone wants t... (by forseti42)
question
 
how do you turn a c++ file into a .exe file for people to open?
[2 replies] Last: You can get this shell as well: http://cygwin.com/ I believe by de... (by vince1027)
Debugger
 
Does anyone know a C++ debugger that's explicit? Like the one in Borland C++ 3.1 if you are familiar with it. I need one that can evaluate expressions so i know...
[2 replies] Last: http://sourceware.org/gdb/ (by Hotaru)
help using rand()?! producing 8 everytime?!
 
so i am trying to produce a simple conole game, the high or low game that im sure most of you have seen before. problem is, when i use the rand() function it pr...
[3 replies] Last: Well, this is my understanding of it: No matter how many times you st... (by magicalblender)
Help understanding arrays and how to use in a tic tac toe game?
 
Can someone help me understand how to get a tic tac toe game working? Here is my code so far: #include <iostream> using namespace std; int main () ...
[2 replies] Last: im having problems just like gannon. I changed your code around a bit:... (by kashmoney2006)
by snap
ugly loop, any ideas on optimizing
 
i have this loop in my poker program that I'm writing: int determine_matches(player * the_player, game * the_game, int which_card) { if (determine_two_...
[4 replies] Last: What you should do is to create some symbolic constants, so that the n... (by ropez)
March 2008 Pages: 1... 7891011... 15
  Archived months: [feb2008] [apr2008]

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