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

"undefined reference to" error when accessing a static variable inside member function
 
I am modifying a set of static variables inside of the class's member function. The static variables...
[2 replies] Last: Thanks indeed, that worked! (by DeepBlack)
pointers as parameters of vectors
 
Hi there, i wrote a following code, declared 4 char pointers as parameters of vector, the function i...
[2 replies] Last: When you pass a char pointer to the the cin >> operator it assumes the... (by Peter87)
by Zapeth
boost::asio problems with returning from io_service
 
Hello, I actually asked this a little while ago (http://www.cplusplus.com/forum/windows/89824/) and ...
[no replies]
Help
 
Sir what is the code for a program that input a name horizontal and display the name in vertical pos...
[3 replies] Last: You didn't really try. Here's some code, but this isn't a favor. If ... (by Stewbond)
passing 2-d array to function
 
hi i was trying to pass the following 2-dimensional array to a function called jac_inv jac_in...
[4 replies] Last: thank you very much vlad problem solved!! (by varuniitb)
Moving from Qt to Boost - Networking
 
I's using Qt to build Udp and Tcp servers/clients. Now in recent project, Qt is not allowed and i'm ...
[no replies]
Pre-setting Virtually Inherited Data
 
Good day helpful forumers... I have a problem, and I will explain what I imply to do with WORKING c...
[15 replies] Last: // Declaration: template <typename Class> class Paroxy; class Vault... (by Bourgond Aries)
Uregent Help!!!! main.exe stopped working
 
main.cpp #include <iostream> #include <fstream> #include <sstream> #include <vector> #includ...
[3 replies] Last: My program does not run without #include "Action.cpp." It says llinked... (by Stephaniei492)
by cnoobs
converting currency
 
I have been spending a long time trying to figure out a way to correctly write this code. I am suppo...
[2 replies] Last: That is the assignment template I need to use for my C++ class. (by cnoobs)
by cnoobs
How do you get your code to read multiple inputs
 
So I have to write a code for my C++ class, and I am having a problem trying to figure out how to ge...
[1 reply] : int a=0; int b=0; cout << "Please enter 2 times: "; cin >> a >> b;... (by SamuelAdams)
Functions and Variables and Scope issue
 
I'm writing a program that's using several outside functions to simplify the code overall. I have v...
[2 replies] Last: you probably shouldn't use global variables. what was wrong with your ... (by closed account Dy7SLyTq)
Can anyone help me figure out my function isn't finding the largest integer?
 
My code compiles fine but it doesn't seem to want to calculate the max integer. It calculates min an...
[1 reply] : You referenced the maxScore in your stat() function uninitialized and ... (by Mark Anthony Laureta)
by LB
<memory> header with clang
 
I'm having trouble compiling this in clang: #include <memory> int main() { } >clang++ -std=c++...
[4 replies] Last: That snippet is not relevant to me, but thanks. (by LB)
by pwn2d2
Implementation File vs Header File
 
I have written my program and it works when I keep everything in the header files, and then have my ...
[3 replies] Last: Yes I meant those. Did you delete the definitions from the header fil... (by maeriden)
different results for second player
 
It's been a long time since I've wrote anything in C++ and I had a little free time today, decided t...
[no replies]
c++ programming
 
Okay, so I changed up my program. My .csv file is like: Bone,origin,deep/superficial,location, act...
[2 replies] Last: Bone,origin,deep/superficial,location, action #1 frontal, membranous ... (by Stephaniei492)
by gtm
dynamic object creation
 
So basically I know this isnt possible but I've come across an issue working on a game If I have ...
[1 reply] : Check out std::vector http://cplusplus.com/reference/vector/vector/?kw... (by strongdrink)
Polynomial Multiplication Function Help
 
I can not seem to complete this polynomial multiplication function for my Data Structures class. We ...
[9 replies] Last: Ok, i changed the temp declaration again, i had to use (n+m) instead o... (by austinwade912)
.csv file with searching
 
My .csv file is like: Bone,origin,deep/superficial,location, action frontal, membranous connective...
[3 replies] Last: Someone please help me!!!!! :] I want this program to do three th... (by Stephaniei492)
by geran6
Parsing large text file
 
Hello. I have a massive text file containing many thousands of directory and file names with / at th...
[1 reply] : Given the amount of pathnames in the file I will have to add and remov... (by geran6)
February 2013 Pages: 1... 2829303132... 43
  Archived months: [jan2013] [mar2013]

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