Beginners - September 2010 (Page 32)

how to give numbers to the lines
 
i want to give numbers to the lines of the end result but it only prints out 1 to every line. kindly help . #include <iostream> using namespace std; int ...
[4 replies] Last: finally i got it solved int main() { double m; double f; int i... (by chutzpah)
by bmos31
decimal to binary conversion as a c-string (made simple?)
 
I already found some help with decimal to binary convdersion, but much of what I found didn't pertain completely to what I need. The question and my code(not...
[1 reply] : This line does nothing other than increment the variable i, whose valu... (by jsmith)
cout is ambigous??
 
#include "Library.h" using namespace std; void ListMonsters(MONSTER* list,int count); void AttackMonster(PLAYER* player,MONSTER* monster); bool Battl...
[9 replies] Last: that seemed to fix the problem thanks for all your help i appreciate... (by L E G I O N)
Downloading and Installing FLTK for MSVS
 
C++ Users, I've only recently been introduced into C++, about a month ago, and I've had a little go with some books and internet threads to help me get start...
[10 replies] Last: This might be information overload, but I've just opened the "README" ... (by New User 001)
Characters
 
I am making a simple black jack game just A12345678910JQKA (1-14) using srand((unsigned)time(0)); randomNumberadd = 1 + rand()...
[2 replies] Last: I am just learning C++ and I may be overly focused on this topic becau... (by nathan10)
Casting base class pointer to child class to extend functionality?
 
I have a question, maybe stupid. Is it safe to assume that i can call a child class method on a base class (having casted it's pointer), if my child class only...
[3 replies] Last: The problem is when it tries to do a function lookup for the object. E... (by spaggy)
counting the same type of info and return value.
 
Hi all I am new to C++ and am having problem on some questions. Please be patient with me and pardon me if I am not clear enough as I am very new to C++ an...
[1 reply] : I think you're looping on the wrong thing. You should be looping throu... (by spaggy)
Pointers & dynamic variables. Why does this work?
 
Hello, Quick intro: I'm a professional front-end web developer & graphic designer, with some experience with Java. I am trying to learn C++ just for a hobby....
[4 replies] Last: [quote=squashedMangoes]I wonder if there is someway of setting GCC (th... (by m4ster r0shi)
by yts
colour changing in command prompt
 
currently i m writing a c++ code gfor a game.My screen(50X20) is black when the game is running.Now i wan there is a small box(10x10,red colour)comes out in the...
[no replies]
how strcat works
 
This doesn't work char* greetings = ""; strcat (greetings,"hello"); strcat (greetings," world"); strcat (greetings,"!"); ...
[1 reply] : Take a look at the example here -> http://cplusplus.com/reference/clib... (by m4ster r0shi)
what are the colons for?
 
Being very new to C++, I am rather confused as to when the double colon (::) qualifiers need to be used. Sometimes objects are referred to via the dotted notati...
[2 replies] Last: when the colons need to be used and why? It works within class me... (by EverBeginner)
Game programming recruiting (1,2,3)
 
hay guys, im looking for people who r novoices to programming or c++ itself. We could work together on route to becoming novoice game programers, and make a sam...
[53 replies] Last: I would love to be a part of this, I'll send you my email. (by JonFE)
by retype
Declaring Intergers
 
Hi, im new to the fourms and to C++ programming. I am quick learning and right now am working on a project for the fun of it. It is a blackjack Program. Anyways...
[5 replies] Last: Code tags are explained here: http://www.cplusplus.com/forum/articles/... (by Galik)
by retype
comparing values
 
This is just a clarification question.... as im extreemly anal with fixing my work and making it neat and having no loose ends. I just upgraded my software t...
[1 reply] : comparing values has no effect unless you do something with the return... (by Disch)
by wtf
Volatile Data structures for sranding
 
What other data structures easily obtainable other than MEMORYSTATUS can be used for seeding rand with? I have already used dwAvailPhys and some of the oth...
[7 replies] Last: #include <ctime> srand((unsigned)clock()); ... (by LB)
September 2010 Pages: 1... 303132
  Archived months: [aug2010] [oct2010]

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