General C++ Programming - February 2013 (Page 26)

by hoity
Multidimensional Vector
 
I want to clear a Multidimensional vector but "clear()" function isn't working.Can anybody help me?
[16 replies] Last: got it.Thanks (by hoity)
FILE STREAM CODES...must see...
 
guyss need help or codes for this...to save into a text file the score and the correct guess...thank...
[1 reply] : http://cplusplus.com/reference/fstream/ofstream/ http://cplusplus.com/... (by MiiNiPaa)
Outputing multidimentional array using for loops
 
In the code that I am working on I am generating random numbers and assigning them a 2d array. But w...
[3 replies] Last: Your for loops overstep the bounds of the array. Use the < operator i... (by TheIdeasMan)
Help with Error in Function?
 
I have a function written to calculate an integral using rectangles. I get this error: 'cannot conve...
[3 replies] Last: doubles are not functions? What's not to understand? If you have a c... (by cire)
Debug Assertion Failed?
 
Can someone please help me get through this error??? Program gets item using the item.h file and st...
[1 reply] : In " Container::~Container( ) " you're deallocating memory that was ne... (by closed account zb0S216C)
Sort data from txt file into array as its bening read?
 
Sorry if this is too newb, but no one in beginner responded to me so ill try here. I am suppose t...
[3 replies] Last: Bump.. (by DrolArumil)
by Dozo
8 queens problem
 
i need to write a 8 queens c++ code. and this is what i have. #include <iostream> #include <cm...
[no replies]
Wierd Answers
 
I have been getting weird answers when decimal numbers are input into a, b, or c variables in my qua...
[2 replies] Last: I did, thanks! It took me a little while to see it, but I did eventual... (by The Mighty Boosh)
by ZoX
Visual Studio 2010 not creating .exe
 
So I've started to try some DirectX 11 with the help of a Begginer's book, although at my first debu...
[1 reply] : I've actually just found another thread Identical to my own which has ... (by ZoX)
Debugging question
 
Hello, I am writing a program of scientific simulation on Visual Studio. In my simulation there i...
[14 replies] Last: Thanks a lot cire! :) (by dekeenfrance)
gethostbyname excericise
 
I am in a Sockets programming (or Network Programming) class. I'm using C++ as my language of cho...
[2 replies] Last: Thanks for the submission. The article helps. However, my instructor a... (by tmcfadden)
csv
 
okay so in .csv file. Say I have "flexes arm" how would I make it ignore the -es, so "flex arm."
[no replies]
by eddye6
linda cosmetics
 
Linda is starting a new cosmetic and clothing business and would like to make a net profit of approx...
[1 reply] : Homework. Write it yourself - then ask for help. Problem: does anyon... (by TheIdeasMan)
Help Please. Basic function not working
 
Hi guys, Having a little trouble understanding why this will not work. Basically i have 3 cou...
[3 replies] Last: #include <iostream> #include <string> using namespace std; int main(... (by JLBorges)
by Cnaoum
Calculation programs
 
Hello! i'm trying to write a program that has 4 calculations. One of the calculations has to have 2...
[1 reply] : We have no idea either. That problem description is so vague not even ... (by LB)
GUI
 
I use g++ compiler and need some tips on how to get started with making a c++ GUI. The project I hav...
[2 replies] Last: I personally would recommend QT5 for this, its great for making GUI's ... (by closed account 3qX21hU5)
boost library
 
As me new to boost library can anybody provide a sample code for extacting subgraph::children from b...
[1 reply] : children() is a member function, you just call it, BGL has an example ... (by Cubbi)
help with Time Class
 
Hey guys, So this is the problem I'm tackling: Create 2 Time Objects. 1 Time object should be ...
[7 replies] Last: i'm not sure if this is a problem but you do have iostream twice... ... (by MikeyBoy)
Use array to store Class objects.
 
So starting with the Item.h file : #ifndef ITEMH #define ITEMH using namespace std; class Item ...
[4 replies] Last: Got a question though, when declaring the constructor how can I set a... (by MikeyBoy)
SDL_FreeSurface()
 
I followed a youtube tutorial, he made a program printing out text to the screen with the library SD...
[5 replies] Last: naraku is right. TTF_RenderText_Solid creates the surface. SDL_FreeSur... (by Peter87)
February 2013 Pages: 1... 2425262728... 43
  Archived months: [jan2013] [mar2013]

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