Beginners (Page 132)

How to generate random numbers using "random_device"?
 
HI! What is wrong with this piece of code : #include <random> #include <iostream> using nam...
[3 replies] Last: In Code::Blocks you go to settings -> compiler -> and you check the bo... (by Vidminas)
Delete last vector entry
 
Hello, How do I remove the last entry of an int vector? Thanks.
[6 replies] Last: booradley60, thanks, I'll look for the problem in my code. (by SoapChicken)
What kind of degree should be taken?
 
Hello everyone, I have somewhat recently found an unfathomable interest in programming. I have boug...
[3 replies] Last: Thanks for the reply Smac. I just needed to know if I HAVE TO take a g... (by TripCode)
by Pixlr
User inputs from cin inside if statement
 
Hello, I am trying to do user input where a user types in "d(i)" where 'i' is a variable when the...
[2 replies] Last: Hey, Thanks a bunch. It works, but I am having problems to detect inpu... (by Pixlr)
Permutations...
 
Hello community! I am creating a matrix for a deck of 52 playing cards. I realise permuting them...
[1 reply] : Are you asking a question? (by IceThatJaw)
Delete a location
 
Hi , I have to write a function that deletes a location in some array , with its value , for example...
[13 replies] Last: True, but looking at his posts, I doubt that he really knows what he w... (by jlb)
by ar2007
very beginner -test "for" "if/else"
 
hi all. Recently, try to learn C + +, and I am doing some exercises in the book on which study. be...
[no replies]
Delete Pointer
 
Hello everybody, I know this is an evergreen topic, but I openly admit, I am lost. I have the fol...
[1 reply] : If it's crashing when you delete, that probably means you have memory ... (by Disch)
Need help with this program
 
#include <iostream> #include <iomanip> using namespace std; int calcBalance(int invStart, int ...
[no replies]
populating a vector of objects
 
This code seems to work, but there is A LOT of destructors being called. The same items destructor ...
[6 replies] Last: You can still use C++11 with MVC++ 2010 as long as the compiler you us... (by Zereo)
txt. file editing
 
Hi! I'm trying to make a program that generates chars to symbols so I can use secret codes and deco...
[2 replies] Last: thank you (by Alban Gashi)
by thipp
Performing Operations on User-Input Formulas
 
I'm attempting to make a program that will allow you to input a formula, input variables, and it wil...
[3 replies] Last: This one is for C++ and I've heard good things about it: http://mupars... (by L B)
Simple problem please help!
 
I have this code but when I run the program it displays the first two cout lines without prompting t...
[7 replies] Last: It is a bad habit. Just because it doesn't hurt now doesn't mean it wi... (by L B)
converting int - string
 
Hello I have created the following program to test out the rand() function and converting values (in...
[7 replies] Last: In C++11, you can use std::to_string() : http://en.cppreference.com/w... (by L B)
Help Using 1 Dimensional Arrays With a File That Contains Two Data Items
 
I am currently doing a programming project where a user has to interactively enter the name of a dat...
[2 replies] Last: I'm not going †☺ write the code but I'm just gonna drop some hint... (by Matri X)
infile read problem
 
void readOrder( OrderList *&order , ifstream &inFile , int &orderIndex ){ string name ...
[7 replies] Last: solved it. and @bour thanks for your teaching but you are wrong. i c... (by Felicia123)
Constructors
 
Got a bunch of questions about it, hopefully someone can help me out. These are exercises from a boo...
[5 replies] Last: Alright got it, thank you so much Bourgond =). Too much technical mumb... (by Olysold)
by blink2
is there a timed-release function?
 
cout<<"What is your name?"<<endl; cin>>MyName; cout<<"You're name is " << MyName << "? Ok....
[4 replies] Last: Thank you for your answers. Very helpful. :) (by blink2)
by kw1991
how to create an icon for system tray?
 
i used this website to get some code for a basic windows service application http://code.msdn.micr...
[2 replies] Last: i don't really care about design of the icon. its the code i'm asking ... (by kw1991)
Pages: 1... 130131132133134... 138
  Archived months: [mar2013]

Cannot post in this page. To post a new message, go to the first page.