General C++ Programming - January 2010 (Page 11)

Formatting a double number without rounding off
 
Hi, I wanted to know is there any way to represent the double number without rounding it off. We...
[6 replies] Last: I see. Thanks Disch. Well how about converting the input to array f... (by olredixsis)
C++ GUI Toolkit for use with OpenCV
 
I will be doing a final year Electrical Engineering project using OpenCV this year, I'm starting to ...
[3 replies] Last: Cool, thanks I got FLTK with Dev-C++, and it seems good, but are th... (by ahkcasfm)
windows sockets (WINSOCKS) problem (1,2)
 
Good Am/Pm, I'm currently creating a client server application and I'm using Visual Studio 2005 a...
[21 replies] Last: Hello Guys, Yes I'm checking the recv return codes. The "ByteRe... (by syncopath)
by jakem
Change Pointer via function call
 
Pretty sure this is just some silly syntax that Im having trouble grasping. Im pretty familiar with ...
[8 replies] Last: You have been more than helpful iharrold. Thank you for all your help.... (by jakem)
problam in filing
 
hi my friends i am iranian, i cant speak english good yet !!! please see my code , and help m...
[4 replies] Last: i cant show all records of file , The show function write one rec... (by mabbaszadegan)
by Nikhar
Whats wrong with the following backtracking "Knight's Tour" program?
 
I have made a program to the follwoing problem:- Another chessboard puzzle (this one reputedly...
[11 replies] Last: Oh jRaskell...thanks a ton for your help! I absolutely love you :D :p ... (by Nikhar)
Debugging null objects
 
I was wondering if there's a language-level construct or gcc directive to accomplish the following e...
[7 replies] Last: Something like this may work in a pinch: template <typename T> st... (by PanGalactic)
by paul23
vector iterator dereferencable?
 
Well first time I receive such a warning: I'm using VS 2008, and I get a debug-error (pop up window)...
[6 replies] Last: Oh, yes, your find_if() function returns an iterator into the vector<>... (by jsmith)
Recursion and for loop
 
Hello, i'm creating a program that solves graph problems, and, for searching for a shortest way f...
[1 reply] : What you are describing should not be happening given the above code. ... (by jsmith)
#include <sstream>
 
what is #include <sstream> used for?
[3 replies] Last: it is the same as the directives iostream which is useful for input ... (by magnag)
by yag
memset causing coredump
 
I have a below line of code which i think the source of coredump memset(msisdn,'\0',10); can a...
[5 replies] Last: A program should not crash by calling memset() like that on such an ar... (by helios)
What does the Data area contain ?
 
Hi there! According to this: ---> http://en.wikipedia.org/wiki/Data_segment RAM area conta...
[5 replies] Last: What part of my response was unclear? absolutely not... I meant an... (by iharrold)
what is the difference between == and =
 
what is the difference between == and =? i tried this out with a primitive calculator that i create...
[3 replies] Last: tyvm i get it now (by marvolo1300)
memcpy
 
Hi, is it correct(I mean "norm correct") to use "overlap" pointers as parameters of memcpy function...
[3 replies] Last: It's exactly what I need to know. Thank you so much! (by Mihulik)
factorials
 
Hi I'm trying to write a program that prints out a table of factorials in the range of 1 and 10 and ...
[7 replies] Last: ok thanks :D (by coolProgramer5)
by vichor
Private friends
 
Hi, I've got a problem with friend functionality. Hope you can help. I've got two classes with...
[5 replies] Last: you made LandMark to be a friend of LandObject, friendship isn't symme... (by Bazzy)
by ggf
C++ linkage error
 
I am porting a code which ran on HP unix to CentOS. It was a working code and compiled with gcc3.1.x...
[4 replies] Last: I'm not sure if this helps or not, but when mixing C and C++ I always ... (by moorecm)
Simple Graphics C++
 
Hello all Is there any simple graphics library in C++? My requirements(as mentioned below) are ve...
[7 replies] Last: Old and depricated... but easy to use and lightweight non the less.. ... (by iharrold)
by gipark
Reading data from a file, basic.
 
I want to read columns of data from a . dat file and store them in an array. my data file looks l...
[4 replies] Last: Has anyone tried reading the numeric data like this: #include <fst... (by moorecm)
tm structure filled wrong by the system?
 
Hey, i have a problem with the following code... more precise with the tm structure. when i run ...
[3 replies] Last: oh ok... thank you and sorry for this... have to read the libs more... (by Incubbus)
January 2010 Pages: 1... 910111213... 17
  Archived months: [dec2009] [feb2010]

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