Beginners - July 2016 (Page 16)

How would you make an input validation to allow only positive numbers?
 
I am making a program to tell the user what kind of triangle the sides entered make. How can I ensur...
[11 replies] Last: @Austinomical, If your question was answered to your satisfaction, ch... (by closed account E0p9LyTq)
by Leese
Trying to debug, stuck!! (1,2)
 
Trying to debug for an assignment. I'm stuck at the line "MyStruct aStruct = { 4,3.5, MyEnum ,"Dogs"...
[28 replies] Last: Good to hear :) (by Naughty Albatross)
Help Finding: average age, quitting program, and number of males and females entered
 
Hi there. I am having trouble finishing this. I think my code also might be a little out of order, d...
[16 replies] Last: Does that help? : ) (by Naughty Albatross)
Splitting String Help
 
Hi, I have this string here: " Membership information ---------------------- Nodeid Votes...
[5 replies] Last: Try : int id1, id2; std::string server_name; std::stringstream ss (... (by Naughty Albatross)
beginning do while loopo
 
Just started a beginners class and can't get my do while loop to work. Can anyone help me with this....
[6 replies] Last: Does that help? :) (by Naughty Albatross)
Creating a Linked List
 
I'm working on a project to create my own linked list and I'm having some trouble with the print fun...
[2 replies] Last: Brilliant! Thanks for your help! (by closed account oEwqX9L8)
SFML - Multithreading help
 
Hello my friends been a very long time since I visited the site hope you are all doing well. Anyw...
[18 replies] Last: I haven't looked at the threading tutorials on the SFML, I skipped th... (by cire)
hierarchy
 
I get that this is an assignment and I'm not looking for someone to just do this. I'm trying to figu...
[1 reply] : Your first bet would be looking at that text file, and start defining ... (by megatron 0)
Free memory with pointer?
 
Say I allocate memory a linked list like this one. struct linkedList{ stuff... linkedLi...
[2 replies] Last: Yes, this was only a short example to clearify my question. The list i... (by suckAtCPlusPlus)
Array Returning nothing but 0000
 
I am trying to write an array with user input, read, sort, and print. I have the beginning done, and...
[5 replies] Last: We've all been there perkins, all been there. If you have any small qu... (by megatron 0)
by FBHSIE
No such file or directory error?
 
When I open http://prntscr.com/btc1s8 c++ source file main and build and run it, I get no issues....
[15 replies] Last: Zip the folder but leave the original files as they were. Copy then zi... (by TheIdeasMan)
OpenGL - Filling an object
 
Hey guys... I'm experimenting with filling an object with colors. void drawRotatingObject( ...
[5 replies] Last: it's not strange, the more people who know about the pathology of cire... (by closed account 48T7M4Gy)
confused with this (1,2)
 
Hi guys I'm pretty confused with this,so I'm passing in the address of numbers into the returnPointe...
[31 replies] Last: I think you got the wrong thread Kermort =) do you have any idea why ... (by adam2016)
Easiest way to do toggling
 
Hi everyone, I am learning some of that C++ for quite some time mainly with UE4. So yea...another o...
[2 replies] Last: At first glance you could make an enum: enum ObjectState { INACTIVE,... (by megatron 0)
help me
 
i try this code, and it keep on display an invalid number has been entered. where did i do wrong? ...
[6 replies] Last: Good to hear :) (by Naughty Albatross)
Template partial specialization
 
Hi guys, what is wrong with my code ? template <class T,int n> T sum(T a){ return a; } template...
[11 replies] Last: Just thought these might be relevant as well, but one should be very w... (by TheIdeasMan)
Difference between these two codes?
 
So take a look at both these codes here: (1) www.cplusplus.com/reference/vector/vector/rbegin/ (2) ...
[2 replies] Last: Oh snap! Did not see that coming. Well, I guess we're done here then... (by Arslan7041)
by stav
hows graphics done on things like slot machines
 
so i know graphics on normal computers are done using something like opengl or direct x to control t...
[1 reply] : Billboards come in many different forms. The simpler ones are matrices... (by helios)
Erasing elements from two vectors at the same position
 
Im trying to make a program that erases the zeros in a vector but i get the error: /Users/T_HEN12...
[1 reply] : That's because the erase method(s) works with iterators. You're passin... (by MrHutch)
Output for ifstream not working correctly
 
I am having trouble printing the array of integers after they are inputted into the program from the...
[10 replies] Last: Glad it helped :) (by Naughty Albatross)
July 2016 Pages: 1... 1415161718... 30
  Archived months: [jun2016] [aug2016]

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