General C++ Programming - April 2014 (Page 34)

undefined reference will be the death of me
 
So I'm sure this program will work as soon as this error is handled, I honestly have no clue WHAT is...
[2 replies] Last: Thank you sir, in my tired stupor I seemed to have forgotten a vital f... (by SeaLabEZF)
Unhandled Exception issues MS 2010
 
Hey guys, so I'm having an issues with buffer overflow and I'm not quite sure what to do. I've stepp...
[6 replies] Last: @booradley. Thanks for correcting it. "For loop" range check should b... (by kannanmj)
Problem with copy constructor in linked list
 
Hello ! I have problems to put a list inside a linked list. I appriciate any code given as help. I...
[1 reply] : http://www.cplusplus.com/forum/general/112111/ - missing virtual dest... (by ne555)
cin.getline error message
 
My program is designed to read input from the user and then store that input in a structure variable...
[6 replies] Last: Your textbook is not using arrays of std::string. (by cire)
corrupt values
 
Hello. looking for some help getting over this wall. When I input a list of employees (17 of them) w...
[2 replies] Last: durp. Thank you. (by EddyZaEagle)
Does anyone have an example of a complete program that uses CLASS TEMPLATES...
 
Preferably with separate class header, class implementation, and main files, and also uses the heade...
[3 replies] Last: http://stackoverflow.com/questions/1724036/splitting-templated-c-class... (by xismn)
need help writing c++ version of python code
 
Hi I'm attempting to write the maximal clique algorithm for use with an adjacency matrix. I'm fol...
[2 replies] Last: This code here does what I want but I dont want to copy it straight ou... (by sankacoffie)
Need help with Constructors?
 
Hello all. Im trying to creat two box in this program using the default constructor. When i call to ...
[2 replies] Last: i was able to get it working, had a few stupid errors thanks for the h... (by RyanR1211)
a data structures advice
 
I'm working on a homework assignment and looking for some advice. my data is workers ID and salary....
[1 reply] : Just use a linked list maintained in order for the salaries. Would be ... (by requiem31)
vectors
 
Ok, so I am trying to run this code but it's not giving me any errors. So I have no idea what's wron...
[3 replies] Last: void getCandidatesName(ifstream& inp, vector<string> &cNames, ... (by Hippogriff)
by kopals
Please find the mistakes
 
#include<iostream.h> #include<conio.h> class xyz { float l,b,a1,pi,r,a2; public: void switch(); }; v...
[6 replies] Last: No need to prototype a switch statement because it's a statement. That... (by requiem31)
Setting external libraries - CMake
 
Hello, I'm using the QtCreator IDE and I want to use wxWidgets with it. I have "C:/wxWidgets/includ...
[no replies]
by Argy
Image on CMD
 
Hi,i would like to know if it possible to "run" an image through CMD.In other words i want that imag...
[3 replies] Last: You can, but you shouldn't. Relevant links http://www.cplusplus.com/f... (by Duthomhas)
by Duncan
Simple tree but pointers changing themselves
 
Hello all. Strange thing happening and I am at my wit's end. Sorry for the lump of code but it's mea...
[1 reply] : Figured it out. The short answer is the children vector should be of p... (by Duncan)
Class template error
 
I got an array class, but I'm getting this error: Error 1 error C2953: 'Array2D' : class template...
[3 replies] Last: each header should have header guard: file Tools.h: #ifndef _TOOLS... (by elszon)
istream::ignore()
 
Im having trouble doing with a but of code that seems to be syntactically correct but does not see t...
[2 replies] Last: Yeah, that's not going to do what you want it to do. What you have is ... (by long double main)
a!(a+b)!
 
Hi! I am struggling to write a program in C++ which evaluates a!(a+b)! for integers a and b? Can som...
[7 replies] Last: Thanks. I'm fairly new to C++. I've just started teaching myself recen... (by AceSmith)
How to reverse bit: 1 to 0, 0 to 1
 
How can I reverse/toggle bit like 1 to 0 and conversely, 0 to 1? For instance: 01000100 ('D' 68) to...
[1 reply] : Bitwise unary operator ~ (by keskiverto)
Need Help, getting an error and not sure how to fix it!
 
My assignment is Develop rational number class that can • add • subtract • multiply • ...
[1 reply] : The error messages are clear enough. You have for example c.addition(... (by ats15)
by vetyst
Troubling with sizeof char within structy
 
Hello, i've been strugling with an troublesome compiler bug i think. for the following code you wo...
[2 replies] Last: Thanks, knowing what to look for really saved my day. Solution; In mi... (by vetyst)
April 2014 Pages: 1... 3233343536... 41
  Archived months: [mar2014] [may2014]

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