Beginners - August 2012 (Page 21)

Error checking, stuck in loop
 
Hey Everyone, I don't understand why I'm stuck in a while-loop when i'm trying to error check....
[4 replies] Last: You are telling it to do the following when rep does not equal 'n' OR ... (by KyleMiles)
by Trexed
Absolute beginner c++ If statment
 
Hello, could you please look at my code. It suppose to make the user type in a number, if the number...
[5 replies] Last: Does it still work perfectly if your age is 16? The way it is code... (by pnoid)
by samrux
Class variables?
 
I want to put variables inside a class, and make it so every function inside that class can use and ...
[10 replies] Last: samrux wrote: LowestOne, i just noticed you're using C. I use C++ bec... (by TheIdeasMan)
"no match for operator<" and "no match for operator>"
 
string Amount; if (Amount > 5 && Amount < 1) { //Rest of the code is here } For some ...
[7 replies] Last: btw, what's this use for? Space1 == Item; and the other similar ... (by chipp)
Beginner book
 
Hi im just starting out on C++ and im mostly going to be using C++ for making games, but i will stil...
[1 reply] : HI. I am learning c++ also and a thing that is better than a book is l... (by gerfy1)
Storing Obejcts in vectors
 
Hello I'm terrible at C++ but I do my best to learn. I'm trying to add objects of a class I crea...
[2 replies] Last: Thanks for the tips Why the first part? I'm not that good at this bu... (by Jonas Wingren)
different variables for functions
 
in the code below i call the function split on the int a and b. i should like to savethe values in t...
[1 reply] : You can pass in a pointer to the array you want to fill to the split f... (by mik2718)
Converting a variable from an int to a char(or string)
 
I am trying to make a blackjack game, and I am stuck trying to figure out how to convert the dealt c...
[3 replies] Last: if (card < 11) cout << card; else if (card == 11) cout << 'j'; e... (by Lowest0ne)
About files
 
POSITION pos = pcList->GetFirstSelectedItemPosition(); if(!pos) return; GetCurrentDirec...
[2 replies] Last: I'm not so new, this is important for me (by spy man)
C library
 
Hi, I created the program only from the standard library, this program is a multiplatform? (win, ...
[8 replies] Last: ok I thank all (by Damian666)
Flags & Hex Numbering
 
Hi :) I am reading a tutorial where the guy labels some flags in hex Flag1=0x000001; Flag2=0x0000...
[3 replies] Last: Thanks guys! Exactly what I needed (by Swizzler)
Able to use correct syntax as a beginner
 
This code took me while to figure out and a few re-reads of the explanations of each line of code fo...
[1 reply] : The . in phrase.erase() ? I'm not exactly sure the proper terms for ... (by Lowest0ne)
Game loads
 
Hi everyone, I'm creating this simple word based game that has saves. I put the names of the saves ...
[3 replies] Last: Your program only checks the name on one line at a time: An example s... (by Lowest0ne)
Pointers problem
 
This is what I made but I cant make it do what I want "Use pointer dereferencing on pointers to y ...
[4 replies] Last: it actually works in c++: #include <cstdio> #include <cstdlib> int... (by dean)
Problem with script stopping the execution
 
For some reason after I do the command of if (Aisle) and typing 'Aisle 1' it just finishes the execu...
[3 replies] Last: Lol fail, I knew about that common problem. Brain fart ;) thanks anywa... (by Master Blue Ninja)
by Thumb
Is C++ right for me?
 
I've started working on C++, and I think I'm starting to catch on, but a friend told me I would be b...
[5 replies] Last: Well, either should work fine really. I suppose learning C++ now make... (by Veltas)
Simple CG geometry shader question
 
Hi all. I was just wondering how I can access the vertexID in the geometry shader. I have tri...
[no replies]
Child creates another child that creates another child... and so on[How to?]
 
Hi guys, I'm writing a program where I have to give in the command line an integer that define th...
[5 replies] Last: '--' is predecrement. It subtracts one from num before comparing it t... (by BlackSheep)
printing an array
 
i want to give the array all elements of 0 then print it could you help me find what am doing wro...
[3 replies] Last: thank you so much that makes much more sense one array set them to 0 a... (by Brooklyn)
by Ch1156
Slot machine help
 
Im making a slot machine and im trying to make it so it picks random symbols but it just keeps picki...
[2 replies] Last: Additionally, only use srand (time(NULL)); once per execution of the... (by geekman7473)
August 2012 Pages: 1... 1920212223... 45
  Archived months: [jul2012] [sep2012]

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