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

Usage of the faulty number type
 
I have the following problem that is quite complex and I don't have a clue how to solve it: --- ...
[1 reply] : can we say, this is (fromInt)*(fromInt+1)*...*(toInt-1)*(toInt) eq... (by writetonsharma)
function undeclared error
 
I'm compiling my first multilayer perceptron, and this error keeps coming up in compile. 30 C:\...
[2 replies] Last: oh wow.....Once more I fail hard...lulz. Well thanks jsmith. edi... (by Seraphimsan)
Function map
 
I'm trying to make an application that stores pairs of the type <std:string, Function> into a std::m...
[10 replies] Last: Faster? I don't know. Consider that printf() takes a format string t... (by jsmith)
Undefined reference errors
 
Hi, I am unable to build the following program but do not know why. I have a header SmartEnum....
[4 replies] Last: I understand, but how come this links and compiles without error or wa... (by Confused)
Clarification on templates
 
Hi, I have a class mentioned below template<class TYPE, class ARG_TYPE = const TYPE&> class ...
[2 replies] Last: struct Node needs to be struct Node { struct Node* pNext;... (by jsmith)
Vectors
 
Hi, i am trying to using vector. but is facing error. the error is" error C2679: binary '<<' : no o...
[2 replies] Last: tks. i check my displayVoucher function and realise that is also have ... (by littleimps)
c++ templates linker problem
 
Hello I have an assignment for linked lists using inheritance & templates I have a list that can t...
[2 replies] Last: Thank you U saved my life friend It s been 5 hours trying to find w... (by giorkosman)
Dynamic C strings troubles
 
Hey everyone, First off, I used to use string - the type - all the time. That's what I learnt to us...
[7 replies] Last: Sounds good. I mean, sure, pain in the butt, but at least it's better ... (by Synthmon)
cant understand Virtual destructors and no constructors difference?...
 
Hello all!... I went through few study material, and understood why virtual constructor can't be ...
[1 reply] : if you have a hierarchy of parent/child classes, you need to call fir... (by elvis)
TEXT preprocessor macro
 
Can anybody tell me if the TEXT preprocessor macro is "platform-independant" (assuming most common p...
[1 reply] : _T, TCHAR and TEXT are Windows specific. (by kbw)
C++ and XML-RPC
 
Hey guys, I've been looking all over the next to find a good solution for C++/XML-RPC. But tho...
[no replies]
size file problem
 
Hi everybody, I have a problem with the size of a file. I have this code: while(run_tcpserver...
[2 replies] Last: Thank you for the answer kbw, now it works properly and I didn't ch... (by radeberger)
e-mail, FTP, and libraries
 
Ok so i wanna make a program that sends files between computers so e-mail or FTP but can someone tel...
[2 replies] Last: will winsock2 work? it says it only allows TCP and IP protocols? Also... (by closed account 41hCpfjN)
whats wrong with this programme
 
can some 1 help me check where is the error...the logic shld b correct #include <iostream> #incl...
[7 replies] Last: What kind of error(s) do you have? What does your compiler say when yo... (by Matt23488)
c++ console colors
 
I just wanted to ask is it possible to use colors when program is running in console? Thanks!
[3 replies] Last: Aaiiiiiiieeeeee! If on Windows, use #include <iostream> #inclu... (by Duthomhas)
by g0dwyn
Inheriting from Template Class
 
Hey everyone, While designing a Singleton class for an app I'm creating, I looked at the Ogre imp...
[4 replies] Last: Turns out it was all due to unrelated namespace errors. Thanks for yo... (by g0dwyn)
stack smahing
 
does anyone know a way to stop stack smashing?? my program does what its spose to do in terms of ...
[3 replies] Last: Stack-smashing refers to a specific kind of exploit where an unchecked... (by helios)
queries to mysql using c++ builder 2006
 
Hi, I have to make some queries to a mysql database using c++ builder 2006 because I have the select...
[1 reply] : No. Neither INSERT, DELETE, or UPDATE are queries, so you can't use a... (by helios)
3 Column IPO Chart- Urgent
 
I saw this piece of code which I tought was interesting. However, since i'm new o programming can so...
[2 replies] Last: Thanks for responding. No, this is not a home work, just that i'm tryi... (by Alexis1)
enum
 
hey ive looked on the net and other places but cant find a way to do this so i thought ill ask her. ...
[5 replies] Last: see thats the thing i dont want to use an enum but its a small sectio... (by kempofighter)
April 2009 Pages: 1... 7891011... 20
  Archived months: [mar2009] [may2009]

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