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

Problems with exception handling.
 
I'm having trouble with a try/catch block I'm working with. Specifically, this piece: string c...
[4 replies] Last: Return Value 0 if the compared characters sequences are equal ... (by kbw)
Embedding Python into C++
 
Hey Guys Firstly, this is my 1st post, So hello to everyone :) I just want to check if anyone ...
[3 replies] Last: Thanks guys :) (by shinra1989)
Problem with a prototype function.
 
We are learning about prototype functions in my Programming for engineers class and just started pro...
[6 replies] Last: In: double radius(int x1, int y1, int x2, int y2); double area(double... (by kbw)
by Acr
Subclass unable to access member function
 
Good day, I've been setting up my datastructure as such: I have one class 'Storage' and a subclas...
[6 replies] Last: Maybe poking my nose in unnecessarily here By all means, poke around... (by Acr)
classes and derived classes
 
Hi I have created a database for employee information. I have using a mapping container using th...
[5 replies] Last: In that case, maybe you could have a multimap (allows multiple identi... (by bartoli)
How to obtain the multiplication of the rows.
 
I have to program in an Array the multiplication of the rows 0 and 1, how would i go about it? ...
[2 replies] Last: 3 * 456: Get the last number from the first row, and the last number ... (by Acr)
hi gays.this is my homework.if can't write this program I fail.if you help me I will pleasure.thanx
 
Tough beans. You should have payed attention in class.
[5 replies] Last: this made me chuckle. (by lnk2019)
by ne555
container::{const_,}iterator and const correct
 
Suppose that we want to provide an iterator class to traverse our container. class iterator{ it...
[5 replies] Last: Like this? template<class T> class container{ class node; tem... (by ne555)
algorithm workbench: writing a statement
 
hi, a program contains the following function: int cube(int num) { return num * num * num...
[2 replies] Last: Very hard to explain how to do this without actually giving you the an... (by TheNoobie)
Trouble converting binary int to float
 
I have written a parser in java that generates a binary data file via the java.io.DataOutputStream.w...
[no replies]
arrays- not sure what to input in for loop, below is the question, how would i go about it
 
int arr = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}}; Print the elements of arr in three ways: ...
[7 replies] Last: haha nvm i got it, thanks (by NYCrealist123)
Logical Error (1,2,3)
 
I'm working on a large project to emulate some functions of a bank. However, I've run into a strange...
[42 replies] Last: I don't understand your argument. What's wrong with my String and Arra... (by Mathhead200)
help with C++ question please
 
hey guys how you doing ive been given a question to do and i have no clue where to go about it if so...
[3 replies] Last: Start with a simple program that adds up the values entered into a var... (by stahta01)
by mof
Constructor Destructor in Structure
 
Is it possible to have a structure say initialise itself without defining it as a class? I'm probabl...
[8 replies] Last: All you need to know is C++ is created to be backward-compatible to ol... (by sohguanh)
Quick histogram array assignment
 
Here is the assignment. https://wiki.ittc.ku.edu/ittc/EECS168:Homework4 My problem i my output i...
[no replies]
Static function
 
I wanted to ask whether the function normalize in my code is a static function or not? and can stati...
[3 replies] Last: Thank you . (by wajahat)
hello. problem with cin.getline and for/next??
 
hello guys im trying to read input from keyboard including space so i coded that; int main() {...
[2 replies] Last: thanks mate. i put cin.ignore(1); then it is ok now. thanks a lot ;) (by whocares21)
by Bog
overload errortrap function
 
So my assignment is Write a method called input that type traps (and error traps) a user's intege...
[1 reply] : Function overloading is easy, you just make another function with the ... (by LB)
Interacting with a web page
 
How would I write a program to interact with a web page? I'm trying to send information to the usern...
[4 replies] Last: Hmm today has been successful, I've made a custom proxy in c++, so far... (by ultifinitus)
vector indexes
 
I'm walking through a vector using a for loop and each time through I check the object in the vector...
[1 reply] : 'i' will not be changed, so if i = 5 and you erase myvector , the elem... (by Bazzy)
April 2011 Pages: 1... 2122232425... 37
  Archived months: [mar2011] [may2011]

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