Beginners - July 2009 (Page 7)

Find and replace duplicates in an array
 
Here's what I am trying to do. I need to load an array with random integers, however, the numbers...
[7 replies] Last: Bazzy, That worked, you are my new best friend. :-) Thank you f... (by cableguy414)
3 questions?
 
1- How to clear the black console screen? and how can i clear a single line? 2- How to add colours?...
[1 reply] : 1- http://www.cplusplus.com/forum/articles/10515/ 2/3 - use the curse... (by Bazzy)
by kfex
How to read a file again
 
How do i read this file again after it reached the end. The last statement doesn't take the file ...
[1 reply] : after the loop of lines 17-18 the stream won't be good as file.get wou... (by Bazzy)
Problem using 2D arrays (matrix)
 
can someone help me? i have problem in using two dimensional arrays. X = 2 3 4 5 6 ...
[7 replies] Last: use loops to initialize the 2 dimensional arrays You just used lo... (by wmheric)
Compilers?
 
Hey I need to know about compilers. I'm gonna start learning C++ but I dont have any money to spend ...
[2 replies] Last: ty for link Bazzy helped a tonn (by eLing2C)
char getyorn function
 
need help...i have to write a function char getyorn - this function asks the user for a 'y' or an 'n...
[3 replies] Last: http://www.parashift.com/c++-faq-lite/input-output.html#faq-15.4 shoul... (by smilodon)
by wretch
C++ string overloaded for "operator+"
 
http://www.cplusplus.com/reference/string/string/ I was looking at the above reference, and it do...
[3 replies] Last: My test above was indeed done using MinGW. VC++ does complains about ... (by helios)
Stream I/O
 
#include<iostream> #include<cstdlib> #include<iomanip> #include<fstream> #include<string> ...
[17 replies] Last: strtod or atof, it is in cstdlib (by smilodon)
by garcia
need ppl to solve my prob on the space bar and esc hit.
 
wad i need help is that if u press space bar it will stop at the line u r printing and repeat it aga...
[10 replies] Last: http://www.phpbb.com/community/faq.php?mode=bbcode You're not actua... (by helios)
C++ Testing
 
Hey guys only a quick one. Does anyone have any ideas on how to go about testing a single class in t...
[5 replies] Last: Excellent, I shall get cracking thanks alot for your help guys (by DragonKnight)
Establishing size
 
Hello, im new to C++ and still learning C++ basics, and i've come across a lesson that teaches 'Esta...
[3 replies] Last: Thanx, that helped me understand that much better! :) (by XxGunMastaxX)
How do you use five questions in a quiz game for two players
 
#include <iostream> # include <string> # include <fstream> bool validQuestion(char Question1...
[4 replies] Last: Look, put your code in between the [co de] tags. Like this: #incl... (by chrisname)
by Nelo87
string does not name a type
 
I already searched in google on how to fix this problem, but I still get the error. I was using "...
[6 replies] Last: Thank you everybody. I went to sleep early yesterday as I was very ... (by Nelo87)
by Claymz
'operator <<' is ambiguous
 
hi, i get this error: error C2593: 'operator <<' is ambiguous code: #include <iostream> #...
[19 replies] Last: heres the main.cpp, if youll maybe find something that ive made wrong.... (by Claymz)
Code needed plzzz!!!
 
Problem statement: Derive a class from long_int class and add a member function "multiply" in the d...
[3 replies] Last: lol (by Return 0)
been working all day and heres my issue....
 
Ok, been working all day on this. im on my deal function and im getting this same problem over and o...
[5 replies] Last: I dont know much about casino BJ, but i think you need to (except all ... (by johnkravetzki)
Why enum?
 
enum can be used to give a "name" a value. like enum { keyUp, // gives "keyUp" the va...
[5 replies] Last: ohh, it became clear now. Thank you so much. (by NoobsDeSroobs)
whats this error all about?
 
this is somewhat confusign to me. ive made my deck of cards and tried to just run a cout to make sur...
[5 replies] Last: random_shuffle needs random access iterators, and pointers fit the b... (by jsmith)
writing a blackjack program and could use a little assistance...
 
Im working on a program (of which i will post in just a bit), to write blackjack. Im in my first c+...
[1 reply] : (of which i will post in just a bit) don't unless there is a bu... (by smilodon)
July 2009 Pages: 1... 56789... 20
  Archived months: [jun2009] [aug2009]

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