General C++ Programming - September 2008 (Page 3)

How do I make a game with c++
 
Hi i've learned the basics of c++ and now I want to make a game like Quake. Jk Jk I'm not THAT stupid... Anyways all the tutorials i've looked at online just sh...
[12 replies] Last: Use SFML, it's somewhat similar to SDL but has a more object-oriented ... (by ebarroga)
which is more efficient?
 
Hello, This is a memory manage topic. Which of the following is more efficient from the running time point of view? Suppose you have an array which never ...
[8 replies] Last: Ok. I see. Thanks a lot! Now I am more confident with what I am doing ... (by aortizb)
by lipune
debug
 
Hi frnd Will u tell me how to debug c++ code in unix platform.if possible give some link or good site so dt i can know more.
[1 reply] : Look up gdb or xgdb or ddd. There are a variety of debuggers availabl... (by jsmith)
by lipune
library
 
what is static ,dynamic and shared library,,,,plz tell me with some example.How we know how many library used in a program.
[1 reply] : http://en.wikipedia.org/wiki/Library_(computing) http://en.wikipedia.... (by helios)
qsort how :(
 
I know in iostream there is a qsort but what arguments do I put in qsort()
[3 replies] Last: http://www.cplusplus.com/reference/clibrary/cstring/strcmp.html (by helios)
by lipune
stl
 
What is hash table and arraylist in c++ stl,plz tell me with some syntax.
[1 reply] : http://www.cplusplus.com/reference/stl/vector/ There are no hash im... (by helios)
Converting tu uppercase
 
Hi, how can I convert a std::string to uppercase or lowercase? thanks
[1 reply] : look up std::transform (by jsmith)
Finding out the last non zero number in the factorial of a given number
 
If we have a number like 92928212819319231923192312313212312 (means the size can be any thing) so how can i find the last non-zero number in its factorial. Usin...
[10 replies] Last: There may well be an algorithm that exists that can do this. I haven'... (by jsmith)
how should I reallocate a STL vector member?
 
Hello, I have a vector member and want to reallocate memory. Say I have 10 elements in a vector "vec" and I don't need them any more, so they can be erased o...
[12 replies] Last: ok, i see. So, at each "i" I am creating another vector but the previo... (by aortizb)
C++ output irrational numbers
 
Hi!! I just started programming in c++ and I am using DevC++ to program in. I am working on something to help me with my trig homework, and I would like to outp...
[9 replies] Last: @PSPMAN90 Are you talking about irrational numbers? or regular inte... (by spy4hearts)
by lipune
c++
 
HI .......why we can not overload malloc function as new can overload,,,,,we have function overloading like we can overload malloc fun or not,,,,then why can no...
[5 replies] Last: If you are using linux/glibc, then man malloc_hook. This will allow y... (by jsmith)
Font chracters taken using char() will vary in other platforms?
 
Hello all, I am creating a phonetic converter using standard C++. English letters are converted to other language. I am using "char(number)" to get the chara...
[1 reply] : I don't understand what exactly it is you're trying to do. char(numbe... (by helios)
problem in oops
 
hi everybody...........i know how to code in c++........all loops.....but when it comes to class or implementing loops everything is worse 4 me........help me o...
[3 replies] Last: Vagueness is the programmer's enemy. Do you have questions in particul... (by helios)
while vs for loop
 
can u give an example where a for loop cannot replace while loop?
[7 replies] Last: There's still that semicolon at the end of the for, making it an empty... (by helios)
by anil79
Base class with pointer members
 
Hi, Iam trying to do something very similar to this: class base{ public: base(){x=0; y=0;} base(int the_x, int the_y){x=the_x; y=the_y;} protected...
[5 replies] Last: @Anil79 Seems you did not understand the basic concept of a pointer i... (by satm2008)
Need assistance with bankclass - C++
 
It should display/out these results 1. Use “prompts” so that the user knows what to expect, what to do, and how to do it. For example: Enter withdrawa...
[1 reply] : What is the problem you are having? (by jsmith)
by Kidd87
linked list problem
 
my text file looks something like this 1234 jack hammer 75.00 .45 10 5678 Daffy Drill 25.00 .67 10 9887 Flash light 30.00 .87 10 ...
[1 reply] : All you are doing is reading the pid field and nothing else. The seco... (by jsmith)
new to c++
 
i m a begineer in the field of programming.... so can u help me to choose an efficient way to become a sucessful programmer???? which book should i prefer??...
[no replies]
by labem
Binary read of cin
 
Hello, I work with Visual studio 2005. I am currently trying to make a binary read of cin file as follow: int main(int argc, char *argv ) { char rea...
[3 replies] Last: Pb is solved by adding the following line before first use of cin: ... (by labem)
IDA -> Inline Assembly [Possible]??
 
I am trying to write something in Visual Studio using inline assembly, but not quite sure how to convert from IDA view disassemble. At first I thought that if I...
[11 replies] Last: That link was useful. If you get hung up anywhere I (or someone else h... (by Duthomhas)
September 2008 Pages: 12345... 11
  Archived months: [aug2008] [oct2008]

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