General C++ Programming (Page 51)

reading a .pgm file
 
Hello eveyone, I want to know how to read a .pgm file from my hdd and store it in a 2d array s...
[3 replies] Last: r u chinese? (by csstudent123)
Binary file and structs
 
Hello. What is the difference between reading from binary file between the following way: stru...
[2 replies] Last: pls explain which ones? I used the second one in a code and it is work... (by csstudent123)
Discussion: Global vs Local Variables with the Same Name
 
I have what I think is an interesting question. What would be the ouput of the following code? gl...
[1 reply] : Do all C++ compilers allow this code? Do you mean in actuality or in ... (by helios)
C++ Input from txt file size problem
 
Hello guys. I finally accomplished what I'd asked for earlier. I'm able to input data from txt...
[2 replies] Last: Use a std::vector or std::decque instead of an array allocated on ... (by cire)
editing attribute values with libxml2?
 
Hello everyone! I am sorry to bug you, but this site is my last hope. I have tried googling, so, red...
[3 replies] Last: [quote=Little_Bobby_Tables]did you edit any of the code? Nope. Also, c... (by norm b)
by azad90
Modify element in node of linked list with value assignment
 
Hei guys, hope that you could lend a hand to solve this problem I tried to modify staff name with...
[3 replies] Last: Never mind.. Now, I understand. Thanks a lot keskiverto (by azad90)
Convert file to base64? (confused)
 
I'm looking to convert audio, images, video to base64 in c++, and through many searches on the web I...
[6 replies] Last: Thank you so much modoran! I looked up the read and write functions an... (by jonah876)
Understanding (int*), casts
 
I can't understand pointer casts ( C Style ). Implicit casts are next, but C pointer casts don't ma...
[8 replies] Last: Thanks for the help helios :) (by dominover)
Precision Errors
 
solved thank you
[3 replies] Last: Oh, yes. That thingy. const int internalprice = static_cast<int>( 100... (by keskiverto)
My asterisk diamond is printing out wrong.
 
I feel as if I'm so close and I'm just messing up a value somewhere, but I am at a loss as to what I...
[2 replies] Last: //#include "stdafx.h" // CHANGE ************************************... (by kemort)
Duration of Temporaries in C++
 
My doubt is regarding the early destruction of a class object. Usually the destructor should be call...
[4 replies] Last: Thanks for your kind replies and for explaining the copy elision conce... (by sahilkakkar22)
Keep Getting 0$ as result???
 
I made a program for this problem= Each employee of a company contributes 6% of his salary towards h...
[5 replies] Last: @cire thanks man !! got it now. (by nauman123)
Fastest comparison algorithm based on a predefined container? (1,2,3)
 
Suppose you have defined a container of elements and you want do define a comparison function betwee...
[49 replies] Last: [quote=prestokeys]Why is the course free? Enjoy it while it lasts. T... (by Smac89)
Better way for HTML parser?
 
I know my html parser is a hacky mess so does anyone have any advice on how to write a parser more e...
[2 replies] Last: I said write, I want to learn from this (by danielmccarthy)
GNUPLOT HELP
 
Ive just installed cygwin and im having some problems with gnuplot i have the terminal type set to x...
[1 reply] : That is not a C++ question. Websearch returns stuff like: http://www.... (by keskiverto)
C++ Problems
 
Can anyone spot what wrong with my code here? I got problem with the loop and Q(remains same = Q1 ...
[6 replies] Last: yaa.. i want to say that it's at the origin. (by sya0524)
Mandlebrot Is Only a Circle, whats the problem?
 
hi, its 2:24 am, and im sad and tired, i gave up, here's code (I use Qt for drawing) #include "mai...
[4 replies] Last: thanks norm, but today while waiting for answer i decided to remake th... (by kam hagh)
by F40R
Rectangle Help
 
Hey guys, I'm having a bit of trouble here. I am trying to create a rectangle generator using - and ...
[no replies]
by WAKS
Problems with moving a sprite (SDL)
 
Hello! Recently i have started to use the SDL libery, because of the easy game programming benefits ...
[7 replies] Last: No point creating a surface if all pixels are going to have the same ... (by Disch)
by jami
Massive Assistance...
 
all, hello, i'm very new to the forum and c++ and i'm in need of massive help. i've procrastinated a...
[1 reply] : Here is somewhere to start: #include <iostream> int main() { std:... (by LB)
Pages: 1... 4950515253... 56
  Archived months: [aug2014]

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