Beginners - May 2011 (Page 4)

How do I know what to write (1,2)
 
Okay for a long time now, I've wondered when it comes down to righting a programme, HOW DO I KNOW WH...
[20 replies] Last: Wanted to say thanks to all the helpful replies, I will keep at it and... (by PraxxtorCruel)
String array length
 
Is there a way that I can determine the length of a string array? I ask because I want to have a fun...
[8 replies] Last: thanks a bunch. (by smkelsey)
Arrays
 
im having trouble with arrays. I kniw how to declare them and add them in at one particular time. Bu...
[3 replies] Last: You have several problems here. #1: case 1: for (i = 0; i < NU... (by Disch)
random shuffle deck
 
I am working on a card game. I have the program able to shuffle the deck 52 cards in an array, but t...
[5 replies] Last: I would define a card as: enum Suits { Hearts, Clubs, Sp... (by webJose)
What does this declaration mean?
 
int const* const* const* i; or int const* const* i;
[1 reply] : The trick is to read pointer declarations backwards, and say '*' as "p... (by Disch)
by ivanho
C help
 
I need help about this simple task. #include<cstdio> #include<cstdlib> int main(void) { f...
[16 replies] Last: Thank you very much Moschops on this post.Now I know different (by ivanho)
Binary search with array and infile
 
I can not figure out how to do a binary search when the infile is loaded into a struct in array. I ...
[1 reply] : code below get 4 numbers and insert it in array than geting numbers fr... (by Anon777)
Project skipping cin
 
I am trying to make a questionnaire program. It works the first time but when I try to make it repe...
[7 replies] Last: Thank you, it works much better now. (by GRex2595)
Strings, getline, strcpy I don't understand
 
I've read so many posts etc about this stuff and really don't get it ifstream myfile("do.txt")...
[14 replies] Last: 1. 'ss' is just a variable. Functions almost always have parameter lis... (by LB)
by dz1969
input one digit, output as five digits.
 
I'm trying to figure out how to input a number and make sure it ouputs as five digits. For example, ...
[8 replies] Last: I would fill the string with 0's initially then user push_back: http:/... (by Computergeek01)
Need help!
 
Hello everyone, I need to make a program for school, but I'm just without ideas, I'm trying now for ...
[1 reply] : File opening and reading: http://cplusplus.com/reference/iostream/fstr... (by Moschops)
C++ task solving
 
Define a class Deque_double that represents a deque of doubles by keeping its elements in a dynamic...
[1 reply] : And what is your question exactly? What code have you made? Implem... (by ascii)
"The C++ Standard Library: A Tutorial and Reference
 
Hi. I'm wondering if anyone can tell me if this book "The C++ Standard Library : Tutorial and Refe...
[4 replies] Last: +1 Moschops (by jsmith)
by llVIU
getline skips
 
<SOLVED> I'm using 2x getline, but for some reason it skips over the first one and just adds the ...
[2 replies] Last: @ OP: About Line 62, why would you do something like that? About y... (by Computergeek01)
do/while loop - infinite
 
Ok, I really need a fresh set of eyes on this. I've been trying to figure it out for too long now. ...
[4 replies] Last: Maybe you should start debugging, rather than just reading the code. T... (by Moschops)
by Iskro
Please help fix arrays and structures
 
Hello everyone! This is a great forum, and it's helped me often. However, this time I have a problem...
[4 replies] Last: You're mixing strings. You're using C styles strings (a char array) a... (by kbw)
Sorting, Help!
 
I'm going to get to the point. I am having problems understanding how to sort. Please explain how do...
[1 reply] : Well, you can't sort them if you don't store them anywhere.. Generall... (by hamsterman)
by Ali89
Problems with declaration of a data structure as a class member data
 
Hello, I have downloaded a header file from the internet which implements a data structure. The pro...
[1 reply] : So your compiler doesn't like this? filter myFilter; That's st... (by shacktar)
by Ttown
counting number of lines
 
I have a file that contains thousands of numeric entries sorted into four columns. The structure of ...
[2 replies] Last: Great! Thanks a lot. Code works as I intended. (by Ttown)
Why can I not concatenate this cin statement?
 
Why does this statement not work: cin.get().getline(numberOne->name, 100); yet something like ...
[2 replies] Last: Why are you trying to do something weird like that anyway? Just use tw... (by Duthomhas)
May 2011 Pages: 123456... 48
  Archived months: [apr2011] [jun2011]

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