Beginners - December 2009 (Page 19)

trouble with classes
 
for some reason im having trouble getting my program to even compile now i will include the errors a...
[5 replies] Last: alright i fixed all the previous probems and have a problem i have nev... (by zachtastic)
Tic-Tac-Toe
 
Hi. I'm a C++ noob. One of the first programs that I made is a tic-tac-toe game complete with an AI ...
[4 replies] Last: Thanks for the reply. I've rewritten my code and it went from 1115 lin... (by Static Electricity)
by luvsom
passing by pointer
 
i have this code that was done using pass by reference but i need to change those parts to pass by p...
[2 replies] Last: got it. thanks for ur help (by luvsom)
Stream vs. Buffer
 
What is the diffence between the two, and what are their purpose?
[6 replies] Last: Thanks, Yeah, I see now, Cplusplus explains it better. Wiki says n... (by ArcherSam)
Inline functions
 
With inline functions, when the function is called from a global perspective. Does the function tran...
[2 replies] Last: Thanks Zhuge, So an inline function is when a function is called, ... (by ArcherSam)
Making words not appear on the screen while the user types them
 
Okay so I am trying to figure out how to take the word that player one enters and make it not shown ...
[7 replies] Last: It's also really annoying to use... I've tried it a few times and coul... (by chrisname)
problem with class templates
 
I recreated my Matrix class using templates. I use class template T so I can parameterize the elemen...
[5 replies] Last: you're right jsmith. That works just fine. Thank you (by joeriMJ)
Binary problem
 
I need to write a program using a binary search to guess a number between 1 and 100. I need to do it...
[7 replies] Last: Ok so I have this now, now how would I call it in main? #include <... (by spazamatic2)
please hellllp !! how to do this program ???
 
The queue element should represent a customer at a bank. You will define the class bankCustomer to i...
[2 replies] Last: http://www.rentacoder.com/RentACoder/DotNet/default.aspx (by Zhuge)
function pointers to other class functions
 
Hey guys, I am a brand new beginner at C++ so please be nice as this stuff is scary! Basically I ...
[3 replies] Last: PS Do you think this is the right way of setting up this problem, I am... (by sruggiero)
by Tafhim
Consecutive function call problem
 
I've defined one function and am taking 2 values off it by calling it 2 times. Like this: count1=...
[3 replies] Last: cout << count1 << endl; is a series of function calls that use the s... (by kbw)
by j3tt
debugging a bonus calculation program
 
something wrong in the "void calcAndDisplayBonus" function but I don't see it. help? //Ch10AppE1...
[1 reply] : enterItems takes salesAmt and rate by value. So it doesn't pass them ... (by kbw)
error deleting file
 
I am writing an assembler for a simulated computer system(H1), that we use in class. The assembler h...
[1 reply] : Have you closed the file before attempting to delete it? (by kbw)
Printing Prime Numbers less than 2000 using an array and for loops
 
I have been searching and searching the forums to a possiable solution for my question but I havent ...
[2 replies] Last: You can look up 'The sieve of Eratosthenes' and work out the the algor... (by closed account z05DSL3A)
I'm confused on where to start.
 
I'm creating an application that can analzye numeric data contained in an single-dimension array o...
[1 reply] : It's just a class. You'll need a main-function which calls the const... (by MaikCAE)
by TBird
Where to go next?
 
I'm quite new to C++. I've been teaching myself how to program using: C++ How To Program 4th ed*. ...
[3 replies] Last: Yeah, I'm using v4 cause it was free. My brother used it in his colle... (by TBird)
test string for integer
 
whats the best way to test a string to see if it is an integer? I can loop through a string and use...
[1 reply] : Here is the absolute best way to do it in C++: #include <boost/l... (by PanGalactic)
item databasing in *.txt
 
hello. i'm having trouble with finding a specific number in text file. my problem is: create a t...
[3 replies] Last: the contents of ITEM_DB.txt is: 101 knife 12 2 3 102 axe 8 22 1 ... (by ragnamanga)
by mtod1
Some example noob code i'm playing with.
 
Hi all. This is my first post. I am completely new to coding and have been messing about with C++...
[5 replies] Last: Here is my current code for users to enter and confirm their username ... (by mtod1)
Problem Learning Classes
 
~ I have been programming with other 'noobish' interpreted languages for a few years now, like J...
[7 replies] Last: Ah, yes, don't forget standard containers (vector, list, deque, map, s... (by tummychow)
December 2009 Pages: 1... 1718192021... 23
  Archived months: [nov2009] [jan2010]

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