General C++ Programming - April 2009 (Page 16)

Bool Question
 
Well...It looks fairly simple and I could do this myself. But one thing I don't understand is how co...
[4 replies] Last: I'm sorry, I said that backwards. If it finds a factor, is_prime shoul... (by Gumbercules)
Newlines in text files I/Os
 
Hello. I am writing this program for a class I'm taking and I'm encountering a problem. My text file...
[2 replies] Last: Oh, thanks, but I just discovered my problem, I have to move the curso... (by daevashiara)
Problems with vec.erase
 
I wrote a program that is reading a text from a text file. The program should erase all double words...
[11 replies] Last: because i am not really sure how to use it. (by MarcusTx)
return 0; ...
 
This program succeeds, and its runs but, it doesnt to anything. Everytime i run it the "press any ke...
[3 replies] Last: nvm, ha thanks, sorry im a doorknob lol. (by chewykb24)
by ilyes
example and use of a template
 
hello i would like to create a template because i really need it! so i had focus an example but ...
[3 replies] Last: read also: http://www.cplusplus.com/doc/tutorial/templates/ for more e... (by Bazzy)
vector = automatic memory leak!??!?!?
 
Is this a fake memory leak or what? How come a vector trips the _CrtDumpMemoryLeaks() into saying th...
[10 replies] Last: I actually did it is a global variable ( which might be ok if it is th... (by guestgulkan)
share data between two applications
 
Hi everybody, I have two applications that share memory with each other. As I understand it, I ca...
[4 replies] Last: the easiest is to use #pragma share region. :) something like this: ... (by writetonsharma)
by Deimos
File Parser...Anyone?
 
Hey everyone, I'm currently working on learning the basics of game development using a (very nice...
[5 replies] Last: hahahaha... me too will go with xml.. because its not related to wi... (by writetonsharma)
GUI Console
 
I have created many console applications with that boring black screen. Does C++ console applicatio...
[18 replies] Last: Well I didn't take offense by any of that either. ^^ Obviously I c... (by Disch)
by sadi
why it write the last twice??
 
good day all; I have a question says Write a complete C++ program that keeps read numbers from...
[4 replies] Last: Oh, thanks (by sadi)
Infinite value
 
Hallo Is there any predefined constant in C++ which I can use for infinite value. I have lots of ...
[2 replies] Last: better is numeric_limits<double>::infinity() http://www.cplusplus... (by Bazzy)
Exception/assertion error
 
I am trying to add time to my program and I keep getting these "Unhandled exception" errors. Can any...
[15 replies] Last: If you use initializer lists, you can avoid this kind of problem, at l... (by jsmith)
retrieving data from a file.
 
I am getting large negative numbers like the data from the .txt file isn't being read. Here is the ...
[3 replies] Last: Thank you very much. You were most helpful. (by Rowland1965)
by Gaylle
how to add a new project template
 
helle everyone. i would like .txt files (notepad) to be an option when i want to add a new project i...
[1 reply] : what?? pls explain. (by writetonsharma)
The logic of sinc function.
 
I'm having trouble with a problem. The problem asks that I use the sinx/x function and produce a ta...
[2 replies] Last: Yes, but additionally how would I continue the table for the interval? (by bookercorey1)
Algorithms
 
Hi Im pretty new to c++ and im still in the basics,but I've been seeing a lot of texts on algorithms...
[2 replies] Last: Or are you asking about the algorithms in the general sense? In t... (by jsmith)
Problems with file I/O
 
Hi, I'm reading a ppm image file into my program. Its a binary file with some comments and image in...
[1 reply] : they must have found a eof character in the file and must have stopped... (by writetonsharma)
Threading in C++ (under Linux)
 
Hi all, I am about to use threading in a C++ application for performance reasons. I have read tha...
[3 replies] Last: use pthreads on linux/unix. you can find lots of tutorials on web. (by writetonsharma)
making a game for uni
 
hey guys I'm studying games design in uni at the moment as part of our course we do not learn C++ an...
[no replies]
by mwaser
NURBS library
 
hi all i'm looking for a nurbs library in c++. does anyone know a good source? i'm workin with...
[2 replies] Last: yes. this version of nurbs++ seems too have problems when compiled wit... (by mwaser)
April 2009 Pages: 1... 1415161718... 20
  Archived months: [mar2009] [may2009]

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