General C++ Programming - December 2011 (Page 13)

problem with bool and Arrays combined
 
Hi, Im trying to create Sieve of Eratosthenes to find prime numbers up to some predefined integer n ...
[no replies]
Why does this code not work?
 
Problem: keep getting these two error messages and dont know why Error 1 error LNK2005: "class pr...
[5 replies] Last: I'd say, the only globals you really need to have are the ones that be... (by hamsterman)
how to detect will ofstream use \r symbol on writing
 
I'd like to know will ofstream print "\r" symbol on the end of each line (windows/unix systems is po...
[6 replies] Last: As Cubbi says, you can use >> in binary mode and it will not add \r.... (by Peter87)
Template type is a template
 
Suppose we have a template template <class X> class NestedTemplate { ... }; template <clas...
[8 replies] Last: Doesn't help. Code. Or run the debugger to see which line causes it. (by Athar)
A Small Help
 
Check out the following code settextstyle(2,0,5); outtextxy(10,40,"Hello"); I want to i...
[11 replies] Last: I googled a little bit and I found this: http://www.cs.colorado.edu/~m... (by coder777)
by nocrej
C++ 2D Game Engine (1,2)
 
Hi guys, I searched all over the internet but couldn't find the information I was looking for. S...
[34 replies] Last: I am not sure to understand the real difference between an engine and ... (by Jessy V)
by KB2807
Array to bitmap image
 
how to convert a 40x40 unsigned integer array to a 8 bit per pixel bitmap image in c++ i require t...
[3 replies] Last: I think no one will give full code example, for _your_ problem. Becau... (by Ivan Sidarau)
ifstream::open load entrie file into memory??
 
Hello forum, I have a question about whether ifstream::open loads the entire contents of the file i...
[5 replies] Last: The ability to go directly to a line is only really possible if the l... (by Galik)
by Phiru
Can I show UI from Service?
 
I have a project, which perfectly works in Windows XP. However, in windows vista and up, it doesn'...
[2 replies] Last: Hi it seems your question are Windows specific. You may getter respons... (by sohguanh)
Scientific output with captial E rather than lowecase e?
 
Hello, I am trying to make a script to open many files that differ only at the end. The files are n...
[5 replies] Last: Hi , I am getting runtime error when i try this . string s... (by bluecoder)
making file I/O modifiers persistent
 
I'm writing numeric data to several files. I'd like to set the formatting once, and have it remain i...
[no replies]
Hourglass in C++
 
Hi all! I want to make an hourglass program, but the problem is i don't know how to do it! I would l...
[10 replies] Last: If found it. Thank you all for the replies :) (by Donanza)
undefined symbol
 
what is an undefined symbol error?
[11 replies] Last: Note that global variables are not a good thing and it's far better to... (by Moschops)
question about memory usage of a program at runtime
 
HI! I have a question about the way a program handles memory during runtime. If I call a function in...
[6 replies] Last: ok thanks a lot! (by AeonFlux1212)
Rate my Tutorial?
 
This first chapter took about two and a half hours to write, plus some minor editing this morning. I...
[7 replies] Last: Not bad, but there's a few parts where you could improve. I would rec... (by ascii)
by Gldnbr
Reading help
 
I need help reading a line of input in a special way. How do I read a something and split them into...
[6 replies] Last: You can basically read your input as string and then process it. A rea... (by eypros)
string and array
 
i am trying to loop this three times and get a long string with a space in between. however the prog...
[12 replies] Last: OK... i've got the solution =))) should place cin.ignore() before ... (by LEE PEI TING)
help with reading from files : fstream library
 
Hello! I don't know how to read from a file and I have to rewrite my program. I know I have to inc...
[4 replies] Last: @hamsterman Yes,it's just a little bit weird.Indeed,it is 5*n. I haven... (by PlusPower)
[Imaging] Textures and shaders
 
Hello everybody (I'm French, escuse me for my mistakes) :), So, I would like to know if you know ...
[14 replies] Last: Ok :) thanks you for all ;) and good continuation on this website :) (by paladice)
Using contents of a linked list in multiple places
 
Hey guys, I'm having trouble with one aspect of a project I'm working. I'm designing a grade book ap...
[2 replies] Last: Peter87, Thanks man, that's exactly what I wanted to do. Logically it... (by wrigley06)
December 2011 Pages: 1... 1112131415... 39
  Archived months: [nov2011] [jan2012]

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