Beginners - December 2009 (Page 15)

adding values returned from functions
 
I am trying to create a series of fuctions for the 4 weeks in a month that will return the average l...
[1 reply] : int week1 = calculate_week_one(); int total = week1 + calculate_we... (by Disch)
extracting email addresses from text files
 
Im trying to figure out how to filter out emails from a form. Its working to a degree in that if th...
[no replies]
by btripp
Linked List Copy Constructor troubles.
 
Hey, Im working on adding some operators to my linked list class. I did the += operator and works...
[5 replies] Last: good idea. I will do that. Thanks alot (by btripp)
delete a char *
 
I have a class "Meeting" with two data members, one is of type "Date" which I defined myself,the oth...
[9 replies] Last: hm nice, didn't see that before. Thanks for the tip. (by joeriMJ)
by Jynks
Problem with user input....
 
Hi.. I ma just starting to learn programming in my spare time as a hobby kind of thing.. so I do not...
[2 replies] Last: ok thanks... I think i got it working now... . . . #include <iostr... (by Jynks)
indentation
 
How should this be properly idented? #include <iostream.h> #include<conio.h> void myFunction(...
[2 replies] Last: And also, conio is unreliable and poor style. See the articles for hel... (by tummychow)
American Roulette
 
Okay I'm doing a roulette assignment for my C++ class. Anyhow I'm in the process of building my menu...
[1 reply] : PROTIP: If you find yourself declaring numbered variables, it's time t... (by helios)
Accessing the hardware
 
Hi, I'm new in programming and I'm intersted in accessing the hardware of my computer like the...
[13 replies] Last: @kbw: That link is the coolest thing ever. Total WIN ! :D (by kevinchkin)
What is wrong with this code.
 
Its purpose is to read the contents of p6.txt and print them on screen. However, nothing prints when...
[5 replies] Last: I do apologize for all the questions, but can i use getline() to count... (by spyke100)
Fibonacci
 
My partner and I is assigned to tell about the Fibonacci Program. We don't really know about it. So...
[5 replies] Last: Wicked easy with the use of recursion. Back in my intro classes, I go... (by brightmatter)
QT on Windows not opening cmd
 
I am running QT Creator, Ver. 2009.04, on a Windows machine and I am trying to have QT run a command...
[3 replies] Last: I think it should be used only for the Qt part, for anything else use ... (by Bazzy)
Question
 
I dont know how to make this program a.write a program that implements the definition of the functi...
[11 replies] Last: Something tells me he need's two starting points: http://www.cplusplus... (by mcleano)
chess implementation: removing a piece from the board
 
I have an exercise where I need to implement the basics for a chess game. It's not needed to have a...
[2 replies] Last: Is this what you mean with a 2D array of pointers to Pions ? Pion * ... (by joeriMJ)
by btripp
Trying to make a function to put a linked list into an array
 
Hey guys. I have a final wednesday and linked lists are on the test. So I am just making up thing...
[8 replies] Last: See the insertion sort Wikipedia article. (by helios)
Reading in a choice and dividing that by distance? What's wrong with this code
 
The output should be: When a user enters 5, the time traveled is: .0045 #include <iostream> #...
[6 replies] Last: 2 questions: are the cases, case sensitive? What if they spell AIR ... (by ashley19)
Reading only numbers from a file
 
I have a file containing multiple lines. Numbers on each line are separated by "," Each line is in ...
[1 reply] : Look at functions http://www.cplusplus.com/reference/clibrary/cstdli... (by melkiy)
First time making my own Class
 
I have to make a class called Car with the member variables yearModel make and speed My construct...
[9 replies] Last: My mistake. Completely valid arguement. (by Umz)
How do you memcpy a custom class? (1,2)
 
My teacher wants me to use memcpy to copy one of three derived classes. The 3 classes differ in ...
[20 replies] Last: That is not at all what the prof is asking for. He wants the space fo... (by PanGalactic)
How do they work: String streams
 
Hi, I've been breaking my head over this for quite a while now and can't figure out how and even ...
[4 replies] Last: You should read to a string, create a new stringstream and read the in... (by Bazzy)
by Regine
please give me some ideas or more ideas to start this machine problem
 
PROBLEM DESCRIPTION: Write a program that will simulate an ATM machine where you can access differ...
[5 replies] Last: Give me the code of Problem Description? (by george23187)
December 2009 Pages: 1... 1314151617... 23
  Archived months: [nov2009] [jan2010]

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