Beginners - August 2011 (Page 21)

by heenan
Need help dont know what is wrong
 
I keep on getting an error in the last part of my int main portion of my program and i cannot figur out what is wrong i will post my code here but what i am try...
[4 replies] Last: Thanks alot again (by heenan)
Pong Help :)
 
Hello! I need help with this block of code. First, i'm sorry if it's hard to read. I write messy code. So bare with me! I need help so when the box goes to t...
[no replies]
by Locke
Passing arguments to functions using pointers and reference
 
Hello, cpp forum members and community. I am a new member and this will be my first post, of many, hopefully (and not all just about asking for advice, like thi...
[4 replies] Last: Thank you, Framework, for taking the time to explain and for giving me... (by Locke)
error LNK2019: unresolved external symbol "
 
Hi, I have got a problem on my hand. #ifndef ELEMENTAL_H #define ELEMENTAL_H #include "SDL_init.h" #include "Sprite.h" class Elemental: public Gam...
[12 replies] Last: okey thanks =) (by sandmaster)
Creating Forms
 
Hey guys, I created a form (Form1.h) in Visual C++ 2010. Now I want to create another form (Form2.h) but I don't know how to do the same. Help please !
[1 reply] : If it's the same as for C#, it's 1. Right click in sollution explorer.... (by GisleAune)
by Tom80
correct class member initialisation
 
Hi all, First post here, thanks for reading ! Coming from python, I am trying to get my head around the usage of "new", specifically in relation to object...
[5 replies] Last: @jsmith Thanks for the info I was aware that Car my_car = 50; w... (by andywestken)
how do I use Union to accomplish this?
 
okay recently I started programming in C++ I am fairly new but I have taken to it rather well in my opinion (though I do dislike the cout and cin thing the BASI...
[4 replies] Last: then do you have any tips on how to get it working correctly in Micros... (by DarthWho)
by sf123
How to code using for or while?
 
Hi! Do you have any idea how to code the program in such that the user will enter a value and asterisks will display example: Enter a value: 6 * ** *** **** *...
[9 replies] Last: @TheNoobie there's a reason I didn't write the code for him. First, b... (by eidge)
Bignum Base/Radix
 
Hello forum! I recently made a bignum class using base 10 (lol). I stored the digits in a vector of ints. I knew at the time this was a very memory inefficie...
[1 reply] : A 32-bit type makes sense for a 32-bit architecture. Could you code it... (by andywestken)
Problem using boost thread library
 
I am trying to execute function from class in other thread, but I get error: 'CFTP::_getfile': function call missing argument list; use '&CFTP::_getfile' to c...
[4 replies] Last: thank you. (by Scottas)
"Programming Principles and Practices" errors
 
I have a pretty big problem with Chapter 12 of "Programming Principles and Practices". Well, in that chapter he introduces graphics. He uses FLTK, which i have ...
[7 replies] Last: Have you downloaded the zip file with all the source for the chapters ... (by andywestken)
Error in winbase.h
 
#include <iostream> //the following line is necessary for the // GetConsoleWindow() function to work! //it basically says that you are running this // ...
[6 replies] Last: ---[Content Revoked]--- This works perfectly fine. You're SDK is clea... (by closed account zb0S216C)
Problem with Compiler
 
Sometimes MS Visual C++ 2010 stops compiling, i.e. the Debug option in the menubar cannot be selected, nor does F5 work. Help please?
[1 reply] : Try following these instructions: http://social.msdn.microsoft.com/Fo... (by closed account zb0S216C)
by MH4
Sorting out the numbers in descending order
 
#include <iostream> using namepace std; void main (void){ int num1, num2, num3; cout << "Enter 3 numbers: " << endl; cin >> num1 >> num2 >> num3; ...
[6 replies] Last: oh wait nevermind i found my error and fixed it already thx (by MH4)
class and operator overloading woes
 
I am taking programming 2 online, and I seemed to do pretty well in programming 1 but I am really struggling with classes and operator overloading. I am using ...
[3 replies] Last: THANK YOU! It's getting past those error messages now. Hopefully I w... (by captdrizzle)
Arrays and Objects
 
Hey guys, I recently began developing a cricket simulator game in C++. I created many objects for each player, but now I want to assign a Bowler ID to each obj...
[4 replies] Last: Well I haven't declared the Over and Bowler array yet ..... If only e... (by tejas1995)
class and objects general question
 
so i figured out how to make a class and object of that class, but when i try to make a version of my own...all i think is that it seems easier to just use regu...
[6 replies] Last: First of all I am also new so I might not be the right person to ask s... (by TheMassiveChipmunk)
constructor problem
 
what is wrong with line 11 #include <iostream> using namespace std; class warrior { public: int age; void health(); void speed(); void attack(...
[2 replies] Last: thanks thats weird cuz the tutorial showed that you have to be able to... (by metulburr)
Help with code from book!
 
Hello I'm trying to teach myself c++ using this book, but when I type in the code sometimes I get errors. The book came with a cd with all the code answers on i...
[5 replies] Last: Maese, his prototype was perfectly fine. It doesn't matter if the vari... (by TheNoobie)
When Should I Start Learning GUI Programming?
 
Hello, all. I've been programming for about three months now. I spent my first month-and-a-half learning C++ and JavaScript. JS lightly introduced me to OOP, s...
[7 replies] Last: Wasn't C++ designed for the console? I remember reading somewhere (I... (by Danny Toledo)
August 2011 Pages: 1... 1920212223... 39
  Archived months: [jul2011] [sep2011]

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