Beginners - November 2009 (Page 8)

how to implement the comparator for map
 
I want to employ iterator of a list container as the key field of a map container. I used to believe...
[4 replies] Last: I think OP wants to compare the values referenced by the iterators, no... (by jsmith)
by disini
Income tax program.
 
I need to create a program for calculating the income tax. The requirement are as follows. T...
[3 replies] Last: Thanks joeriMJ, its working perfectly. (by disini)
getting odd answers
 
so i am just writing a program to organize a two dimentional array as a deck of cards then cout a ra...
[1 reply] : your card array doesn't have enough elements for the suit. you only as... (by herbert1910)
Classes?
 
I have a Connect Four project, and I need to be able to access a part of another class within one cl...
[3 replies] Last: try to access board through something like b.board . maybe your com... (by herbert1910)
Turning 4578 into "Four Thousand Five Hundred Seventy Eight"?
 
I want the user to enter a number between 0-9999 and then out put there number as a string that name...
[11 replies] Last: Awesome, glad you figured it out. (by cartpauj)
Console Class; Creating colorful rectangles
 
Alright, so I've worked out how to write my program to create "beautiful" rectangles of various colo...
[4 replies] Last: Ah right. Thank you! My professor warned us about that a long time a g... (by Programmer Will)
Pirority for operators
 
Hey! I'm new to C++ and I need some help on my coding. I have designed a class of vectors (threevect...
[1 reply] : I don't think I get your first question. If you want to keep the user ... (by helios)
Play RAW data with playsound()?
 
Hey! I wanted to ask, is it possible to use PlaySound() function with somehow stored in an integer ...
[14 replies] Last: I've never used Dev C++, so I can't say for sure. Googling seems to... (by Disch)
Distance time1, time2
 
Hello everybody! This is my code which distance time1 and time2. But it doesn't work. error message ...
[1 reply] : time time3; time doesn't have a constructor which takes no arguments... (by Bazzy)
by asdf1
Persistence
 
Hi there... I cannot seem to figure this out. I need to write a function that finds the multiplic...
[5 replies] Last: Thank you so much for the help guys. I'm using Disch's code.. it work... (by asdf1)
drawing a triangle
 
Hey! I'm trying to make a program that would draw a triangle. Heres what i got allready: int cha...
[11 replies] Last: rand()%101 To get "more random" numbers, call srand(time(0)) at th... (by Bazzy)
small program to find biggest number
 
Hello i'm Denis, new to programming and i have a question which i'd be verry gratefull if you help m...
[7 replies] Last: Because i'm learning C++ from 3, 4 days :D Thanks guys for the help (by instruct9r)
Simple Win32 question *argv[]
 
My teacher asked us to create a win32 command line text editor. I have completed the program and it...
[8 replies] Last: See my original post: void GetDataFromStream( istream& stream ) ... (by Disch)
Char array
 
Hey all! I need some help with array of characters (no, i do not need STRINGS) If user types 5, ...
[1 reply] : You need a dynamic char array if you don't want to use strings. I alr... (by Bazzy)
New Function
 
Hello Hello! can you explain me what this function does line by line please Polyline drawFunct...
[4 replies] Last: thank you every body it answers to my questions :) (by fleur1990)
random number function
 
Thanks
[3 replies] Last: now that you have read that and are still saying wtf??? #inclu... (by gcampton)
Arrays and Number Repetition
 
I have an array of 10 digits, need to break up each digit as a separate int and then compare each di...
[6 replies] Last: There are lines outside of the loop (after it) that need to be inside. (by Zhuge)
program that draws a rhombus, or something like it
 
Hey! I need some help to write a program that would draw a rhombus (not exactly). For example-if...
[12 replies] Last: Nvm, Thanks verry much bazzy, i owe you one. No, make it 10. :D (by award982)
Array of chars, wtf?
 
Hey! Could someone help me with an array of characters? I need to make an array of stars (*) that c...
[4 replies] Last: Thanks bazzy, you're amazing! (by award982)
User calling functions in the program
 
I'm making a program to solve graph theory problems and I have certain functions such as addVertex(g...
[1 reply] : You can parse it using stringstreams or some external regular expressi... (by Bazzy)
November 2009 Pages: 1... 678910... 25
  Archived months: [oct2009] [dec2009]

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