
please wait
by detroit
what is the difference
|
Hi everyone, What is the diference between the two codes.(I think they are correct)? // this is what my class looks like template<typename TYPE> cla... |
Feb 6, 2012 at 9:19am
[2 replies] Last: The first one obviously manipulates the content of the class (I guess ... (by coder777)
|
Guessing number game C++ |
I need to make a program. I need the number sets generated using loops. The user answer is either "yes" or "no" (indicating whether or not the secret number is ... |
Feb 6, 2012 at 6:21am
[1 reply] : I need something like this... http://pastehtml.com/view/bmiy20hiy.htm... (by closed account ECGNwA7f)
|
by PL285
HELP Please! What am I doing Wrong??
|
Hello, this program is supposed to take the user's "desired car" input (model,mileage and price) and compare it to cars in an inventory file (current_inventory)... |
Feb 6, 2012 at 5:25am
[2 replies] Last: I am trying to make my function get_next_auto to run the function comp... (by PL285)
|
by kdmpenguin
Car
|
Okay, here's a program i made and I know it has 2 errors at the bottom. with the accelerate and brake. But what i need it to do is the accelerate function shoul... |
Feb 6, 2012 at 4:57am
[9 replies] Last: Not quite. [quote=fun2code] In a for loop then, you want to do the fo... (by closed account D80DSL3A)
|
by artiem24
class programming
|
Hello everyone I had a question and I'm stumped. This is a question I need help on and so far what i have down i'm getting errors. Design a class for a widg... |
Feb 6, 2012 at 4:38am
[4 replies] Last: This is the hardest part about learning to program, figuring out the e... (by biaspoint)
|
by sushantmagu
Need help
|
I just started with c++...i know the basics and stuff but all these posts seem like Greek to me :P could u suggest a decent book to learn c++,available in Ind... |
Feb 6, 2012 at 4:28am
[1 reply] : Some online tutorials http://www.cplusplus.com/doc/tutorial/ http://ww... (by biaspoint)
|
by Asuzu
Simple Code Error
|
Hey guys Im working through a simple if else problem and it is not recognizing my "else" lines...any assistance appreciated! #include <iostream> using names... |
Feb 6, 2012 at 4:11am
[2 replies] Last: { excess=max_capacity-attending; cout<<"It is legal to hold the meeti... (by biaspoint)
|
by Canvas
SDL linked...but erros?
|
Hey guys, ive just followed LazyFoo's tutorial on how to link SDL with visual studios 2010 express C++, Now i have it worked on my home computer which is 64bit,... |
Feb 6, 2012 at 2:25am
[1 reply] : "unresolved external symbol" means it can't find the function bodies, ... (by Disch)
|
by jwroblewski
Three Pointers and One Piece of Memory
|
I posted this previously but accidentally deleted it. Im working through a book exercise that reads this, "using one piece of memory. store a long integer, four... |
Feb 6, 2012 at 12:41am
[6 replies] Last: Thanks Moschops. Is this where a person might use a void*? Because I d... (by jwroblewski)
|
by osroja889
I don't know what is wrong with my program :(
|
//I'm trying to write a program that uses linear search to see if an entered winning 5-digit lottery number matches the number on any of the player’s tickets(... |
Feb 5, 2012 at 11:59pm
[4 replies] Last: Is it really impossible to read? Yes. It is now obvious why it's not... (by kbw)
|
by subjugater
when should I use "size_type" instead of "int"?
|
When should I use "size_type" instead of "int" to claim the type of a variable? Similarly, should I write for(vector<int>::iterator i=vec.begin(); i!=vec.en... |
Feb 5, 2012 at 11:54pm
[5 replies] Last: Still good to have a good understanding of the types and not just blin... (by Peter87)
|
by znerich
Convert string to Uppercase
|
So I do know about toupper function and using it as a loop to convert the a lowercase string into uppercase. However, this is not what I require for my program.... |
Feb 5, 2012 at 11:31pm
[7 replies] Last: If you are looking to make sure all user input in an interactive conso... (by Duthomhas)
|
by Yellowhottub
Reading punctuation as spaces.
|
This segment is supposed to read in a single word and is working properly with one minor failure. when punctuation is introduced instead of ignoring it is readi... |
Feb 5, 2012 at 11:26pm
[1 reply] : It looks like it would read the punctuation and then break out of the ... (by histrungalot)
|
by Dasat
Reading of text
|
Please i need help with a work i'm doing, i'm just a beginner in C++. What i want to do is i have some information integers to be precised in a text file and i ... |
Feb 5, 2012 at 10:44pm
[8 replies] Last: @Sarhat: 1. Use code tags. http://cplusplus.com/articles/z13hAqkS/ ... (by webJose)
|
by NGambit
Virtual destructor confusion
|
Hi, Consider the following snippet: class Base{ //some code here }; class Derived: public Base{ //some code here }; int main(){ Derived cDer... |
Feb 5, 2012 at 10:40pm
[4 replies] Last: Thanks Peter87. (by NGambit)
|
by septicx
New programmer requires help with linker error.
|
Hey im stuck with what i think is a linker error i cant seem to get rid of on a uni project any help you guys could give would be appreciated my code follows: ... |
Feb 5, 2012 at 10:21pm
[5 replies] Last: Try ./Playing_card_test (by Moschops)
|
File reading/writing |
Hey everyone! I have made a small and very simple console game with C++, but now I want it to save the score to a .txt file. That's not so hard, but when I w... |
Feb 5, 2012 at 10:00pm
[7 replies] Last: Aaahh now I see :) Haha good point, thanks alot guys! (by reiniersanders1993)
|
by blueeyedlion
How do I measure time accurately and use random numbers?
|
I'm in the process of making a game that needs rather accurate time measurement, but I don't know how to measure time. I also need some random numbers, but I d... |
Feb 5, 2012 at 9:13pm
[7 replies] Last: Why does my code not display decimals when run? (by blueeyedlion)
|
by Cole99
Console Ideas
|
Any good Console application ideas? I use Code::Blocks so all I can make are applications in the console. |
Feb 5, 2012 at 8:46pm
[2 replies] Last: Code::Blocks doesn't restrict you to the console. You can use Code::Bl... (by Peter87)
|
by beginner123
NEED HELP WITH HASH TABLES (URGENT)
|
I need to write a menu controlled program using classes and arrays and integer data to 1) create a hash table (i.e. mark all the elements in the table as "EMP... |
Feb 5, 2012 at 8:19pm
[6 replies] Last: Line 18-19 in exType.h is wrong. Those function declarations should be... (by Peter87)
|