Beginners - October 2014 (Page 7)

where is the C++ standard library located?
 
I am curious when I wrote some C++ code to using something inside C++ standard libraries, e.g.: I us...
[7 replies] Last: Thanks very much for this great detailed answer! (by buddha87)
by Jon15
decreasing order function with array?
 
I am writing a program that will ask the user for integers and then put them into descending order. ...
[no replies]
Help how check uppercase ?
 
I have a homework that, the user input should be only lowercase. If the word has a uppercase i shoul...
[1 reply] : You may want to think about using find_first_of(). (by jlb)
Executing a for loop statement help!
 
Write your question here. I have to write a C++ program that picks a random number between 0 and 49...
[12 replies] Last: Line 21 My code: for( ; random_integer < 101; random_integer += 2)  ... (by MiiNiPaa)
by HG319
Multidimensional Array
 
Below is my first assignment with multidimensional arrays. I was able to create the 5x5 array with r...
[4 replies] Last: Thanks. Do you know how I can make another array but this time every... (by HG319)
Error: Missing ';' before '*'
 
Here is my code: class Book { public: ... (Nothing in here is missing a semicolon or has any error...
[10 replies] Last: struct Node { T *data; //instead of Object Nod... (by booradley60)
Help with arrays.
 
I'm trying to write a program that asks the user to input 10 numbers, and then print the largest num...
[5 replies] Last: Is there a reason you need to retain all values that are input? If no... (by PCrumley48)
Critic my program -
 
I wrote a guess my number program but I was curious to if I did a good job organizing my program or ...
[5 replies] Last: One suggestion: separate your difficulty selection logic from your sec... (by booradley60)
by anely
Student Grades
 
Write your question here. Here is what I have , I need to get Students to input there N...
[no replies]
Use of class template requires template argument list
 
I keep getting this error in my code, and searching online doesn't provide results because I have al...
[3 replies] Last: Oh Okay i see, silly error == Thanks. (by DreamTime)
by vxk
array in c vs c++
 
I have doubt regarding the following piece of code : int main() { int array1 = {1,2,3,...
[3 replies] Last: http://stackoverflow.com/questions/25004382/excess-elements-in-scalar-... (by keskiverto)
simple recursive statement, or is it? Can't grasp it
 
I'm using the jumping into c++ book by alex allain to learn c++ programming and I'm at recursive fun...
[6 replies] Last: everyone has his own "up to date" definition. what do you think when y... (by anup30)
by anely
Please Help
 
allow the user to run the program more than once if so desired. prompt the user to try again Y/N ...
[4 replies] Last: Hi, 2) why you need to do b = b/2; if after that you don't used.... ... (by PCrumley48)
how to declare a private static variable?
 
Hello guys. I am making a single linked list and I am stuck at a point where i have to declare a dum...
[8 replies] Last: Mysteriously your code is working and mine is giving error.. Although ... (by DaniAlves)
Do while loop [help]
 
is my condition (the underlined) wrong? cause whether I press 'y' or 'n', the program will not run a...
[1 reply] : while(a=='y'); is fine and sufficient. i.e. if a==y then its automat... (by anup30)
by Pg0715
4 digit pin
 
im wondering how I can ask the user to input a 4 digit pin and it can only be 4 numbers and if its n...
[12 replies] Last: as PCrumley48 noted, the input can be taken as a string, check it's le... (by anup30)
by Jon15
Passing an array as argument to function!
 
Hi, I am attempting to write a program that will ask the user to input 10 integers, and then send th...
[6 replies] Last: line 11: no 'w' in hi_2_lo undefined identifier, identifier not fo... (by Esslercuffi)
draw an array to screen
 
so i am using allegro 5 to make a game and have my maps layed out in 2d arrays. i was testing the tr...
[3 replies] Last: On lines 29 and 33 you are assigning the array and not comparing, shou... (by Jezze)
by nasser
Linux,Ubuntu
 
I have installed Eclips Luna for Linux but when I run a simple program a window is shown Launch fa...
[no replies]
Clockwise turn gives weird numbers
 
So my program is supposed to turn the numbers put by the users in a clockwise fashion, but i receive...
[no replies]
October 2014 Pages: 1... 56789... 70
  Archived months: [sep2014] [nov2014]

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