General C++ Programming - March 2009 (Page 11)

by dkhosh
overriding global operator new default definition
 
The reference page on operator new says: * The first and second versions are implicitly decl...
[no replies]
Volatile variable
 
I have a volatile variable in a class. Want to write a function that returns the address of this var...
[2 replies] Last: But don't you think, their use is different. As volatile int means, it... (by rachitagrawal)
Copy Constructor
 
Well this question is similar to what I have earlier asked about destructors. But I just want to con...
[2 replies] Last: To answer the other question, the compiler always gives you a member-w... (by jsmith)
by sable0
Stack issues
 
sdfsdfsdf
[9 replies] Last: Well, you wrote the code for the Stack class, so you should know. Y... (by jsmith)
by masiht
problem in the program
 
I have asked alot of question about this program but still not able to sovle it can any one tell me...
[8 replies] Last: if you want more than one statement in an if block or an else if block... (by jsmith)
Execution Time
 
I have a simuation code. Where I write a lot of data into the file. And I don't close the file until...
[5 replies] Last: To what medium are you writing the data? Hard disk? It is probab... (by jsmith)
reuse a socket connection
 
Hi everybody, How can I terminate a windows Socket only for one thread and not for all thread (fu...
[no replies]
Having trouble with plugins.
 
Ok, I am relatively new to C++, but not to General OOP, so I thought this would be a more appropriat...
[4 replies] Last: Ok, thanks, I will give that a try. I have one problem with your imple... (by EntityReborn)
by sable0
Issue with stack and fractions program
 
My goal is to implement a stack of fractions. Put 3 fractions on the stack, retrieve them and print ...
[no replies]
how to block a socket indefinitely
 
Hi everybody, When a socket is created, by default it is a blocking socket. Under blocking mode s...
[3 replies] Last: Hi averybody, My program receives the first block of data and after... (by radeberger)
block a socket
 
Hi everybody, I have a TCP server application which receives blocks of dummy data. The first time...
[4 replies] Last: see.. you dont have to accept again and again for each block of data. ... (by writetonsharma)
Call ofstream::write with a stringstream type
 
I'm trying to write out a binary file. I have the data correctly inside a stringstream but the ofstr...
[2 replies] Last: Thank you! (by sampsont)
Read numbers from text file
 
hello, i'm trying to read a text files into string and to output that strings this's my text file...
[2 replies] Last: while(is.peek() !=' ') peek will always return the same character ... (by Bazzy)
by masiht
unable to correct this program
 
I trying to make this program .I tried several techniques to fix it but nothing worked for me .Can a...
[3 replies] Last: #include<iostream> using namespace std; double MilesperGal(double... (by onur)
Parsing.
 
Hello, I want to use oop and STL etc to parse a buffer. My Buffer contains ABCDXXXX333$$$$...
[1 reply] : I know that wxWidgets version of <string> has .Net like methods (one u... (by EntityReborn)
by bluRry
matrix with for loop
 
hi everyone ! how do i get this goin ? i am total lost at all this c program . i am suppose to make ...
[3 replies] Last: First.....ignore my last post.. it is marred by obsfucation The follo... (by buffbill)
Globally declaring an object with arguments
 
Hi Guys, I have a class voInterpreter.cpp and it has a constructor voInterpreterClient::v...
[2 replies] Last: Hi Jsmith, First of all thank you for your advice. So, can I us... (by bharusri)
use ispunct to remove the punctions from the string then print the new string
 
use ispunct to remove the punction in a string then print that string without punctions #include...
[3 replies] Last: Bazzy just paraphrased what your code actually does. (by jsmith)
Opening and use PowerPoint file
 
Hi everybody! I've a question: I've to manage a .ppt file (or .odt) by a c++ program. In particula...
[7 replies] Last: 1. the easiest way will be to write macro in powerpoint. it has some ... (by writetonsharma)
Error C2065 Cout Undeclared Identifier
 
I recently downloaded VC++ and I keep getting this error whenever I try to compile my programs. I...
[3 replies] Last: #include iostream and use namespace std in screen.h. (by writetonsharma)
March 2009 Pages: 1... 910111213... 21
  Archived months: [feb2009] [apr2009]

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