General C++ Programming - August 2011 (Page 3)

interview questions
 
Does anyone have any links to code problems? I am looking for code problems where the question is...
[5 replies] Last: Thanks for your link! It's interesting. (by helianthusdd)
extremely weird behaviour by the simplest of functions
 
For the life of me, I do not understand why a single call to this function (from the main program) e...
[1 reply] : Post all of your code. (by hamsterman)
a problem about typedef keyword
 
Will you please explain me following typedef: typedef WCHAR TCHAR, *PTCHAR, PTSTR; (Term means...
[2 replies] Last: Thank you very much . I got . (by misserwell)
How do I use a call-by-reference char??
 
I don't know how to use a char in a function where I call it by reference. Here is my code. The i...
[1 reply] : | should be ||, even though I don't think it can do any harm. fabs do... (by hamsterman)
Class access specifiers - Very confusing programs - Help please
 
Hello friends, I work in a MNC and as i was going through the C++ learning material, i came across ...
[no replies]
Switches Gone Wild
 
I was reading through the source of boost::asio just a few moments ago when I stumbled across a piec...
[3 replies] Last: I don't think that code was meant to be read by anyone :s (by shacktar)
Time Analysis of C++ functions
 
I am having trouble with this function Please help the following questions... Show (a) the exact nu...
[2 replies] Last: int x=1, y=x--, z=--y+x; Looks like someone has a sense of humor.... (by helios)
XRandR on Ubuntu
 
I'm trying to link SFML statically on Ubuntu, and as such I need to link to all of it's dependencies...
[2 replies] Last: Thanks - it was Xrandr . PS: Sorry, I forgot to mention that I'm usi... (by anonymous23323124)
Color c++
 
I'm making this bouncing ball in c++ and SDL, but I want the .png ball to gradually change color, is...
[2 replies] Last: The best thing you can do is have code that creates the properly-color... (by Duthomhas)
help
 
I would like you to help me writing a small program that initializes the name weight and sex of 4 p...
[3 replies] Last: If you are an absolute beginner, try the tutorial on this site: http:/... (by anonymous23323124)
Linked list of different classes
 
I need some way to declare a linked list (or vector) where each element may be of any class. Unfort...
[no replies]
by Miss k
C++ Access Violation Exception?
 
Hi all I am getting an access violation expection error in the function code below though everyth...
[4 replies] Last: It turned out that the linked list was not intialized properly The ma... (by Miss k)
Empty abstract base class
 
Is it possible to declare an empty class (without any member functions or variables) ? I need it ...
[1 reply] : Is it possible to declare an empty class (without any member function... (by Athar)
using if +break, new post
 
Thanks in advance, and sorry for post it again just to make it clear for the us but I need to d...
[2 replies] Last: exactly !condition2 but how do u fit the for loop and if together bcz ... (by john1984)
using break !!
 
Hi guys I want ur help in this plz, I want when the first if gives true, do the statements and break...
[10 replies] Last: Thanks ne555 for the reply but I need to do the same code in both if ... (by john1984)
Relational Operator Overloading
 
I want to overload the relational operators (<, >, <=, >=) as member functions but I can't seem to g...
[8 replies] Last: @andywestken Well spotted, absolutely right. Needs to be const. @d... (by Galik)
search and replace string
 
Greetings, Please help!!! I have a load of csv files which I need to format and create a pdf. Thi...
[1 reply] : bump Please, if you review this and have no solution, please reply wi... (by indepthcomputer)
by Zeeb
Adding and comparing with a vector also whole numbers
 
What i want the program to do is.. 3/2 = Add 3 to a vector since dividing it by 2 gives an uneven...
[5 replies] Last: You need to use another loop rather than a long line of tests. Before... (by andywestken)
Increasing The Number of Decimal Places in C/C++ whit GMP
 
Could anyone help me? I need to make some calculations using a precision very high, then I insta...
[no replies]
Storing simple Information structures on harddisk
 
Hey fellows, to gain my first experiences with c++ I decided to implement a simple vocabulary tr...
[2 replies] Last: As you're storing strings anyway, the delimited txt file approach is p... (by andywestken)
August 2011 Pages: 12345... 29
  Archived months: [jul2011] [sep2011]

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