Beginners - December 2012 (Page 21)

functions!!!! ahhhhh!!!
 
i have several c++ books and i am on functions and arguments and i am finding it really hard to unde...
[3 replies] Last: @Blue Shell INDENT YOUR CODE!!! Do you realize how hard that is to re... (by Volatile Pulse)
Vectors trouble
 
I've searched through the vectors portion of this website and I've been trying to figure out a way t...
[8 replies] Last: It's in the algorithm header. http://cplusplus.com/reference/algorit... (by Catfish3)
About functions
 
I'm a self learner and I just started learning about functions, I have probably a stupid question, ...
[1 reply] : I mean why cant the program start with the main, And move to the func... (by Chervil)
by Tylerr
Basic Calculator Code... doesn't work. Help please?
 
/* This is my code for a basic calculator. Im learning from a book called "Sam's Teach yourself in...
[11 replies] Last: It worked! Thank you for all your help. (by Tylerr)
Bubble sort won't sort anything... (1,2)
 
Me again ;P I have my code working perfectly now, my whole game works, it prevents duplicates, it...
[23 replies] Last: I'm surprised that sync() didn't work. I don't know why that would... (by cire)
logical ror c++ integer 4bytes byte rotation
 
Assembly code: ROR AL,3 MOV BYTE PTR DS: ,AL In the code above the byte found at AL is ror-ed 3...
[10 replies] Last: Yeah, you would find it in hundreds of places. Compiles to a straight... (by JLBorges)
Random Number vector
 
I need to know how to take the variable I have for random to check it's value and say how many time...
[3 replies] Last: So I added an array of 10 integers to the beginning of my occ functi... (by GIjessiebear)
Do-While statements do not look neat!
 
Whenever I use a do-while statement, it does not look neat. Its really annoying because most of my c...
[12 replies] Last: Ya, thats what I do as well... I guess im being a bit too pesky. Anyw... (by closed account LN7oGNh0)
Whys isn't this working?
 
I have a combat system... void combat() { int a=1; CPlayer player; cout << "You ...
[2 replies] Last: I tried to interrupt the loop with in a=0; but the commands in which ... (by dingo25)
Questions
 
Hello, I have some questions I'm unsure about as I review. They are true and false 1.Global co...
[2 replies] Last: And object is not same as member, class can have function and variabl... (by jlillie89)
from char arry to int
 
so here's my problem: i have a char array: char start_arry ={ 0x64, 0x61, 0x74, 0x61, 0x2E, 0x7...
[5 replies] Last: nevermind: int *p = reinterpret_cast <int*>( start_arry+3 ); ... (by frescofrs)
C++ Video: Koenig Lookup - Argument Dependent Lookup (ADL)
 
This Youtube video explains the details of how Koenig Lookup works under different scenario. http...
[no replies]
by Noob32
Basic encrypt/decrypt code
 
The code is working with just one problem. The first letter in each encryption (and possibly decryp...
[3 replies] Last: Nevermind! I'm a dumb###! I was not using the SAME key to encrypt/decr... (by Noob32)
second cin.getline is ignored in some cases
 
Hi, i don't understand how cin and cin.getline work exactly. I had problem with cin, which was s...
[4 replies] Last: Thank you, Chervil. Your explanation is all i need :) (by janekkubek)
Read integers from a text file and store into array
 
Hello, everybody! :) I'm trying to write a program that reads integers from a text file, and then...
[5 replies] Last: Ahh, nope. I haven't messed with new yet. I'll study it after I fini... (by alexbomb)
How to make general monsters?
 
I am making a text-based RPG for class and I want to know how to make general classes for monsters. ...
[5 replies] Last: Solved it! Thanks for input (by dingo25)
display number in array
 
hye guys, how to repair this coding? -request size array from user, -request numbers (any) from use...
[3 replies] Last: An array is nothing more than a pointer. To understand an array, you m... (by Volatile Pulse)
bubble sort -array
 
this is my bubble sort. hope usefull :3 #include <iostream> using namespace std; int main(...
[3 replies] Last: First, edit your post. Then select all of your code, and press the <> ... (by TheIdeasMan)
by ong
Hello world, i would like to ask some help regarding about my coding,
 
Hello world, i would like to ask some help regarding about my coding, i have done it, but it mention...
[3 replies] Last: below are the question = Function Description main() contain function ... (by ong)
Error message saying pow is ambiguous?!?! Any suggestions
 
I have a rough time with this code. Trying to use the formula at the bottom. It has a problem with p...
[3 replies] Last: Has anyone suggested having a function for getting the colour? Lines 3... (by TheIdeasMan)
December 2012 Pages: 1... 1920212223... 65
  Archived months: [nov2012] [jan2013]

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