Beginners - June 2014 (Page 12)

Why do you use pointers in function( int* () )
 
In code below you can see that we use for example int *something (int *pointer) why is this rea...
[5 replies] Last: Don't read Jumping into C++, sure it's a good book for beginners but t... (by Uk Marine)
Please help!!!
 
I'm 13 and I know the basics of c++. I know variables, cout and cin. I can make very simple arithmet...
[2 replies] Last: Thanks for the help!! (by potatoGuy)
multidimensional Array
 
Hello every one , iam new user here , i have question about multidimensional array , can it hold di...
[1 reply] : No, they have to be same. (by Jakee)
by Tita
Copy a binary file in another binary file
 
Hi! Firstly, I'm french and I don't speak and write very well english langage. So sorry for the f...
[5 replies] Last: It works.I was in this problem during 2 days, it's so long!! But know ... (by Tita)
by h4ever
class/struct error - C2628: 'OPTIONS' followed by 'int' is illegal (did you forget a ';'?)
 
I am trying to create struct within class OPTIONS #include <vector> // options ge...
[2 replies] Last: Thanks (by h4ever)
String function
 
for a const char*, we could use stricmp() this function to compare two variable . What kinds of func...
[5 replies] Last: thx both (by csbs5c26)
What did i do wrong about nested if?
 
Nested if not working and it's not showing the message. If i type 'W' there's nothing and the messag...
[3 replies] Last: move the brace "}" on line 39 to line 22 or lose all the braces - n... (by tipaye)
by Ganado
Class function needs to access the properties of the "aggregrate" class it belongs to
 
Okay so this might be long since I have the program separated into multiple files, but I want to kno...
[5 replies] Last: With the reference you can just forget about addresses and de-referenc... (by tipaye)
Long string
 
Hi everyone. I need more help. I am have to write a program that reads a list of strings until the w...
[7 replies] Last: I'm talking about C Thank you. and why did you omit the part that ... (by Chervil)
Enhanced for loop
 
[This question is more about java than C++, but thanks to this last one I began to think more deeply...
[1 reply] : In short: no http://docs.oracle.com/javase/1.5.0/docs/guide/language/... (by MiiNiPaa)
PPP Chapter 12 Converting ifstream to bool
 
Hello, I am currently almost finished with the task of setting up FLTK for the book Programming Prin...
[4 replies] Last: I always thought that return will try to explicitely convert value to ... (by MiiNiPaa)
OpenGL Transform
 
Hi, In opengl, it is said that, always scale first then translate. But in the below code it is not...
[2 replies] Last: That's why I have provided the full code. Answer is not required anym... (by Lexical)
role of const
 
Please explain the role of const in both code portions and role of *this as this points to member ...
[1 reply] : That sounds like a homework question. Besides, the code fragment lack... (by keskiverto)
Traverse a Linked List from the beginning
 
So I have a linked list with multiple elements in each list that are read in from a file. So far I h...
[4 replies] Last: Hi, You're quite right, one of the newNode->next = NULL; doesn't n... (by tipaye)
memory allocation using new
 
When we allocate memory using new, where it is allocated in heap or stack? Please tell me the dif...
[2 replies] Last: new allocates to the heap. As a counter to Herb Sutter Free-store ... (by closed account z05DSL3A)
stl
 
using STL containers and templates, how to write a program that stores the Fibonacci sequence up unt...
[2 replies] Last: The people here would be glad to help you, but you're gonna have to gi... (by Ganado)
Pointer to a 2D array; to put "x"
 
How could I put a random x, inside the 2d array? thanks! #include <iostream> using nam...
[6 replies] Last: lol, I didn't even see Little Bobby Tables post, it's so small. not th... (by youare29)
by mehak
sequential search(Search and Insertion)
 
sequential search(search and insertion) #include <iostream> using namespace std; struct node ...
[12 replies] Last: thnx alot :) (by mehak)
how to make my program to store each SSN
 
hello everybody, this is my first post on here and I need some help with my program. I know it is la...
[4 replies] Last: ok I did everything that you did. I even changed the arguments for the... (by coolman22)
by sime
Functions and Factorials why to type return?
 
If I type return faktorijel(rezultat,broj-1); for 5 result is just 120 and if I type: faktorijel...
[6 replies] Last: RECURSION, GENIUS! (by iQChange)
June 2014 Pages: 1... 1011121314... 48
  Archived months: [may2014] [jul2014]

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