General C++ Programming - July 2013 (Page 21)

Reading from specified lines in file in C
 
i want to read text between two indices in the file using file i/o operations in c++. HOw can i do i...
[1 reply] : I guess that you will have to read the file until you get to the line ... (by zoran404)
by azura
just take a look at this problem.
 
I need someone who could help me in this problem. I can't give the detail explanation about the prob...
[14 replies] Last: I haven't try it but I believe in you guys and don't worry I will anal... (by azura)
array of objects
 
Hi i am green programmer in c++ ,(small expireine in c#) My question is i have Survivor class. In...
[2 replies] Last: THX (by iliya24)
delete[] gives error
 
the delete statment gives error Error : HEAP CORRUPTION DETECTED: after normal block(#176) at...
[2 replies] Last: Valid indices for an array are 0 to size-1 where size is the number of... (by cire)
The difference between const and non const key
 
So I start thinking about what's the difference between this 2 code map<const int, float> map_da...
[1 reply] : std::map< const int, float > and std::map< int, float > are two di... (by JLBorges)
Beginner C++ programmer, Tic Tac Toe.
 
I'm not sure if i'm on the right track of getting this program to work. I've been writing out differ...
[3 replies] Last: All those if and else/if conditions are wrong. For the top row it sho... (by cire)
C or C++ for game development? SFML 2.0 or Allegro 5?
 
Ok, I know C++ is newer, and both are quite fast, but(I don't know how much) C is faster due to less...
[7 replies] Last: In a nutshell, i can say that c++ isn't slower than c but some program... (by a k n)
Memory Leak why
 
there is memory leak in this program why and how i'll fix it i think i have to make the base class d...
[1 reply] : make the distructor as virtual.. (by kulkarnisr)
by Limne
C++ Linker Problems
 
Can anyone recommend me a site or .pdf where I can learn more about compiling and linking code? All ...
[13 replies] Last: > But then, the #include statement in every dependent file would need ... (by ne555)
A weird runtime error
 
Hello. I am having a very bizarre runtime error at a line. I myself couldn't really deduce anything ...
[2 replies] Last: Yeah its all working sweet and thanks. I am just convinced (when lots ... (by CPlahPlahLearner)
clock like cout statement
 
Hard to explain my issue in the title but, I am trying to understand the clock in terms of c++. A co...
[4 replies] Last: awesome thanks (by kingkong200)
Problem counting the repeated number
 
This function check a set of values from a text file and show it on the output. void MatchNumber(...
[3 replies] Last: ~ bump~ (by aries0152)
Making a text editor
 
Hey guys, I am planning on making a text editor as a side project. I can see right now that it...
[1 reply] : [quote=yelnatz]Am I forced to use Windows programming (win32) here? Y... (by ResidentBiscuit)
sprite animations
 
I want to know because in the game I am making, how can I make the people for my campaign? Like what...
[3 replies] Last: What's that? (by closed account N36fSL3A)
SFML, why can't I create a connect socket function outside of main?
 
Ideally i would like to use this model but im having difficulty, i spent ages fiddling with the code...
[12 replies] Last: tcpsocket.setblocking(false); -_- (by devonrevenge)
error LNK2019: unresolved external symbol
 
HI I changed my compiler from borland to vs2008 and I am having this error fraction calculator.obj...
[1 reply] : Make sure the declaration and definition of showfrac has the same para... (by Peter87)
Pointer question
 
In the code below. I believe I am returning the memory location of the value I am looking for. How...
[5 replies] Last: Actually Disch told you to remove the break, not change its place. If ... (by MatthewRock)
by Snaksa
Binary Tree source
 
Hello! I just want to ask if some of you know good source for learning about Binary Trees. I have fo...
[2 replies] Last: Thank you so much. This is what I need. Function and then explanation ... (by Snaksa)
BitWise operator explanation?
 
Ok, so I'm getting into game development, and (despite what I said earlier) I'm using C++. I'm going...
[4 replies] Last: After a bit of googling, I found this site: http://www.sfml-dev.org/tu... (by Smac89)
How to set the bullet library to GCC
 
Hi, I would like to set the bullet library to GCC. I downloaded source code of bullet but i don't kn...
[6 replies] Last: Thanks, I'm gonna try that :) (by Adam1111)
July 2013 Pages: 1... 1920212223... 34
  Archived months: [jun2013] [aug2013]

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