General C++ Programming - June 2010 (Page 9)

char cannot convert to *char
 
I have a char a ; char name ; when i write: if (a =='name') c++ give me the error char can no...
[4 replies] Last: First, single quotes can only be used to identify one character. Seco... (by kempofighter)
by namus
using operator<<() , how to display base class members?
 
#include<iostream> using namespace std; class A { private: int a ; ...
[2 replies] Last: cout << (A&)x; (by kbw)
question about "const"
 
class BinarySearchTree { //... public: void ...
[5 replies] Last: Got it! Very clearly explained! Thank you a lot! (by jeffreybalala)
return any type without boost::any (1,2)
 
Thats common situation, when working with a db a user can choose some data and pass them for further...
[24 replies] Last: The problem is inherited from the existing code and, as often, the way... (by saraksh)
Destroying the object in OpenGL
 
Hi all I wonder if it is possible to create an object with something like glSolidCube() destroy it ...
[1 reply] : glutSolidCube does not create an object. It only draws a cube. example... (by hamsterman)
by everid
how to turn on the compiler optimizer?
 
hi masters, i'm reading inside the c++ object model, in chapter 3, it mentions things such like "t...
[7 replies] Last: Well, that's not the whole story. There are in-between optimisations -... (by Galik)
C++ read online text file
 
I need to find some way to read from an online text file, but I'm not quite sure where to even start...
[2 replies] Last: Thanks, I'll look into those... libcurl looks pretty promising. EDI... (by tfkillzone)
Local c++ communities
 
Hey everyone. I was wondering if anyone knew if there were any programming groups/communities in Po...
[no replies]
WriteFile to a named pipe client?
 
Hey guys i was referred to this website by a friend. He said you guys are awsome with replies. Anywa...
[1 reply] : I would expect overlapped I/O to be used if PIPE_NOWAIT is specified i... (by kbw)
by PRR
Test for certain key entry's
 
If I am using getche to capture a single character input or may begin using getch instead, and the...
[1 reply] : I think that some of this is handled for you, but if you are just read... (by idbentley)
typedef in a templatised struct
 
Please can someone explain why this code won't compile? #include <boost/bind.hpp> #include <boo...
[13 replies] Last: Stupid little example, but hopefully demonstrates the idea. #inc... (by jsmith)
compilatiion error for static member function defination outside class.
 
Hi , I'm new to the c++, please can anyone explain can we define static member function outside t...
[3 replies] Last: Thanks galik, i was using static prefix in definition part of stati... (by santoshkb)
Best IDE
 
What is the best C++ IDE? I am in particular looking for code templates or insertions to make codin...
[8 replies] Last: I'm guilty of using VS 2010 as my windows IDE. It really is better th... (by Bazzy)
Regarding my project!(problem)
 
Friends, I 've choosen distance converter as my project.Main theme of my project is to convert kilo...
[4 replies] Last: Thanks! If i want to include weight converter too in your program t... (by PeAcHyLiCiOuS)
by annwah
UDP sendTO and ReceiveFrom
 
Hi,i want to test the following function in POCO:sendTo -> Returns the number of bytes sent, which m...
[1 reply] : Maybe i should ignore the return size(nSendBytes) and continue send th... (by annwah)
by PRR
Array and Pointer problem
 
I am experimenting with the single dimension array, using char string and then try to pull out the a...
[9 replies] Last: Awesome!! Thanks.. (by PRR)
by paulin
problem with the output...
 
Hw to change the output as below: Enter integer:3 3 Enter integer:8 3 8 Enter integer:5 3...
[2 replies] Last: thanks! (by paulin)
by roohan
graph seg faults
 
So iam new to c++ , iam taking it in college right now and iam still very new to it. So my problem i...
[no replies]
Reading the absolute file-path as sorted
 
I wanted to read out the absolute file-path (filename) as sorted in a folder (on Linux). The reading...
[2 replies] Last: No, not always. It comes first always a string, this is fixed. Then yo... (by nasil122002)
by Leegit
Writing to file, char * corrupted data
 
I am trying to write data to a file so that it can be loaded in the next time around...when I save t...
[16 replies] Last: You can cast like so. but remember it's const for a reason. never pla... (by bigearsbilly)
June 2010 Pages: 1... 7891011... 18
  Archived months: [may2010] [jul2010]

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