Beginners - November 2012 (Page 41)

ifstram::read won't work the second time
 
I'll just copy - paste my code so that is more clear: here's data.txt: Hello World! I'm a file. ...
[3 replies] Last: I overlooked that there might be an " end of file " after the first ti... (by Chervil)
simple java program
 
class room { float l,b; void getdata(float a, float c) { ...
[3 replies] Last: In C++, you can append a f to the number to force it to being a float,... (by TheIdeasMan)
Helllpp!
 
Im in a beginners course of programming for engineers and I am so lost. My teacher doesn't explain p...
[16 replies] Last: Regarding the problem I mentioned earlier, with this code: while(... (by Chervil)
by dioing
didn't find problem!!!
 
Hi , I'm a beggginer in c++ and i didn't find what a problem from this while (n < r] { ...
[4 replies] Last: #include <iostream> #include <string> using namespace std; string ... (by dioing)
Simplified Mastermind Game
 
I'm trying to mimic the Mastermind Game. This code generates 3 letters A-G and the objective is for ...
[3 replies] Last: use a variable to check wether to quit or go on. read the users input ... (by Darkmaster)
Need to chop code into functions
 
So I wrote this code that prompts users to create a .txt file that includes an array for a city popu...
[3 replies] Last: zhuge already said it, functions are used to do certain tasks. this g... (by Darkmaster)
Memory deallocation, am I doing it right?
 
Hello all, I've been in the programming world for just few years, and I've been using Java for th...
[8 replies] Last: What I've learned is that it's better to always separate declaration ... (by Catfish2)
by su li
function in array...
 
.i got a problem in running this pgrm.supposely this coding is to print the output of random frequen...
[2 replies] Last: thank you for your explaination...but sorry,,i don't really get your p... (by su li)
Help with arrays
 
Hello, this is my first time using a forum and I am very rusty with C++ so forgive any stupid questi...
[4 replies] Last: How do I add tags? Follow the link above. When you post something yo... (by coder777)
inheritance problem
 
im asked to create a class and have it be publicly inherited by the string class. The way I have tho...
[3 replies] Last: Do what I said: overwrite the constructor and the operator=(). For C s... (by coder777)
Dynamic Arrays
 
Hello, I'm working on a program to practice dynamic arrays. What I'm trying to do is have the use...
[2 replies] Last: You also don't delete Dynarray after you output it at 60-63. Also, th... (by Zhuge)
About keyboard being pressed
 
Umm. I don't really know how to explain this, but what is the function that enables a condition to ...
[1 reply] : @indojo Look here for a small program I showed someone on using the a... (by whitenite1)
Clarify rand()
 
I am using the rand() function, but I need to create a range. Can someone clarify ranges? #i...
[1 reply] : http://www.cplusplus.com/reference/clibrary/cstdlib/rand/ Firstly, yo... (by Episteme)
Can we make these 2 function shorter?
 
Difference between these 2 function is '>' for finding max value and '>' for finding min value. I w...
[7 replies] Last: Anybody? (by anchanfx)
infix and postfix homework, stumped
 
Hello! As the title suggests, I am attempting to write a program that takes a infix equation in stri...
[6 replies] Last: Looks like i'm trying to continue pulling terms from the input even wh... (by mistabob)
Isdigit
 
I need your help.. really.. please.. I want to create a class which allows only digits to be sto...
[4 replies] Last: class DigitString: public WCS_String { /* ... */ }; Assuming that ... (by JLBorges)
Midterm reviewin'
 
So, I hope this post topic will be active to help me prep for Thursday's midterm...I am fully aware ...
[15 replies] Last: OOOH i see...I should have had column a constant value and summed the ... (by ThirdAge)
About animation
 
Hello guys. I've just registered to this forum. And I need a bit of help, or at least some knowledge...
[2 replies] Last: Thanks for your reply. I appreciate it, and it seems I'm getting throu... (by indojo24)
Need help on some homework!
 
Hi there! I am in need of some assistance on a homework problem. I am writing some code that involv...
[11 replies] Last: Well I followed your advice, added the virtual functions as you said a... (by Merriak)
expression must have bool type
 
I have this error that I cannot fix. I looked it up online but nothing is helping. go_on after the w...
[1 reply] : You are doing an assignment (=) inside the while loop condition. I sus... (by Zhuge)
November 2012 Pages: 1... 3940414243... 75
  Archived months: [oct2012] [dec2012]

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