Beginners (Page 7)

Help making pseudorandom number generator.
 
Could someone: - Write a pseudorandom number generator in C++ - Number generator should have overl...
[3 replies] Last: And if you haven't realised by my name i am a complete noob. So i nee... (by ProgrammingNoob131)
String-Time conversion
 
Hi I want to ask a question. How cani convert a string to time? I want to convert a string with HH:M...
[no replies]
user input into 2d array
 
Wondering how to get a users input to store into a 2d array. am I even close? Also I was wondering ...
[2 replies] Last: you could just put input straight into the array instead of using ano... (by Cody0023)
try/catch bug
 
I'm trying to catch a user error in the try block my first try works correctly but my second one kee...
[9 replies] Last: ultratoke, See if this makes sense to you: When and How to Use Exc... (by Grey Wolf)
Error: Invalid operands for Binary expression
 
I've created a class that works with vectors doing various calculations and what not. I have overloa...
[3 replies] Last: What I mean is why do you need operator+ that works with std::vector... (by ne555)
by Marnez
Not allow space in cin
 
How do I detect the user input to be a space and make them give me a numeric age? This doesn't work ...
[1 reply] : #include <limits> ... cout << "Hello, what is your name and age? (se... (by Smac89)
Explain this to me please; For Loops
 
I don't understand the output based off this code #include <iostream> using namespace std; voi...
[6 replies] Last: but if it was ++i would that be how it is run? No. Nothing can cha... (by Disch)
Math coming out incorrectly?
 
When I run this code timeleft always comes out to a weird negative number for example when age is 15...
[3 replies] Last: Looks like an integer overflow. An "overflow" is typically when you tr... (by Catfish666)
by yepMe
Thinking in c++, problem in understanding one exercise
 
Hi All, I am doing exercise from thinking in C++ , chapter 11(references and copy constructors) e...
[1 reply] : int x = std::max( 7, std::min( 3, 8 ) ); Min is argument to max abov... (by keskiverto)
by Vorp
Filling in an integer array with user input
 
Hey there.. I am writing a program, and I need my user to input a 5 digit number. I then need to s...
[4 replies] Last: This should work: #include <iostream> #include <math.h> using names... (by Cube777)
by Vorp
Assigning multiple class objects to ints
 
Hey there.... I was wondering if you can assign multiple objects of a class (or any other date type ...
[2 replies] Last: You can create multiple objects like you do with an array. #inclu... (by Softrix)
Sales informations
 
Hello, I'm trying to figure why all of the sudden my program isn't running correctly. It was runnin...
[2 replies] Last: Tested under Visual Studio 2013 Ultimate and works as Wildblue's outp... (by Softrix)
Printing My Array
 
Hello, I'm trying to create an array of 10 numbers to be input by the user and print it. I want m...
[4 replies] Last: Oooh okay. Thanks! (by VisuAlly)
by Nelvin
Nested Linked list type pointers initialization problem
 
I am having problem with initializing the linked list (*exam and *subject) through the constructor o...
[7 replies] Last: I actually tried, Student class contains 2 more sub linked list , whic... (by Nelvin)
by q139
Programmin interface and language to choose.
 
Hello, I am beginner in coding , hoping for some directions from people who are more familiar with l...
[no replies]
by DedSec
How do I add this to my game?
 
Ok so I'm making a text based rpg kind of like zork. But different. so I need to add a dice roller/ ...
[13 replies] Last: Do not call srand before every call to rand. That effectively resee... (by Disch)
by xx1182
Multidimensional Arrays and Pointers
 
So basically i've came across a strange thing: char strings** smthing; char strings ; ...
[2 replies] Last: I just have a library that as parameters for a function has void myf... (by xx1182)
pointer to a pointer c++
 
Hello everyone ...... could you explain to me the difference between the 2 following codes: ...
[1 reply] : In the first example it is like you said if we assign the value of p... (by JewelCpp)
Initialising an Array
 
Hi there. I'm a first time poster.... I'm getting to grips with C++ after 3 years coding in mana...
[3 replies] Last: :) Your welcome. (by Softrix)
Inserting date to a char array?
 
It would really mean a lot if someone could give me an example of how to insert system date in a cha...
[3 replies] Last: @Chervil thankyou for that I tried it out and it worked perfectly.. ... (by imtehnewb)
Pages: 1... 56789... 82
  Archived months: [may2014]

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