Beginners - August 2011 (Page 13)

Arguments and Parameters
 
What is difference between arguments and parameters of function. I want to know detail.
[1 reply] : http://en.wikipedia.org/wiki/Argument_(computer_science) (by andywestken)
detect cin.fail with two inputs
 
I have a function that detects cin.fail.. int n; while(true){ cin >> n; i...
[2 replies] Last: Solved by using my own method. Topic closed, thanks for reply. (by deathmoon)
get two input at the same time and check for cin.fail()
 
is there any way to detect cin.fail for 2 inputs? while(true) { cin >> row...
[10 replies] Last: Problem solved by using my own method. Thanks for the replies. (by deathmoon)
Memory Leak
 
I have read in a couple of places that pointers must be used with care, else they cause a memory lea...
[3 replies] Last: If you want an easy solution to this problem, you can bind pointers to... (by anonymous23323124)
Coordinates from array won't show up on a graph
 
Hello everyone, I'm new here but have been stuck on a problem for two days now. I wrote a small prog...
[6 replies] Last: And you could tweak the loop which searches for points so it bails out... (by andywestken)
by eaxx
How to create a Managed Class
 
I read on google(i couldnt find anything in the documentation), that to crate a manage class you mus...
[3 replies] Last: Apparently, that's all you need to do: http://www.functionx.com/vcnet... (by shacktar)
by sf123
The use of fprintf?
 
Hi! Can I use fprintf to print text from a .txt file? What I mean is I want to print what the .t...
[2 replies] Last: i personally think that's the luser way.... you might want to invest y... (by brokenbot)
Doubt in Inheritance
 
I was having a little doubt in Inheritance. Say I have this: class A { protected: int ...
[4 replies] Last: Ok! That explains both of them. Thanks a lot . . . (by Nisheeth)
Program Not responding
 
int main() { int x; char* cp ; for (x=0; x< REQUESTED_BLOCKS; x++) { cp = (char*) malloc...
[5 replies] Last: Please (oh, pretty please) use [co de] tags. You are using Conio... (by Danny Toledo)
[win32] Window to handle text (1,2,3)
 
Good Day, I don't know if I writed title right, but I'm looking for an "window" that will handle ...
[40 replies] Last: thanks a lot! :) my book is already here, so I'll start finishing it s... (by mekkatorqu)
C++ Vector - Is there a max. it can take?
 
Hi, I am implementating a C++ vector with struct. e.g. vector<student> s; Is there a maximum numb...
[8 replies] Last: Are you using the vector's reserve() method to precommit storage? If ... (by andywestken)
Collision!
 
Hello. I need help with some pong collision. I have the Player collision down - if(BoxX == Player...
[6 replies] Last: [quote=kong288]And I guess adding half of the BotY doesn't work Why ... (by ModShop)
Game Design
 
Hi all, I was wondering if any of you could help me out with something. I have an idea on how to ...
[16 replies] Last: Yes! Allegro! >:) (by kong288)
Crashing when finding searchKey = Stimson , i dont know why
 
//classData Array.cpp //data items as class objects #include <iostream> #include <string> #inc...
[2 replies] Last: lol silly mistakes always kill me, and i did forget some stuff in the ... (by maddogk9)
help me to figure out this example
 
so i copyed from a book Anmated tower of hanoi code. si i expefcted to see something when i run it. ...
[6 replies] Last: ok ok now i can see the tower, but since this is animated tower of han... (by vastrolorde)
Coding game, need help with 'ranks' being able to use commands.
 
Hey Im currently trying to code a game thas the following : VIP Ranks - v GM Rank -1 System Admin ...
[no replies]
Depth First and Breadth First Spanning trees
 
I will preface this by saying that I am a student and this is a homework assignment. I am not looki...
[6 replies] Last: do you mean that the struct would have a node and a bool visited insi... (by andywestken)
what is wrong with my global var getting wrong or weird numbers for inventory function?
 
#include <iostream> using namespace std; //global variables int MONEY = 1000; //initial mone...
[2 replies] Last: don't initialize your global variables unless they're higher/lower tha... (by brokenbot)
Bots that interact with 3rd party softwares
 
Basically, what do I all need to know to make some software that plays/interacts with 3rd party appl...
[no replies]
by w1un
problem with global variable, help pls.
 
i have an assignment, which is required to do a maze game. but i have a problem with global variable...
[12 replies] Last: cool, i got what u mean and i think it is working. thanks for your tim... (by w1un)
August 2011 Pages: 1... 1112131415... 39
  Archived months: [jul2011] [sep2011]

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