General C++ Programming - October 2013 (Page 24)

Compilation error redefining object
 
main: #include <cstdlib> #include <iostream> #include <fstream> #include "Board.cpp" int main(int...
[9 replies] Last: I know, but I'm really limited to specific formatting for my class, by... (by SirLukeJonPerrier)
by ne555
[faq] undefined reference - unresolved external
 
[quote=nolyc]Undefined reference is a linker error not a compile error. You did not define the thin...
[5 replies] Last: Templates and inline functions This is actually an especial case o... (by ne555)
Help with homework
 
This program is supposed to be a math tutor using functions. I could also use arrays.My problem is w...
[2 replies] Last: I have changed the code to this. The problem is that when I enter -1 t... (by mikashane)
C++ program to simulate customers lining up to buy tickets for some event
 
Can someone guide me through this assignment? Create a line class using a linked list that acts a...
[2 replies] Last: Hi, Thank you for the reply. Sorry for not being so clear in my previ... (by keenguy007)
Can someone help me with this code
 
Community Hospital needs a program to compute and print a billing statement for each patient. Charg...
[3 replies] Last: I'm really tempted to report... but I don't think it's against the rul... (by Disch)
How to make VC++ go to line of the error.
 
I'm switching from Dev c++ to VC++ and in Dev, if you double clicked the error in the error console,...
[1 reply] : in VC++ it tries to bring up a dialog box that talks about local hel... (by Disch)
Homogenous Coordinates
 
Hello, I am struggling writing the following code in c++ using opengl: multiplies a point 'p' ...
[no replies]
by deleyd
C# learning C++ / *.h vs. *.cpp files
 
My background is in C# and C. I'm learning the syntax for C++. Wondering which code goes in the *.h...
[1 reply] : Traditionally, unless you want to abuse preprocessor directives, all ... (by LB)
Someone Please tell me what i'm doing wrong
 
#include <iostream> using namespace std; class Creature { public: Creature(int health = 100...
[2 replies] Last: Line 49, missing semicolon. Looooooooool, feel so retarded right no... (by Justin505)
Can anyone help fix my CGA on VGA emulation?
 
I'm trying to get VGA's CGA mode (BIOS Video mode 06h) working. uint_32 patch_map1314(VGA_Type *VG...
[no replies]
armadillo matlab mexfile segmentation fault
 
Hello everybody, I am having issues writing a mex file for simulink using c++ and armadillo. I'm u...
[5 replies] Last: I already posted the "solution". Thank you anyway for you attention. I... (by magonick)
by Ceset
collision detector
 
hi i was trying to make a basic collision detector and i guess i made a pointer usage mistake which...
[9 replies] Last: @ne555 thx. after a nap and a bath. after refreshment i asked myself ... (by Ceset)
by Kubani
keep_window_open() doesn't work
 
Hi, In below code the keep_window_open() in the catch function doesn't work, that is, it keeps th...
[2 replies] Last: after cin >> h failed, it indicated that by setting the std::ios_ba... (by Cubbi)
Mac OS X Speech Recognition Library
 
Hey all, i'm currently trying to write a project for speech recognition for a school assignment. I'm...
[no replies]
Using C++ in Excel
 
I have been learning C++ off and on for about a year now. I feel like I am finally starting to get ...
[no replies]
pls expalin
 
#include<iostream.h> int maxref(int &a, int &b) { if(a>b) return a; else return b; } void main() { i...
[2 replies] Last: turbo c++ (by r 4 raja)
Build ActiveMQ-cpp with C+++
 
Can somebody help me? I need to building ActiveMq-cpp environment (Apache) with C+++. I am waitin...
[no replies]
by mad93
unable to open include file
 
my programme showing error 'unable to open inclde file ****' i fallowed the general procedure i.e., ...
[2 replies] Last: You need to specify which external library are you trying to implement... (by Aleksandar Grbic)
How to add array elements to stringstream?
 
This is my code: #include <iostream> #include <string> #include <istream> #include <sstream> u...
[1 reply] : #include <limits> line 10: // stringstream output; ostringstream... (by JLBorges)
How to check input against entire array?
 
If I have a char array that that looks like char array = {'a', 'b', 'c'}; How can I check use...
[7 replies] Last: This equivalent code would work with a somewhat old compiler. #inclu... (by JLBorges)
October 2013 Pages: 1... 2223242526... 46
  Archived months: [sep2013] [nov2013]

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