General C++ Programming - October 2012 (Page 30)

exception handling
 
I am trying to use the try catch for any kind of exception by using catch(...) but it is not catchin...
[10 replies] Last: means i need to throw an exception if it not in there. Actually i was ... (by sisodia)
Help Desk check please.
 
....
[3 replies] Last: I am new on this site. Thanks for the direction guys. (by Mogesii)
Unexpected Node Swap for Doubly Linked List
 
Good Day! I'm teaching Doubly Linked Lists and I gave my students an exercise on Node Swapping wi...
[1 reply] : Works because line# 6 in the student code? if(a->next) t = a->next; ... (by codewalker)
iterator problems ?
 
Heyy rrybody I have this function that when given the x and y of the mouse will select a window but ...
[no replies]
Gravity and deltas
 
I've got a nice program I'm working on which simulates gravitational orbits however I'm having a lot...
[3 replies] Last: When I do these types of problems, I like to add dT as an argument. T... (by Stewbond)
sorting lists
 
deleted
[1 reply] : The problem with this approach isn´t the sorting... that part´s easy... (by Stewbond)
Resolutions: How can I fit all sizes?
 
Now I know this is not an easy question, but after how many other posts I have seen on this with no ...
[6 replies] Last: Ok thanks, I know what vector graphics are I just didn't know how prac... (by Pickle Gunner)
A question about inheritance and polymorphism
 
OK, I wrote a program and it was something like this: #include <iostream> // Abstract Parent ...
[10 replies] Last: Ugh, ok I feel I'm complicating myself with something that can be done... (by oldcrow)
Polynomial Addition in Array-based Linked List
 
I've made a polynomial class using an array-based linked list, but my addition function isn't workin...
[2 replies] Last: I've already created a working pointer-based polynomial linked list, n... (by TheJJJunk)
please help me finish this code
 
I'm sorry because I don't konw how to make my in code in an box like others, it's my first to log in...
[3 replies] Last: bool Player::attack(Monster monster ), what should I do? You shoul... (by Disch)
how to make a prymaid in c++?
 
Right now this is what i have but with numbers(look at seed1) * ** *** **** ***** and i wa...
[2 replies] Last: void output (int height, int seed1) { int n; int n1; int... (by Chervil)
Octal number
 
I need to make this... to input an octal number and it would output the binary like converting the ...
[8 replies] Last: Please use code tags - the <> button on the right. Does this help... (by TheIdeasMan)
URGENT HELP NEEDED! Short on time, Plz help!
 
I want to make a program to calculate cost of gas used. Plz if anyone can give algorithm. Here is w...
[6 replies] Last: Thanks. I will try it. (by Khubaib)
by Vizkid
Program received signal SIGSEGV, Segmentation fault.
 
Im stuck with this error for quiet long please help me out. Here's the entire program error is for ...
[4 replies] Last: With the debugger, you should have a watchlist of variable values. If ... (by TheIdeasMan)
header and file problem using OpenGL
 
Hi everyone. I have just learnt how to include headers and links to other class files and am trying ...
[2 replies] Last: Got it working. Thought it was a problem with the headers but it is in... (by mikeecb)
by TJF
slow bitshifting 24 to 32 bit
 
Hello, I have here a working way of shifting a 24 bit audio file to a 32 bit buffer. The whole (!) ...
[3 replies] Last: The file could be very big! So using a separate big 24 bit buffer woul... (by TJF)
Need Help with my Client/Server Code
 
Ok, So I can successfully send and receive messages with my code, but the problem at hand is a littl...
[2 replies] Last: Where shall I begin? Ok, here we go. 1. Welcome to the forum. 2. Pl... (by kbw)
Unicode troubles...
 
Tried to output logical "and" and "or". Have wchar_t sym_and=0x22C0, sym_or=0x22C1; and do ...
[6 replies] Last: problem solved. had wrong font in notepad++ (a nonunicode one). (by icegood)
tower of hanoi
 
i am having aproblem in my tower of hanoi game using stack please help me to remove the error heres...
[1 reply] : One thing I noticed int stack::pop(int x) { return A[--TOP]=x; ... (by codewalker)
student line up sort
 
#include "stdafx.h" #include <iostream> #include <string> #include <algorithm> using namespac...
[11 replies] Last: ok, :) (by Reaper1)
October 2012 Pages: 1... 2829303132... 50
  Archived months: [sep2012] [nov2012]

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