General C++ Programming - September 2012 (Page 28)

Define the size of a two dimensional matrix with variables
 
Hi, so far i declared matrices with this method: double *value = new double ; because its ...
[10 replies] Last: Other possibilities: 1 - write a matrix class that swaps to disk th... (by core dumped)
Need guidance with a loop
 
OK, just to let everyone know, I am sort of new to programming. I am making a quiz program, and I ne...
[1 reply] : int question; do { cout <<"\nWhat is the word that means to break... (by vlad from moscow)
need help with a piece of code
 
In the following code char *Hello() { char str ; strcpy(str,"Hello there!"); cout<<"in f...
[3 replies] Last: Thanks alot guys ..... really appreciate it (by babbarbhangoo)
Needing help with how to do these
 
I'm currently trying to learn how to do these problems but I'm a complete beginner. If anyone could ...
[5 replies] Last: It is a homework problem your correct but I got it off a professors we... (by Brady91)
by beakie
Multiple Inheritance - v2
 
Using the example below... how can I achieve a structure which allows for this functionality? I want...
[2 replies] Last: This is a horrendous misuse of inheritance. Just do the simple appr... (by Disch)
std::vector<> problem...
 
Hi, I have the following code: std::vector<ResourceIF> BAR::getResources(Wrapper *wrapper) { ...
[1 reply] : I thought by using vector<void*> in selectResources() param list- it ... (by Peter87)
by snig
Need Help ASAP
 
Hello I'm currently having problems with a hangman application. The application runs perfect but whe...
[2 replies] Last: Thanks a lot for the help I heard that NCurse can be used or something... (by snig)
Launching a program then typing to it.
 
I am currently absolutely new to c++, i did a few tutorials but mostly have fun making random progra...
[14 replies] Last: I think I've found an even more reliable method, I haven't tested this... (by Computergeek01)
Why will this not work?
 
one last problem then if (result >= 0.5){ cout<<"you are too drunk to drive, you BAC is:"<<" "<<...
[5 replies] Last: if (result >= 0.5){ cout<<"you are too drunk to drive, you BAC is:"<<"... (by JonasQuist)
Incorrect return months
 
Hi! I can not to get correct months in this function: strftime(szData2, sizeof(szData2), "%m", l...
[1 reply] : If it returns an incorrect month, you have fed it incorrect data. Feed... (by Moschops)
New technique for C++ developing web application
 
It is basically generate C++ codes from html file automatically. Wish to get it run and make C++ e...
[2 replies] Last: That cursor is really annoying. (by kbw)
by vw4x4
difference between these ?
 
1)program 2)module 3)functions 4)a program segment 5)a statement please give some examples f...
[2 replies] Last: u would think googling would be easier than signing up to this site, p... (by beakie)
I NEED HELP WITH A STACK UPDATING FUNCTION
 
Below is my class to create stackType objects, I have a problem in particular with the member functi...
[4 replies] Last: - If found "t" must be removed from its location in the stack and pu... (by KRAkatau)
by kaos51
Converting Base to Base
 
For my CSC class I have to create a program which converts from all bases to all bases (i.e. bin to ...
[4 replies] Last: I hope I'm not giving you the total solution (Well the containers aren... (by Stewbond)
Date setter/getter program
 
So my problem is I have a really bad professor that isn't really teaching me any code and she assign...
[1 reply] : This should help you with all of your needs: http://www.cplusplus.com/... (by Script Coder)
still unsolved. help please
 
1 #include <iostream> 2 #include<string> 3 4 using namespace std; 5 6 class studen...
[4 replies] Last: int main() { int n; cin >> n; student** x = new student* ... (by kbw)
Quicksort an Array using a function
 
Hey guys, been at it all day, but I just cant seem to figure out this assignment I have. It's not du...
[4 replies] Last: I got it all figured out, man! Thank you so much, I really apperciate ... (by oudavid1)
Making a TCP server safe from crashing clients
 
I am writing a (fairly) simple threaded Serial to TCP server using the PracticalSockets library. The...
[7 replies] Last: If third party libraries aren't a problem, I would recommend either bo... (by Luke Leber)
intro to object oriented programming qn
 
Objective The objective of this problem is to introduce a simple Object-Oriented Programming (OOP...
[1 reply] : On Line 43 you're trying to use a constructor with no arguments withou... (by Computergeek01)
problem with a funtion in pointer as part of a struct in a class
 
Hi! ihave the following problem. I have written a class that contains a struct and a function. Th...
[3 replies] Last: Hi! thank you for your help until now. It has given me some possibili... (by Ingeborg)
September 2012 Pages: 1... 2627282930... 32
  Archived months: [aug2012] [oct2012]

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