Beginners - August 2016 (Page 14)

Console closed after user input 2
 
When i type username , its works fine but when i write write password , it closes immediately. #include <iostream.h> #include <stdio.h> #include <conio.h> #i...
[2 replies] Last: If you want to keep them as char though you could also use cin.sync()... (by Too Explosive)
game of life help!
 
hi, i'm really stuck with game of life coding section... i have no idea where to start and what to do... please help me out -----------------------------------...
[6 replies] Last: Oh, our posts have overlapped :-) Your last draft looks good. I sugges... (by nuderobmonkey)
Development Environment Advise
 
I've been learning how to write my own little 3D Game Engine for fun. This is my current dev environment: - OS: Windows 8.1 64-bit - Code Editor: Vim - Compile...
[2 replies] Last: Hey Kevin thanks for the great answer, helped out a lot! (by hashbrown)
by byko15
My selection sort function isn't fully alphabetizing my struct
 
I'm not sure where in my code the problem occurs. I need a second pair of eyes (or maybe lots) to help me figure it out. The point of the function is to take a ...
[1 reply] : http://www.cplusplus.com/reference/string/string/operators/ http://www... (by ne555)
Inheritance of class template with static members?
 
I have several classes and I want each one to have a static member, a list to keep track of their respective objects. getList() is the same function in each cla...
[2 replies] Last: Excellent! (by carlwryker)
Having Trouble with BigInteger Library (1,2)
 
I downloaded Matt McCutchens's BigInteger library but Im having some trouble using it. I tried the same exact code he has in his sample but I get an error: #...
[21 replies] Last: @Arslan7031, I know the feeling all too well. I've tried in the past ... (by closed account E0p9LyTq)
by MAhmed
Visual studio
 
just installed visual studio 2015 with few failed packages when creating new project in c++ it shows to install some packages so what packages should i insta...
[1 reply] : You need to modify your VS 2015 installation to include C++ as one of ... (by closed account E0p9LyTq)
by glober
Good learning materials for a beginner
 
I'm planning on learning C++ soon so that I could eventually start learning about Graphics Programming down the road. But, a lot of the book recommendations an...
[1 reply] : Books, plural. Not one single book. https://isocpp.org/wiki/faq/how-... (by closed account E0p9LyTq)
by Vaynis
Windows Forms ?
 
I started learning c++ this summer. I have worked with simple console applications and i have a sense of the basic c++ syntax and uses. The thing is that i h...
[4 replies] Last: I already started reading the book. You are right about how important ... (by Vaynis)
C++ add Y/N and make int accept numbers only
 
How can I confirm the int inputs are numbers? How can I add a Y/N to the end of the program to let the user confirm the order or start again. // This program...
[10 replies] Last: the header should be <cctype> to use the tolower and toupper functio... (by chicofeo)
Copy Constructor that would be invoked wasn't invoked
 
Hello, I am a beginner in C++, and I have been struggling with the following codes regarding of the copy constructor. The following codes are inefficien...
[3 replies] Last: What contructors, if any, are invoked when passing objects by value de... (by Cubbi)
by roots
class and array[]
 
I know a lot of stuff is probably wrong or not the best way to do it, but I am learning. If someone could point me in the right direction or give me a hint. I a...
[13 replies] Last: Do you think passing parameters from main is what I should be doing? ... (by jlb)
Trying to install SDL in netbeans...
 
Hello, I've downloaded SDL here: the development minGW . http://libsdl.org/download-2.0.php I found this site to install: www.netadelica.com/coding/sdl/...
[2 replies] Last: oke that worked thanks. I was looking at that page earlier actually ,... (by closed account N8RzwA7f)
by elay
passing a function to a function
 
is it possible in C++ to pass a function to one another to perform its task? i mean like this. void task() { //do something } void task2() { //do some...
[5 replies] Last: Where and how are you trying to call speedMenuHandler()? (by jlb)
learning c++ need help with a barchart
 
Basically I have to do the exercise is as follows - A function DisplayListAsBarChart that may be passed an array of values. The function should then display t...
[1 reply] : Strange that you got output, when I compiled and runned this it crashe... (by Nico)
by Phil15
Heap Corruption
 
Hi guys, quick question , I cannot not follow why there is a heap corruption. The char ptr has been allocated on the heap, copied into new object (deep cop...
[3 replies] Last: Yes that`s correct, nicely spotted. Thank you! (by Phil15)
by Uber
Integer Input Validation
 
So I'm a newbie and I keep getting an anomaly when I try to validate my input. I can't figure out what I'm doing wrong. I am learning all about classes an...
[2 replies] Last: I guess you are trying to get a new (better) choice from the user here... (by Nico)
Creating a receipt - problem
 
Hi, New to the forum, but seen a lot of posts so thought I'd get myself involved and see if I can seek help. I have a system in place currently which i...
[4 replies] Last: That's excellent. Very short and simple, only issue is there's only tw... (by Browny13)
Problem with Using a Sentinel
 
I am attempting to write a program that will allow the user to enter as many integers as they want and use a sentinel (-99) to stop entering numbers. The progr...
[2 replies] Last: Thank you! That fixed the problem. I appreciate your help. (by gr8flmommy)
Trying to teach myself c++, just wondering how to populate array with for loop.
 
Having trouble populating array with for loop. To me everything seems logically correct but the compiler says otherwise with I try print the contents of the arr...
[3 replies] Last: > Thanks very much, I've never seen something like "for(auto& itr : ar... (by Naughty Albatross)
August 2016 Pages: 1... 1213141516... 22
  Archived months: [jul2016] [sep2016]

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