General C++ Programming - May 2011 (Page 12)

What am I doing wrong???
 
This code compiles but it crashes after inputting answers for the students questions. It will output...
[5 replies] Last: Have patience.. The problem with the numCorr. For every correct ans... (by hamsterman)
Help on drawing in openGL from C++
 
Hi,Iam Qasim and I am undertaking C++ course. I am working on my project which allows the user to ca...
[3 replies] Last: What's the problem? Just replace w with l and others with constants.. (by hamsterman)
Exactly what makes a stringstream go bad?
 
I have the following: std::string ipv4ToString(unsigned long int ip) // Guaranteed that 0 < ip < ...
[5 replies] Last: i c wut you did thar (by closed account 1yR4jE8b)
Help finding issue with multidimensional vector
 
So, the program compiles but there is a logical error somewhere that is crashing the program. Can so...
[8 replies] Last: Thanks a lot Moschops, you've been a great help!! (by N1ghtm4r3)
Output Shapes/Graphs?
 
Hey! I am a reasonable C++ programmer, but I do not know anything about outputting diagrams. I was w...
[6 replies] Last: Awesome! Thanks everybody! I think I'm going to look into SFML. It s... (by Programmer3)
by AlecC
Help on project?
 
Hey, so recently in my school our teacher wanted us to spend the next 2-3 weeks making up a program ...
[6 replies] Last: This comes in three stages. 1) Actually get the libcurl library. Down... (by Moschops)
Help with Linked List template class.
 
I'm designing a template class for creating and modifying linked lists, and I'm having a slight prob...
[4 replies] Last: Oh, now I get it. Thanks. (by packetpirate)
Library required for using graphics object
 
Plz tell me the name of the library required to use the the graphics obect i.e bitmap,brush ,font ,...
[3 replies] Last: You need to learn win32 api... see here: http://msdn.microsoft.com/... (by writetonsharma)
boost thread link error
 
Hello I was trying to compile a program with boost, and I have the following link errors, althought ...
[5 replies] Last: It worked, I had to rebuild the thread dylib again..., thanks (by Sebitas)
Help solving coding issue please.
 
Alright, so this program compiles just fine, but it doesn't print the name on the commented line. Pl...
[13 replies] Last: As kbw noted, obviously, my comments didn't make you fully understand ... (by b2ee)
by azaaza
function operator()
 
I saw this function operator() been used here and there. But I can't find much information about it ...
[2 replies] Last: If you have a type T that overloads operator()(parameters) and an inst... (by helios)
by Skills
Array (1,2)
 
Create an array and store the following Student marks 68, 72, 78, 69, 85, 95, 75, 77, 82, 84, 91, 89...
[21 replies] Last: Why system() is evil http://www.cplusplus.com/forum/articles/11153/ ... (by ne555)
by suetam
numeros complejos o imaginarios
 
hola como estan necesito ayuda para poder usar una funcion que trabaje con numeros imaginarios. para...
[2 replies] Last: The complex class ( #include <complex> ) handles complex numbers for... (by Duthomhas)
Equal operator/pointer/deconstructor problems.
 
Basically, I'm using SDL, and I've made a wrapper class for an SDL_Surface - basically an data struc...
[4 replies] Last: Mackabee's solution is a bad idea. A temporary copy's dtor would dest... (by Disch)
LNK2001 and LNK1120 errors!!!!!
 
Can someone please help me with this. My friend is teaching em c++ and he wanted me to make a prgora...
[3 replies] Last: Thanks for that. I havent added the loop for the guessing game yet, sa... (by aceofspades104)
This is an alternate pow func problem
 
#include <iostream> #include <stdlib.h> #include <stdio.h> using namespace std; int us(int a,...
[no replies]
Get Amount of Elements In Allocated Array
 
As in the title, I trying to get the amount of elements within an array that is allocated on the hea...
[3 replies] Last: Thank for the reply, WebJose. I didn't copy and paste the code from ... (by closed account zb0S216C)
by Ronen
Inherit operator + and == from "Virtual Base class" to "Template son"
 
Hi guys , I've a little(big) problem with the following code : class Base{ // an abstract ...
[2 replies] Last: This reeks of operator abuse. You probably shouldn't be doing this. ... (by Disch)
Please Please Help me - reading class member data into an array using a class member function
 
Hello, The programme I have developed so far does the following: 1. Writes to a file (route1.txt...
[4 replies] Last: Why can't you have it return an actual planet object? (by LB)
Help me out!!!!
 
I made this program for my school holiday homework. I made a program to enter records into a binar...
[5 replies] Last: Why do all your functions return void? Also, main must return an int, ... (by LB)
May 2011 Pages: 1... 1011121314... 32
  Archived months: [apr2011] [jun2011]

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