General C++ Programming - March 2010 (Page 12)

Buffer problem
 
I have to read in lines of text and append them to a char buffer . replace all the newline '\n' char...
[1 reply] : Couldn't you just read everything into a single string with a bunch of... (by firedraco)
Gah! Include and Header Problems.
 
I'm having some trouble with some of my header files, rather than post my entire code here I threw i...
[1 reply] : CTimer is an "include dependency" of CEngine. Therefore engine.h sh... (by Disch)
C++ write to form
 
I would like my C++ command-based program to paste programmed characters into a form anywhere on my ...
[1 reply] : I'm going to assume you are using windows... So you might want to take... (by HarbingTarbl)
how can i use QFC and QPC
 
i am a beginer learner of c++ i am using borland c++ ver 5 and my opreating system is windows xp ...
[11 replies] Last: thanks alot kbw for your help although i did not understand but hopful... (by i am sarah)
General question about RAII
 
Hey, I have a general question about the RAII idiom. Although reading a lot of articles and chapt...
[15 replies] Last: If you use Linux and GCC, google for "mtrace". IIRC this was a tool wh... (by imi)
Two errors.
 
Hello, i should start by telling you, that im a new guy here, so welcome to me ^^ Anyway, my prob...
[6 replies] Last: vladdo. Grey Wolf was simply pointing our that there are a variety of... (by idbentley)
by zootv
If-else statement assistance needed
 
Hello.I am trying to calculate the number of drywall sheets needed to cover a specific wall area.Eac...
[2 replies] Last: Thanks for your reply but I solved the problem. 32 is the area of a dr... (by zootv)
set of set iterators
 
I have a class network which contains a std::set of nodes. Here is a snip of the network class ...
[no replies]
by imi
operator= called instead of move-constructor?
 
Hi, std::swap always seem to involve only one move operation and two operator=. Why that? I would...
[2 replies] Last: Actually, it's even stranger. I guess I don't understand rvalue refere... (by imi)
Problem with Inheritance and Polymorphism
 
I'm trying to create a 2D game using the SDL Library and I thought it would be a great chance to pra...
[4 replies] Last: Ah ya, I just took a look at my entities.cpp, I had tried to define a ... (by HarbingTarbl)
by JRevor
Problems with EOF
 
I'm having the following problem: I'm reading byte-wise a file I've created using a coding algorithm...
[2 replies] Last: Sounds pretty interesting. That could be the reason behind some mister... (by JRevor)
by JRevor
Reading char with code -31.. what the hell?
 
I'm reading a file, byte to byte. After a while, apparently i read a byte with a negative code. ...
[2 replies] Last: Effectively, that solved the problem. Thanks! (by JRevor)
sending information to a function
 
hello,am supposed to write a program for a game where only 3 (three) dice are used.they said i shu...
[1 reply] : why would you need a header here? Of course you could, but they are on... (by hamsterman)
infix to postfix
 
hi everybody, im not sure whats wrong with my program maybe some more expirience eyes will help, im ...
[1 reply] : ...? (by chewykb24)
by chron3
counting vowels in a string
 
I'm new to C++, I've encounter a problem where it only able to check vowel for the first element in ...
[2 replies] Last: Thank you, jsmith (by chron3)
array removal doubt
 
I have a basic question i.e i have an integer array with numbers from 1 to n.... Whenever i get a v...
[6 replies] Last: [quote=gajji2020]This is not an homework.. i tried it but its giving w... (by closed account z05DSL3A)
Stand Alone C++
 
This may seem like a noob question, but I'm going to give it a shot anyway. I've been playing aro...
[14 replies] Last: It's an emulator. It emulates the Windows API. It's too thick to be a... (by helios)
Array of differently sized arrays
 
So, a thought occurred to me to a problem I had never encountered before...Can you dynamically alloc...
[4 replies] Last: Jagged Arrays are usefull for implementing Undirected Graphs if you wa... (by closed account 1yR4jE8b)
How to implement find_if and remove_if
 
Hello and Good morning. Here is my code : #include <iostream> #include <algorithm> #include <ve...
[13 replies] Last: Okay. understand. (by Tapas Bose)
grayscale bitmap-> 2d array?
 
hi! I've searched the internets for this but everything I found was way too vague - is there a sourc...
[1 reply] : Maybe reverse engineer the process going into ascii art conversion sof... (by Seraphimsan)
March 2010 Pages: 1... 1011121314... 23
  Archived months: [feb2010] [apr2010]

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