Beginners (Page 62)

by h4ever
How to share struct within functions; (warnings: expected 'struct <anonymous> **')
 
I don't understand why this happens. I can call the read_png_file and *data is there. But when I cal...
[1 reply] : process_file takes a PNGData** but you are passing a PNGData*. (by naraku9333)
by juju1
Problem of compilation
 
Hello everybody I have got a problem when I try to compile a tool called netmate-0.9.5 which is w...
[6 replies] Last: what does it mean to align values ? http://en.wikipedia.org/wiki/Da... (by MiiNiPaa)
by sam89m
How to loop when entering multiple similar items?
 
I am only one week into programming and I'm trying to learn how to use a loop. I need to ask the us...
[1 reply] : #include <iostream> int main() { const int NSCORES = 5 ; do... (by JLBorges)
Need help with C++!!
 
Hey guys I am really needing some help with this program, I need to code a program that displays the...
[1 reply] : Limit the scope of your variables for(int i=0; i<5; ++I) then line 1... (by ne555)
Address Book! HELP!! ASAP!!!
 
Can someone please help me? Im stuck at this and i dont know what to do.. :( Please edit the wrong o...
[no replies]
vector init loop trouble
 
What I want is a 2 dimensional vector of pointers to elements in another vector. I'm probably missin...
[3 replies] Last: Ah! thanks. (by Gonza 565)
strcmpi: does not return right result
 
It seems that I am not able to use strcmpi function properly. bool res = strcmpi(FilterT...
[4 replies] Last: > I would expect the value of "res" and "res2" to be identical strcmp ... (by ne555)
Realistic random numbers
 
I hate the fact that every time i need to get some random numbers in a program i'll have to use the ...
[13 replies] Last: Ooh thanks now i get it now but i might have to check on some more det... (by andy1992)
C++ Adding Chi-Square equation
 
Sample Output How many numbers? 7 Input a number -- 12 Input a number -- 22 Input a number -- 34...
[no replies]
I.Q test game help
 
Hello everyone! Recently, I tried in some experimentations based on an I.Q Test game. Let me know if...
[5 replies] Last: I might not understand something. It looks like the user selects a di... (by dhayden)
problem using isalpha()
 
I want to write a program which take three float input from user and break if user enters an alphabe...
[3 replies] Last: if a,b,c are declared floats then all you need to do is check there wa... (by Jaybob66)
C++ member initialisation of an array element
 
How to do member initialisation of an array element ? class A { public: A(const cha...
[1 reply] : class A { public: A() = default; A(const char*) {} }; class ... (by MiiNiPaa)
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)
Pages: 1... 606162636465
  Archived months: [jan2015]

Cannot post in this page. To post a new message, go to the first page.