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

by jsepia
Header being included twice, despite prevention
 
Hi, I'm trying to compile a C++ project imported from Dev-C++ to Netbeans. I'm using MinGW under Win XP x64. I didn't like Netbeans' makefile so I wrote my o...
[4 replies] Last: #pragma once works exactly like include guards. The file has both #pra... (by jsepia)
Connectig to e-mail
 
Is it possible to create an application capable of logging in to your hotmail account? Or any web-based account?
[1 reply] : It's called e-mail client. (by helios)
by JCED
invalid use of member 'foo' in static member function
 
When I try to compile this: Shape.h /* * Shape.h * * Created on: Aug 3, 2009 * Author: jordy */ #ifndef SHAPE_H_ #define SHAPE_H_ #inc...
[2 replies] Last: Thanks! It works now. :) (by JCED)
Arbitrary precision inverse matrices
 
I am looking for software that I can use to calculate the inverse of a matrix to arbitrary precision. For the past few days I've been searching using Googl...
[4 replies] Last: I'll take a look for them. In the meantime I am having some difficulty... (by Corsican)
by DeizR
Using cin.putback() in different compilyators
 
Hello to all. #include <iostream> #include <cstring> using namespace std; int main () { while (cin) { char ch; do { cin.get (ch); if (...
[no replies]
Compiler limitations??
 
I am using C++ Borland Builder for Windows version 6.0 to study the book Thinking in C++ Vol 1. The code below does not run unless I amend //: C07:MemTest.c...
[8 replies] Last: Thank you very much for your help. It works now. (by Peter1234)
by MYST
cin / if statment issue ...
 
Hi all, Im new to this forum, so first up, greetings! Secondly, ive only recently got into C++ and need a bit of help. I'm wondering how you can get yo...
[2 replies] Last: Brilliant! Thanks very much for your help Mike (by MYST)
by Null
void* to char**
 
Hello, i'm having problems with static_cast. I'm trying to convert void* to char ** in this way: DWORD WINAPI f(void *lp) { char **new_chars=static_cast<c...
[7 replies] Last: This thread = Reason #563 why multidimensional arrays suck. Conside... (by Disch)
Printing in Borland Builder C++
 
I'm a selfmade programmer in C++ and I have Borland Builder C++ 4 I need to print several pages and I have problems. I did the following program who has a Win...
[no replies]
Pass a pointer by reference C only
 
I thought if I passed a pointer by reference I could change it. Am I doing this correctly? int main() { func1(); } void func1() { int *x...
[5 replies] Last: (*x)->data; //I'm using structs, -> is syntax for de-referencing ... (by kevinchkin)
question on header files
 
Let's say I have to include other header files into a separate c++ component( comprising of also a header and a cpp file) By convention, is it better to put it...
[2 replies] Last: http://www.parashift.com/c++-faq-lite/coding-standards.html#faq-27.8 ... (by Duthomhas)
validating int type user input in Visual C++
 
I have a program where I have a residential class derived from property base class. Residential has a private member as int bedrooms. I want to do error handlin...
[2 replies] Last: the constructor must be Residential not Home right? as input, you coul... (by DrDeath)
implementing a doubly linked list using templates
 
I tried implementing a doubly linked list using templates but I got this error, any ideas? node.h #include <iostream> using namespace std; #ifndef ...
[2 replies] Last: You can't put template class implementations in .cpp files easily; you... (by jsmith)
by fire
Template class implementations
 
Hi there, I'm currently writing small template classes whereby (after hours of useless debugging) I found out that template member functions of the each ...
[7 replies] Last: @pkrawkstar718 PM me (you'll need to enable PMs on your end) your c... (by jsmith)
ways to draw graphics
 
Please fill me in on the different ways to draw things to the screen in a C++ program. I already know of the windows GUI, DirectX, and OpenGL. Please explain wh...
[2 replies] Last: Thank you very much, you must be an expert Programer thank you for tak... (by Qwerty2)
looking for assistance with an array program
 
anyone could i get some help with my program you all seem very well informed on c++ if you have email i would appreciate any help pkrawkstar718@aim.com ASAP pl...
[2 replies] Last: Because two threads and one off-topic comment in another just wasn't e... (by helios)
Scanning two dimensional arrays
 
for the program i will be given a auditorium with empty and filled seats as in the link provided... http://clipper.lehigh.edu/engr1/pas/reserv_a.txt I d...
[1 reply] : Seems like a HW question to me. We cannot give you solution. To start... (by kevinchkin)
Resolution
 
im in the process of making a console based application that edits screen resolution and sets it back after the program is finished for the most part i know wha...
[1 reply] : What exactly do you mean by "screen resolution", and what OS are you u... (by Duthomhas)
tank problem
 
PROBLEM 4 - WATER TANKS There are n identical large cylindrical tanks for storing water. The tanks are arranged in a circle on level ground. Each tank is co...
[no replies]
Class Member Callback
 
Hi, im new programming in C++ and i got a problem with my 2 classes. First class was supposed to keep some data as well as calling a specific function member fr...
[2 replies] Last: yes indeed.... now works... thx (by DrDeath)
August 2009 Pages: 1... 9101112
  Archived months: [jul2009] [sep2009]

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