General C++ Programming - December 2011 (Page 33)

Nothing to build
 
so this is a stupid question, but when i compile this it says tht there is nothins to build... i know the code doesnt really make any sense right now, i just wa...
[3 replies] Last: What OS are you using? On windows Eclipse is a bit of a turd, I've alw... (by ausairman)
Binary Read and Write
 
I have to create a program that creates a binary file using a 25 data structures then a second one that reads in the binary data file and decodes it and outputs...
[2 replies] Last: Simply so I can use it to keep count of the record number. The program... (by NickLSSU)
by jls36
copy constructor & op= for my HashTable
 
I made a adjustable HashTable with an array of STL list(s). I can get every thing to work except the copy constructor and the operator=. It will compile it eerr...
[7 replies] Last: No compile errors it just shuts down durring runtime. to class mate... (by jls36)
Program comparing two files
 
I'm still a beginner at c++ and i'm required to write a program that compares two files, an orders.txt and dictionary.txt that 1.)validates orders, if correct ...
[no replies]
Duplicate Symbol Error involving a struct
 
My code is a little too long to put here. Somewhere in the implementation file of my base class I am causing the duplicate symbol error below: ld: duplica...
[3 replies] Last: So I got this problem fixed. Apparently the error is in the last line.... (by jmadsen)
Methods of Calling Function?
 
Please tell me any two methods of calling the function?
[3 replies] Last: Call by value: #include <stdio.h> #include <stdlib.h> void swa... (by make026)
Calculating two numbers with length 1000
 
Hello! My program accepts the following template as input: number1 + number2 ? and returns the addition of the two. As seen I used three char arrays, but some...
[4 replies] Last: Got that! Thank you :) (by Nikola Dimitrov)
Why wont my class work
 
when ever i try to use the class it comes up with this error "In file include from background.cpp" what do i do tell me if you need the code cuz its to long
[3 replies] Last: If you have problem displaying your code you can narrow down yourself ... (by eypros)
mp3's with c++
 
is it possible to open an mp3 file through itunes or some mp3 player through code in c++? if not through itunes is there any other way? thanks!
[no replies]
Please,someone help me.i need help in Opengl and C++.
 
Hi,i am new begineer. I have assignment in convex hull. I have to read data from text file to find convex hull. Below are my code to read data. But i don't k...
[1 reply] : convex hull in 2D is quite easy, in 3 dimensions and higher it is hard... (by mik2718)
What is wrong?
 
#include <iostream> using namespace std; char moveto; void playgamez() { cout<<"You are now standing on z. Were do you want to move?\n"; co...
[5 replies] Last: Post your new errors. (by hamsterman)
circular dependence problem?
 
I'm having a frustrating time trying to get this to work: I have 4 Classes: A, B, X, Y. class A { ... vector< vector <B> > chessboard; } class X; clas...
[4 replies] Last: class X; class B { ... X * ptr; } And class B; class X { publ... (by bluecoder)
How to generate POwer set ?
 
Hello ALL , i'm new to C++ and i want to know how to Generate power set using C++ ? thanks in advance
[2 replies] Last: Here is an example: (Note that the code use C++11 so you might want to... (by Peter87)
does not take 0 arguments?
 
help! here is my code: (i'll just paste some parts because it is 60000 characters long) string yearterm(); int main() { string ans; do { ans=yearterm(); ...
[3 replies] Last: you must not get the error please past the complete code . (by bluecoder)
how to deal with XML ?
 
Hello , What is The XML Libraries in c++ and how to use them ? thanks
[1 reply] : Which library is most approriate depends on your use. But this thread ... (by andywestken)
can someone run this code to see if it builds/works?
 
THANKS!!!! #ifndef ENTRIES_HPP_ #define ENTRIES_HPP_ #include <iostream> #include<string> #include <sstream> #include <fstream> using namespace std...
[5 replies] Last: please include #ifndef ENTRIES_HPP_ #define ENTRIES_HPP_ at the to... (by bluecoder)
stdout
 
Dear All, I am using some C++ libraries which gives out some copyright information when I use them in my code. During batch run I am wasting lot of time due ...
[2 replies] Last: Hmmm ... Thanks for the solution, from command prompt it is working. B... (by sumittuwien)
can i use LINQ to XML in C++ ?
 
Hello All, can i use LINQ to XML in C++ ? and if it available please give some resources that will help me in that issue thanks in advance ,
[no replies]
Vector delete problem?
 
Hey, when I delete the last object in my vector I get the debug assertion failed error saying the vector subscript is out of range. I'm using object.er...
[12 replies] Last: Yeah, after too many bullets the sprites delete themselves and the gam... (by Calender Man)
Need help! Newbie here.
 
I encounter a runtime error during the first move. But when I set the board to 10 row 10 col I don't get a runtime error. Please help. #include <iostream>...
[2 replies] Last: Change in the part of the code . // +++Game+++ while (true ) ... (by bluecoder)
December 2011 Pages: 1... 3132333435... 39
  Archived months: [nov2011] [jan2012]

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