Beginners - June 2008

Random Number Game (The random part)
 
Hey! New to the forums here and new to C++ in general. I am trying to make a random number game and I need some help. :\ I need to make the random numbers be be...
[6 replies] Last: >> Did you add the parenthesis after the rand? "rand()" Ahh thanks,... (by CheesyBeefy)
when do destructors get called
 
In the program below I've inserted some output to try and help me follow the program execution. I don't understand what points in the program are calling the de...
[2 replies] Last: Thanks. I did see a difference. Each time the call was made to add ... (by justlearning56)
quicksort
 
typedef struct Emp { unsigned char lname[MaxName + 1]; /* + 1 for '\0' */ unsigned char fname[MaxName + 1]; unsigned int id; unsigned char dep...
[2 replies] Last: Zaita, I figured so, but wanted to be extra sure. Thanks for the in... (by ladesidude)
i need someone to solve this
 
hey can someone tell me how to create this its the game of gdk thegamecreators it says all this but it confuses me: // whenever using Dark GDK you must en...
[1 reply] : http://www.cplusplus.com/forum/articles/1295/ (by Zaita)
How to write plain english algos for this?
 
1. Write the algorithm for the array implementation of the following for simple lists. Assume that the maximum size of the list is 25 * ClearList ...
[2 replies] Last: http://www.cplusplus.com/forum/articles/1295/ (by Zaita)
by joros
I can't close the file eventhough I press Stop build
 
I have compile my work several times until I can't compile anymore. I clicked the stop build in BUILD menu and try to close the file but it didn't close. It a...
[1 reply] : Restart your computer. And next time: http://www.cplusplus.com/foru... (by Zaita)
integer/float input
 
I know I am overlooking something obvious, but I need to read from a binary file into integer and float variables. .read of course takes strings and I cannot ge...
[5 replies] Last: You should take a look through this thread http://www.cplusplus.com/f... (by Duthomhas)
I am new to c++ world.Have a question to all of you.....
 
hello friends I am basically an embedded systems engineer and wish to know the object oriented programming.In this regard i wish to know whether the tutorial a...
[3 replies] Last: I've been using Black Book C++ and I like it a lot. And if don't under... (by mikeb570)
detecting the EnterKey press with cin
 
hi i am trying to detect the newline key(ENTERKEY) press.please point out the error in the foll pgm. int main() { while (1) { int a; cin>>a;...
[5 replies] Last: His program doesn't work (and can't, to detect ENTER). (by Duthomhas)
2D Arrays C
 
typedef struct Emp { unsigned char lastname ; unsigned char firstname ; unsigned int id; unsigned char dept; bool marri...
[2 replies] Last: @Duoas, I knew it was a stupid question, but thanks for easing me. ... (by ladesidude)
Stupid Question
 
For example class Deck { public: struct CardStructure { string letter; int value; }Cards , temp...
[2 replies] Last: Thank you for your idea that's what I wound up doing. It's working wel... (by mikeb570)
Compiles but seems like assignment isn't registering
 
This is about my blackjack game again. I'm trying to make it completely object oriented from what I've already had. So this is what I have. MyCards.GetCar...
[2 replies] Last: Ahhh I see. Thank you. I'm typing on my Ps3 right so I'll add more la... (by mikeb570)
System Tool
 
Right im trying to make a an programme that tells you system stuff like how fast your internest running, How much memory you have used and how much you have fre...
[17 replies] Last: @Duoas: Hmmm I knew that lol, bad day I guess. I hate Mondays =\ (by Zaita)
i need to get a compiler but...
 
cause there are compilers like eclipse, borland etc... but the download is too large i can download up to 30mb or near cause internet is too slow or mayby fast ...
[3 replies] Last: Dev-C++. http://www.bloodshed.net/devcpp.html 13mbs, Includes IDE and... (by Zaita)
Assembly programming
 
If I have some questions about assembly programming, where do I post?
[12 replies] Last: ladesidude: It's a bit of a read, but get ahold of the book/e-book cal... (by Zaita)
Im going to be studying C++ in sept and I want to start with a bit of knowledge
 
Hi there, Ive just finished and passed a level three National Award where I leant about Visual BAsic 6.0 I made two programs but only managed to complete one f...
[1 reply] : http://www.cplusplus.com/doc/tutorial/ (by Zaita)
windows forms and C#?
 
I keep looking for tutorials on how to make a windows form application in c++, but all I find are tutorials on how to make it in C#. Why are there tutorials for...
[6 replies] Last: @Grey Wolf. I agree with your Sidebar, If I have to do anything that i... (by Zaita)
Buttons and Graphics
 
Im thinking off trying to add some stuff to my project i would like to add some graphics and some buttons whats the best update or whatever call it for that??? ...
[15 replies] Last: All compilers have OpenGL support. You don't need additional libraries... (by Zaita)
my hello world program closes right after it opens
 
hi i am new to c++ and i just installed it yesterday but i did not get much time to use it.i just put a hello world program in it with dev c++ but once i starte...
[10 replies] Last: @ matanuragi No one here is so stupid that you have to repeat yourse... (by Duthomhas)
by ebump
pointer
 
could someone please explain to me what is pointer and how to use it???perhaps with some simple examples. thankz..
[2 replies] Last: Pointers are aptly named: they "point" to locations in memory. Think o... (by matanuragi)
June 2008 Pages: 123... 13
  Archived months: [may2008] [jul2008]

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