Beginners - February 2010 (Page 20)

stack for Matching <<.. char array??
 
hello i am writing a program for matching << and >> pointers using a stack but somehow need this char < to be distinguished from < (the same character) so they ...
[2 replies] Last: THink i got it now thanks for helping (by code101)
Homework that I am having trouble with
 
abc
[3 replies] Last: What was the point in 1. creating another thread 2. posting the exac... (by chrisname)
by hayksk
The best C++ programming books for beginners
 
Hello. I've recently started studying C++. Could anyone recommend some good C++ books for beginners? I have Stroustrup's "Programming Principles and Practice ...
[5 replies] Last: Thank you, Grey Wolf. Actually I've already started this book. I was ... (by hayksk)
by Jesuss
challange for the bigginers
 
Suppose STACK is allocated N=6 memory cells and initially STACK is empty, or, in other words, TOP = 0.find the output of the following module: 1. Set AAA:=3 an...
[7 replies] Last: @ Jesuss: Hallelujah! You have seen the light. Good job! (by cnoeval)
by Timbo1
String Problems
 
I don't know why this is happening! Please bear with me if I don't get something as I am only 13. #include <iostream> #include <fstream> #include <st...
[7 replies] Last: I have changed some lines(Bold letters) now it might work ofstrea... (by harini1111)
Creating random numbers problem
 
Hi, I'm trying to make a program in c++ that will random 7 numbers every time I open the application.. I'm experiencing some problems. I need the program to m...
[4 replies] Last: thank you for the answer :) (by kiko323)
repeting program from function main
 
I am learning c++ since 6months, so I am an extreme beginner. So please bear with me if I am making a stupid and obvious question here. Also I would like to s...
[1 reply] : First, please edit your post and put [co de] tags around your code. ... (by PanGalactic)
applications blocked by email provider
 
Hi, I'm trying to send some of my sample programs to my aunt, and they get blocked by the email service. Is java the answer to work around this obstacle? th...
[11 replies] Last: nevermind (by foobarbaz)
by replax
Code doesnt store / print rnd values properly
 
Hello, while learning C++, I decided to write a brief lottery programm. The programm takes six digits of data in from the user, then generates six random val...
[2 replies] Last: It looks like you're misunderstanding variable scope. You have a gl... (by Disch)
execute allegro program
 
Hello, I have created an allegro game and i want to give the executable to a friend to play the game. The problem is that my friend has not any c++ /allegro c...
[2 replies] Last: Create a release build of your game. Then go into your games folder an... (by Mythios)
by Roeek9
Question about overloading operators
 
Hi, I want to overload the operator '*', so I will be able to compile these 2 lines: MyClass clss1(1,2), clss2(); clss2 = 0.5 * clss1; My question i...
[3 replies] Last: http://linuxtopia.org/online_books/programming_books/thinking_in_c++/C... (by PanGalactic)
by kgru
Where is error?
 
# include <iostream> using namespace std; class A{ private : int x; public: A():x(0){}; A(const A& oz); //copy constructor A& operator=(const A& ...
[8 replies] Last: Thank you my friends! Code has changed but the idea has not changed.... (by kgru)
by Gray 0
Hello World
 
Hello everyone I'm having a problem with 2 of the questions on one of my assignments. If any one can offer assistance it would be greatly appreciated, my mai...
[4 replies] Last: so same structure just "at" instead of "charAt"? What about the res... (by Gray 0)
graphical programs, applications and books
 
Whats the best way or applicational uses for C++ programmers who need more knowledge an insight of c++ 2d,3d,animation and movie video uses to get proper educat...
[1 reply] : Hello gratrstone, These are some book ideas for game programming, but... (by foobarbaz)
Calculate tip for restaraunt bill and how much each person should pay.
 
I need to write a program that prompts the user for how many people are eating at a restaurant and how much the bill is, and then calculates how much a 16% tip ...
[5 replies] Last: I figured it out. Here it is if anyone would like to see how to do it:... (by WahooMan)
by Joe101
Class Syntax
 
Hi, pulling my hair out trying to see what is wrong with the following files. Just trying to get used to visual C++ . The erorr message is "1str.h(8) : err...
[5 replies] Last: On a side note: You don't need to put 'void' in the parenthesis for... (by Disch)
iterators for use in maps
 
Hi, I RTFM about iterators, could you please tell me the purpose behind: pair<map<Person, string>::iterator, bool> pr = book.insert(entry); //Ad...
[13 replies] Last: I ordered "Thinking in C++: Introduction to Standard C++, Volume On... (by foobarbaz)
tic tac toe (1,2)
 
My first attempt at a tic tac toe game. Is there a way to make this more efficient, mainly the determine winner functions? #include <iostream> #include ...
[20 replies] Last: You could combine all those winner checking functions into one functio... (by kevinkjt2000)
Push in the right direction? Thanks!
 
My assignment is to create a program that asks the user for the number of barrels available, the number of gallons removed, and then to output the number of bar...
[12 replies] Last: The spacer idea is so much better. THANK you so much for all your help... (by littlemissb)
Function prototypes
 
Is it possible to shorten the following code into a function prototype ( ??or class?? ), If so, How would I go about doing that... #include <iostream> #...
[15 replies] Last: Cool. I hope you feel that helped you understand classes a bit. I kn... (by PanGalactic)
February 2010 Pages: 1... 1819202122... 32
  Archived months: [jan2010] [mar2010]

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