Beginners - February 2015 (Page 49)

by Fedeb
Overloaded operators
 
Hi, im reading Cplusplus tutorials and i dont fully understand why does the new definition of operat...
[4 replies] Last: Thanks! your explanation help me a lot. (by Fedeb)
by h4ever
What design to choose when dealing with images? Interlacing
 
Hi. I am staring to learn how to use libpng, libjpeg and libjpeg-turbo libraries. I have noticed the...
[no replies]
Accessing a pointer object member variable
 
Hello, I am wondering what is the difference between ptr->age = 11; and (*p...
[2 replies] Last: As LB said, the only difference is what keys you press. Standard defin... (by MiiNiPaa)
Function calling in another function help
 
I'm making a guessing game where the program has to guess the user's number, so it's kinda backwards...
[1 reply] : Why the midpoints? Shouldn't the logic be: Choose guess from [low-hig... (by keskiverto)
Why isnt this working
 
This code come from Bjarne Stroustrup's programming and practice book. Why isnt this working. Im usi...
[2 replies] Last: false alarm guys, i didnt even had this std_lib_facilities file in my ... (by etrusks)
solved
 
done
[4 replies] Last: Which one is better? I don't think there's much difference with th... (by cire)
Lost in the Loop
 
First I want to thank all the support for the community, you are all amazing. My issue is that when ...
[9 replies] Last: Thank you, using the //comments makes a world of difference. (by my228rocks)
Vector to array
 
Could somebody show me how to change this tidbit of vector code to a dynamic array? vector...
[2 replies] Last: std::vector<> is an optimised, resizeable dynamic array. There is no... (by JLBorges)
Passing 2D array into function using pointer
 
I've written the following program. I am trying to pass the 2D array into function using pointer and...
[3 replies] Last: Hi, here you go #include <bits/stdc++.h> using namespace std; tem... (by closed account SECMoG1T)
by shola
Spare a Square Problem. Need help to figure it out.
 
1) Use a function that generates and returns a random number between [0,1] which can be used to det...
[no replies]
by Dojo
HELP HELP HELP !
 
hi guys,i am very new to this site and most of all im very very very very very new to programming an...
[3 replies] Last: Every compiler is slightly different, but somewhere in your compiler's... (by Ganado)
by VVS
int main ()
 
how do you separate one program from another on a single file? i have to submit a hw problem that ...
[3 replies] Last: ok nevermind i got it!! thank you!!! (by VVS)
Negative arrays (Homework due Wed)
 
Hey, all. Sorry to return so soon, but I need help. Here is my assignment. Recall that in C++, th...
[1 reply] : Nevermind. I found a workaround. (by herooftime1000)
Why isn't my code compiling?
 
I am trying to write a program that asks users for inputs mass and acceleration to calculate the for...
[4 replies] Last: I would place the executable code for gathering the data from the user... (by OUIJ)
by anup30
Maximum Size of Recursive Fill
 
my following program fills continuous elements in 2d array recursively. but it worked only for N<180...
[14 replies] Last: is there any library facility (container?) which provides random acces... (by anup30)
by Xolin
Displaying the instance name of a struct / class
 
So I'm getting into objects and I have a situation where i want to display the name of the object. ...
[2 replies] Last: derp..... thanks! (by Xolin)
pointers to functions.
 
im completely new in c++ i was trying to write a function which returns mod of difference of two inp...
[3 replies] Last: I don't think there's any difference for functions, it just saves you ... (by tipaye)
Sorting linked list
 
Our case study was to create a 2d array that uses sorting searching and linked list and apply classe...
[no replies]
Help with inline functions
 
Hi, I'd like to understand how inline functions work. I've read that you have to fully define the f...
[11 replies] Last: Read whole sentence. The hint is ignored, not the keyword. if that w... (by MiiNiPaa)
by Irhcsa
Class Error
 
Getting the error: "Error: too many initializer values" Can someone help me figure out what I'm d...
[5 replies] Last: I thought variables put above would be universal for the entire progr... (by coder777)
February 2015 Pages: 1... 474849505152
  Archived months: [jan2015] [mar2015]

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