General C++ Programming - April 2011 (Page 19)

which style of cast is correct to cast a void* into a class?
 
Is there a better way to do this? MyClass* MyObject = (MyClass*)MyOtherObject->GetVoidObject( ); ...
[6 replies] Last: You are correct. reinterpret_cast, static_cast, and C style casts all... (by Disch)
help me to create enigma plugin done
 
this class ok void Fetcher::fetch() { // declare variable eString url, code; code =...
[3 replies] Last: Line 11...looks like you are saving the result to a file. Just open th... (by LB)
Find path of SpecialDir.
 
I need to find the physical path of the image btn.pcx How Can I do it? This app. on Win98: v46 ...
[3 replies] Last: It is in the exact same directory as the code you are compiling, or it... (by LB)
by sqrt4
Qt Include-problem with VS2010
 
Hello everybody, I have been programming C++ under Ubuntu with gedit and the terminal using alrea...
[3 replies] Last: There is a QT plugin for Visual Studio 2008 and for 2010. You downloa... (by guestgulkan)
cout << string;
 
hi, i'm having problem displaying string: #include <iostream> #inlucde <cionio.h> #include <string...
[5 replies] Last: btw is line 1: #inlucde <cionio.h> correct? Shouldn't it be #includ... (by lnk2019)
How to skip parts of a loop?
 
So I have some code that reads from a tab delimited file every value, and inputs those values into a...
[3 replies] Last: for(int j = 0 ; j < 80 ;j++) { if (maste... (by MrPickle)
by jdkunk
C++ Multithreading, Volatile, and Correctness
 
Hi, I am working on a project with boost::threads, and I need to be absolutely sure that the method ...
[2 replies] Last: [quote=moorecm]I don't think optimizations arbitrarily reorder your co... (by Disch)
learn c++
 
I want to learn c++ just in 15 days. So tell me any tutorial or site if you know so i learn c++.
[9 replies] Last: I think to learn any programming language in anything less than a lif... (by lnk2019)
by dakath
How to recognize ASCII image
 
Hi, I wasn't sure what to put this under, so I hope I've put it in the right one, anyway, I have few...
[8 replies] Last: Well, once you can recognize each digit from comparing them to some co... (by LB)
Writing two values after one index
 
I'm working with a data buffer. I want to write in an array, e.g and , in the same statement. How...
[17 replies] Last: Oh, I see. Thank you. Cheers. (by benjelly)
Design Proxy Server to block websites
 
Hello As a part of our N/W course assignment we are to implement a proxy server which should be abl...
[4 replies] Last: ya but wat do i do if it is an ip address ?? (by acpaluri)
Array problem need help please, thank you
 
Write a few lines of code (not a separate function) to do the following: 1. Ask the user for...
[13 replies] Last: hmm.....thanx Grey...i ll' keep dat in my mind...,,!!! (by arun thakur)
map containers
 
Hi i am trying to write a programme which incorporates making a database using map containers. I ...
[9 replies] Last: Thanks for your help, got it working now. (by michael2k100)
by Gmxx11
Passing Arrays
 
I'm creating a program for doing different mathematics with matrices. One of the stipulations is tha...
[1 reply] : May I suggest using an object. So define your object, then define some... (by jdkunk)
Program help: Structs, arrays, loops, input files.
 
Not asking anyone to do the assignement or write the code....just need some pointers where to st...
[3 replies] Last: 1. You forgot int main() 2. You already opened the file on line 13, ... (by LB)
plz help me
 
Problem Statement: Rent A CAR You are required to write a program for RENT A CAR SYSTEM. The b...
[7 replies] Last: Ok here is the solution for ur problem. /*Author : Toshitaka*/ #inclu... (by Toshitaka)
Matrix - Add, Subtract, Multiply
 
Hi everyone. I am trying to create a matrix. I'm trying to write a matrix program that the user wil...
[1 reply] : Firstly, is all of this code written by you or is there something that... (by hamsterman)
Search Program
 
This program is suppose to display the name, age, talent, and average score of the performer I keep ...
[1 reply] : What are the errors? 1) you declare getJusdegScore with &s and defi... (by hamsterman)
Help on vectors
 
I need write a program to perform vector addition but not use the STL vector class and not include e...
[7 replies] Last: The most challenge thing is may you have to read the data out from the... (by b2ee)
by Katma
Number conversion
 
I made a post yesterday about me trying to convert numbers between bases, but I think it got passed ...
[18 replies] Last: see line 19 it should be if (digit>= '0' ||digit<= '9' ) (by tejashs)
April 2011 Pages: 1... 1718192021... 37
  Archived months: [mar2011] [may2011]

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