Beginners - January 2013 (Page 6)

Getline displaying empty character
 
Hello, I'm using the getline method to get data from the user, store it in a variable called ...
[4 replies] Last: Thanks a bunch, this mystery is solved scooby doo. (by johnnydiamond08)
C++ Math
 
How to do square of a number in C++?
[7 replies] Last: Absolutely ... (by Sikander Hayyat)
assistance needed in selecting the appropriate variable?
 
I'm making a small password system (*very* low tech, any dipshit can crack it) . So, the user input...
[2 replies] Last: #include <iostream> #include <fstream> #include <cstdio> #include <ss... (by inc0001)
by colem
percentage of values
 
if i wanted to give a set of values each a percentage of being chosen how would i go about that for ...
[4 replies] Last: What can you do: #include <iostream> #include <random> int main() { ... (by MiiNiPaa)
annoying rounding problems...
 
i have made a program and its output is sometimes something like 1.0000005 . that's pretty annoyin...
[3 replies] Last: hmm ok thank you (by gelatine)
Loops
 
What types of loops can be nested?
[8 replies] Last: Your post made me chuckle Oria. I would imagine that the compiler wou... (by randisking)
Stuck on an annoying issue
 
Hello there! This is my first post on this forum ever. I have for the past 2 weeks been working ...
[2 replies] Last: Thank you for your answer! This did remove the litte red dot that sho... (by Staffank)
problem in recursion
 
hello i try to write a recursive programm that will return the segond largest array in the random ar...
[2 replies] Last: 1) As Fransje said 2) You doesn't returning anythin at the end of ne... (by MiiNiPaa)
by Pebble
Understanding Classes.
 
After running the following program but have a couple of question's: 1. The first line in main is...
[4 replies] Last: 1) Not space for 128 entries in class Person, but space for 128 instan... (by Fransje)
SDL closes instantly
 
Hi everyone, I just started learning SDL for obvious reasons. I used the following video as a tu...
[2 replies] Last: I should have seen that myself :P thanks, it works perfectly fine now ... (by simpleasy)
Airline Reservation System (argc/argv and parsing data)
 
Having trouble with argc/argv and parsing the data in my "void GetFlightData" function. Any help app...
[no replies]
by Ch1156
Questions about .cpp and .h files
 
Ok so i have a large program and lets say i want to split it up into different parts to make it neat...
[3 replies] Last: Just use multiple headers. I mean you can have any amount of .h files... (by Oria)
hello i need a help in a recursion
 
i need to place the minimum number in the inition of the sorted array (i did it) and then to sort ot...
[2 replies] Last: thank you a lot!! (by vladi87)
Dynamic 2d Array
 
Im working on a connect 4 game assignment using a dynamic 2d array. This double pointer stuff is cau...
[2 replies] Last: Ahh thank you sir. Fixed my problem. And thanks for the delete advise.... (by xarrtarrant)
by Ch1156
Small problem in password function
 
I have a password function in my encryption program that has the user enter A password so that no on...
[8 replies] Last: [quote=Ch1156]this has to be a simple problem with the password functi... (by closed account 18hRX9L8)
Need help passing variables
 
I need help passing some variables between functions. I know I am doing it wrong, I just do not know...
[8 replies] Last: Thank you for the example. I got it! Thank you for explaining it to me... (by Chris1251)
by kikz
how to use float in C++?
 
hello guys...i just wanna ask u somethin' about float in C++ this is my program: #include <iostream...
[2 replies] Last: Additionally, you should always use double or long double because ... (by LB)
Using vector.size() in a function?
 
Hi - I am playing with a little program where I create a virtual population. So far, I've used vec...
[1 reply] : You will probably want to be doing it as classes. If you just want to ... (by LB)
const member function
 
Hi guys, I just want to check if the next statement is correct. Only const member functions of a cl...
[8 replies] Last: thanks. (by cesarknbv)
by JakOrp
identifier not found
 
I'm probably doing something incredibly stupid, but im getting these errors when i try to compile: ...
[4 replies] Last: thanks for your help guys, as usual its so obvious when its shown to y... (by JakOrp)
January 2013 Pages: 1... 45678... 52
  Archived months: [dec2012] [feb2013]

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