General C++ Programming - May 2012 (Page 8)

OpenGL Guide
 
Hello Everyone! I have done a bit of programming in the past and I am interested in making interactive graphic environments. Does anybody know where I can get ...
[2 replies] Last: The book you want is http://amzn.com/0321552628 It isn't too expensive... (by Duthomhas)
by Bouya
Random value
 
Hi I want to generate random values, so i used rand() from <stdlib.h>. The problem that i got every time the same value. i don't knwo what is the problem....
[3 replies] Last: The C++ random library is pretty old now: it first appeared as boost.r... (by Cubbi)
Please help with this code? Really need quick help
 
I am writing a quiz program and I am not doing with the file thing, I am not using a file for questions and answers. So this is the model, the prototype and the...
[9 replies] Last: Okay thanks a lot man, you helped a lot. THANK YOU SO MUCH (by szak1592)
How to do this with char arrays in c++?
 
I have to input a char array and then compare the value with the answers, now I have like 30 questions and I dont want to have 30 char arrays for answers, is th...
[1 reply] : A single array of strings. A map. (by Moschops)
Algorithm Diagrams
 
Recently, I decided take an online tutorial course on C++. Doing the first Lab problems, I realized that it's best to graphically understand the problem by crea...
[1 reply] : you can write a sort of rough code fastly(also called Pseudo code) and... (by SirSmilesaLot)
Problem with arrays
 
Hello everyone, for this program im trying to simply read a text file which contains 12 numbers total. And i must separate each in an even and odd array. So far...
[2 replies] Last: When you write the number to the array you write it to position i. Sho... (by Peter87)
Need Help With This Link Error
 
i'm a beginner at c++ and was trying to fix errors in this script that was released but the creator left the errors on purpose so leeches can't steal it. what h...
[1 reply] : A C++ program starts running at the function named main . You have no... (by Moschops)
understanding recursion (1,2)
 
Hi, so recursion works as all functions where each time we invoke a function, on the stack a dedicated stack frame is available where the next function in line ...
[30 replies] Last: If you want to reverse the content of an array, you need to start with... (by kbw)
I need help understanding this error. (1,2)
 
I am currently on my 6th week of learning C++, and in class, we're learning about how to effectively use the different types of functions to transfer values bet...
[38 replies] Last: @wilson90; read the rest of the thread. We've already switched that ... (by crystalgem)
by Disch
efficiency - private discussion
 
so.... what are we discussing?
[4 replies] Last: Then why is the discussion public? Without a topic, this thread is us... (by manasij7479)
How to create user-defined board size?
 
I am having problems with creating a Connect-4 game where the user defines the height and width of the board. Thus far, I have coded the ability for a user t...
[no replies]
Reading txt File into Linked List Problems [C++], HELP ME PLEASE.. (C++)
 
Greetings to All Si Fu here.. I'm facing problem in reading data from txt file and put them into linked list.. My function for the loading file is : void...
[6 replies] Last: I think nvm ba. my assignment gonna due very soon and i need to procee... (by imationCF)
by CaleyM
Dynamic Object Instancing
 
I'm trying to find a way to allow my program during runtime to create/delete instances of struct types instead of explicitly initializing all instances that mig...
[2 replies] Last: Would this help you solve your problem? http://cplusplus.com/doc/tutor... (by Albatross)
What's a double pointer??? **
 
I have seen such like int** myArray; why does it use a double pointer? what is the reason?
[2 replies] Last: The other option is that it is a reference to a pointer, meaning that ... (by Duthomhas)
Aditional console
 
Again my research has brought me to a certain point, where I can't find any information: I'd like to create an extra console window(and write to,read from,.....
[5 replies] Last: http://www.cplusplus.com/forum/lounge/17371/ Enjoy! (by Duthomhas)
Pointers?
 
I see -> in code all the time. Is it not easier to just avoid them? Wht are the advantagez?
[6 replies] Last: thankyou Moschops. you make more good point. (by Yarlini Amirthanesan)
Include guards
 
What are include guards and how do I use them?
[7 replies] Last: thanyou, this help somewhat. (by Yarlini Amirthanesan)
Dice roll
 
Hi, can someone look at this code and tell me if it matches the requirements. I need to write this program which simulates a game where a player throws 5 dic...
[no replies]
Telnet client "command" control
 
Hi In our project I have to write one telnet client. according to RFC of telnet, in order to connect to telnet server,client has to send some "control command"...
[1 reply] : PuTTY is an open source Telnet client: http://www.chiark.greenend.org.... (by BlackSheep)
C++ program assistance?
 
(a) Greets the user and explains its purpose. (b) Prompts the user to enter an input date from the keyboard. (c) Calculates & displays what is the day number...
[2 replies] Last: Thanks for the reply. I'm learning myself before I go to varsity next... (by Image001)
May 2012 Pages: 1... 678910... 41
  Archived months: [apr2012] [jun2012]

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