Beginners - November 2013 (Page 37)

by Garion
INT versus LONG
 
INT versus LONG What are the advantages of using one over the other?
[7 replies] Last: Thanks for the description. That helped me understand it more. I'll t... (by Garion)
by ephekt
dynamic array
 
Is it possible to change this array program to a dynamic array or do I need to take a different appr...
[1 reply] : I have coded something like that before and here is the code. I hope i... (by closed account 1v5E3TCk)
by enemy
declaration and initialisation of the array of the arrays
 
Please, what is the right decalration and initialisation of the array of more int arrays? Many th...
[4 replies] Last: Hello! THANKS! Is second array's index 2 or 4? (U said 4 integers each... (by enemy)
by enemy
Average value of array_f elements-PLEASE HELP!!!
 
Hello! I have b in main, have to find in the Prime function 5 prime numbers bigger than b, fill arr...
[3 replies] Last: Thinking if I put st+=1 on the right place... (by enemy)
by aggsyb
Global Variable booleans question
 
Ok so I know in general its a really bad idea to use global variables but I have a situation where w...
[3 replies] Last: I think I understood you correctly the first time... maybe I just wasn... (by Disch)
Confusing errors in array
 
Hello, I was wondering if anyone had any ideas for how to fix the errors that I am getting. The cod...
[2 replies] Last: The uninitialized variables are a serious error - it means those varia... (by Chervil)
Generating random numbers / writing the main function
 
Hello everyone, so i am basically new to C++ coding and i am trying to write the randNum function i...
[8 replies] Last: Good attempt at a function like I was referring to, but it won't work ... (by CplusplusAcolyte)
by JohnJH
Special class (1,2)
 
I am having some troubles writing a class. The class has to be called with 3 parameters, which is ...
[27 replies] Last: if you define it with strong typing (bob is an instance, and bob_class... (by IWishIKnew)
by enemy
Please, URGENT!!!- function counting average array element value
 
Please!!! Have urgently to write this: function with 2 parameters (1 array and 1 int a). I hav...
[3 replies] Last: Uhkay... if you have five numbers: a , b , c , d and e , can you... (by Catfish666)
by enemy
expected 'while' before main???
 
??? int prime(int d){ int e=0; do { for (int i=2;i<d;i++){ if (d%i==0){e=e;} els...
[2 replies] Last: Thanks!!! (by enemy)
Best way to learn c++ ?
 
Hey guys .. I've been studying c++ for about 2 months now and I think that I'm not learning anyth...
[6 replies] Last: @The illusionist mirage that sucks man , I got the same prof that you... (by Cutefriendzoned)
Is it me or Everyones' Problem....Arrays!
 
I just started learning c++ and reached Arrays................Here he teaches something called inser...
[2 replies] Last: Learning from the same guy's book.......What a coincidence (by SarthakGhosta)
const *char from file?
 
Hi All, I have a function that takes a const *char as input. I do have a written file that I would l...
[no replies]
stuck on this exercise
 
Write a program that reads a person's name in the following format.: first name, then middle name, o...
[3 replies] Last: char first_name; char middle_name; char last_name; Each ... (by Chervil)
Reverse digits
 
I use the following algorithm to display the reverse digits. However, after I input an integer (act...
[2 replies] Last: Thanks. It works. I like recursion because it's amazing. (by Nikko YL)
by Nefri
Finding all substrings
 
Hello, i must find every substring in string and output position of it. But i have no idea how i can...
[6 replies] Last: thank you :) (by Nefri)
by olezek
Plz help
 
Im trying to make a monopoly game. Question1:How to make the program terminate if player has 0 or -...
[3 replies] Last: I actually think you will very much struggle to make this game using y... (by Mats)
by enemy
"return 0" in the function (not end of function)
 
Hello! Please, if we put "return 0" somewhere in the function (not main) where it is NOT the end of...
[1 reply] : Yes, if your function returns a value, it'll return the first return s... (by The illusionist mirage)
invalid types of char int for array subscript
 
I'm supposed to write a program that if you type a phrase, it outputs the letters used in alphabetic...
[1 reply] : phrase isn't an array so phrase is illegal (by Yanson)
Book: Thinking in C++ ?
 
Hi Has anyone ever read or have the book 'Thinking in C++'. Is is just like allot of the other...
[2 replies] Last: Thanks Catfish.. (by dominover)
November 2013 Pages: 1... 3536373839... 80
  Archived months: [oct2013] [dec2013]

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