General C++ Programming - September 2011 (Page 29)

Call class function without creating an object?
 
Hello people of the world! This is my glob.h file: #ifndef GLOB_H #define GLOB_H class ampla{ public: void glob_function(); }; #endif // GLOB_H...
[2 replies] Last: Yes, this worked fine, thanks :D (by hakermania)
streambuf::overflow && streambuf::xsputn
 
Why my source doesn't work? #include <iostream> #include <streambuf> #include <locale> #include <cstdio> class outbuf : public std::streambuf { protect...
[1 reply] : up! Please (by FrancescoItaly)
postfix evaluation for more than 1 digit
 
Hi guys!! I made a program to convert an expression to postfix and then evaluate it!! But I don't know what modifications i should do to to make it work for ...
[no replies]
Whats a low-order byte or an high-order byte?
 
In the C Reference Manual, Denis Ritchie says, "...a character constant of length 1 has the code for the given characters in the low byte and 0 in the high orde...
[11 replies] Last: I do believe that there's no name for them; they're just the middle ... (by closed account zb0S216C)
is my program correct ?
 
write a program that is able to compute some operations on an integer. The program writes the value of the integer and writes the following menu: 1. Add 1 2...
[1 reply] : It's not right, because you check 'a' instead of 'MenuIn'. Do a look h... (by Syuf)
help me pls.
 
can anybody help me with this : (consecutive numbers)Write a C++ application that lets the user to input a sequence of consecutive numbers. In other words,...
[5 replies] Last: now, i know my errors. thank you so much ! your great ! :) (by enaideam)
redirect hdd reads?
 
Whats the best way of redirecting hdd reads to another location? Can i do it at file system level or would i have to get lower?
[6 replies] Last: yes but first the OS still has to get to the symlink on the drive to b... (by hazarada)
C++ Console App Run in Backround
 
Hello :D I finished making a console app in MS Visual Studio 2008, except I need it to run in the background, so its not visible. Is this possible? Thanks...
[3 replies] Last: I trust you don't worry :) (by Mohammed Abdul)
by drdoc
HELLLPPPPPP loop problem
 
I successfully get the program to loop but unfortunately I cannot input data for my second formula and help would be welcome please and thank you! ##########...
[4 replies] Last: Also, you pretty much run the same code twice. Unless this was intent... (by Stewbond)
Question on a cool and unique topic?
 
Anyone familiar with openCV? I searched everywhere but couldn't find any tutorials. Could someone recommend me a few tutorials that assume your completely new t...
[1 reply] : I searched everywhere but couldn't find any tutorials. Googling for ... (by andywestken)
by madjas
flags
 
can somebody explain me the meaning of flags and how it works??? tank you
[no replies]
About output of Assembler pass1
 
#include "stdafx.h" #define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <string> #include <cstdlib> #include <iomanip> #include <fstream> usi...
[no replies]
invalid conversion from const char to char
 
Hi i'm working on a program that is designed to take up storage space on a computer. However i am getting problems on lines 32, 37 and 42 saying "invalid conve...
[1 reply] : [co de] "Please use code tags" [/co de] A char can only store 1 ... (by ne555)
Sockets?
 
The program compiles fine, but when run it keeps displaying "Run Failed". Anyone know why? Thanks /* Created September 1st Displays IP of host (IPv4/IPv...
[5 replies] Last: Sorry, I didn't pay much attention to the source the first time I glan... (by closed account DSLq5Di1)
by EoD
delete - deleting 'void*' is undefined
 
I got a warning in my compiler build log src/gCalcFunc.cpp:567: warning: deleting 'void*' is undefined I tried to apply the patch http://pastebin.com/pcTtwX...
[4 replies] Last: Oh, that's a stupid mistake. Thanks a lot! :) (by EoD)
Json Serialization (Marshalling and unmarshalling)
 
I need some example of how to serialize/deserilize from Json format to Object and from Object to Json. I used this example http://www.boost.org/doc/libs/1_47_0/...
[no replies]
by ner0
C++ code to delete specific hex bytes from file and insert other bytes without overwriting data
 
I've been roaming the internet for days now in search of something that would help me achieve what I need but so far I've been unable to... I'm trying to "sanit...
[5 replies] Last: ...and after a while it turns out I am unable to do anything. I got th... (by ner0)
Gesture Recognition?
 
I was wondering how hard it would be to create a project that recognizes basic gestures (hands and head) through a webcam. How long would this take, how hard wo...
[no replies]
Socket Programming?
 
Anyone know what ai_flags does? Its a function of addrinfo Thanks
[4 replies] Last: Im sorry but Im not sure what bitfields are. Would you say its import... (by TheCreator)
6 ????
 
Hello, Why the following code result is 6? #include <iostream> #include <conio.h> using namespace std; int main () { int i=1; i=(++i)+(++i); cout...
[5 replies] Last: But just to reiterate what helios is saying... the compiler doesn't h... (by Disch)
September 2011 Pages: 1... 2728293031
  Archived months: [aug2011] [oct2011]

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