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

getline none of the 2 overloads could convert all the argument types
 
This is my code: #include <iostream> #include <string> using namespace std; string subject(...
[3 replies] Last: system( "pause" ); or getch( ) declared in conio.h (by Burz666)
Hi, guys can you please explain how these code works in order?, extremely appreciated
 
#include "stdio.h" #include "string.h" #define ANDLEXEME 11 #define ARRAYLEXEME 12 // // ...
[1 reply] : You expect us to explain 300 lines of code? Can you say more specific ... (by Peter87)
Mysterious ÿ character??
 
Does anyone know any possible reasons why im getting this strange character in output. Its the "ÿ" ...
[4 replies] Last: I see, i see... How interesting. Many thanks. (by Ramzi89)
QT changing which ui loads first
 
i have 2 ui forms, one is a login form the other is the main application basically the main appl...
[no replies]
array of pointers
 
// create a two channel audio buffer int numSamples = 2000; float* audioData ; audioData...
[3 replies] Last: Just make sure you call delete on these stack allocated arrays befo... (by Moschops)
output for the first input should not be same as for second user input..but it occurs to be same.
 
#include <iostream> #include <iomanip> using namespace std; //function prototype void show(voi...
[2 replies] Last: thank you very much for your advises.. sorry. it's my first time and ... (by angel paripari)
RE:[Accessing enum values]
 
Dear all, Please tell me how to get out this problem bcz I'M struct-ed past one month pl...
[5 replies] Last: Yes you are correct template is missing before the bitmap .. and than... (by BABU Prasad G)
by Tatipu
Reading arithmetic from file
 
Hi guys, School is out and I just had my semester of C++ in college and I know I need more help so I...
[4 replies] Last: std::fstream fileStream; std::string sBuffer; ... std::vector<std:... (by Burz666)
not creating an object properly?
 
I'm trying to make a vector3D class for a physics simulation and there is a strange error for some o...
[3 replies] Last: From Scott Myers on return value optimization for objects, you can als... (by sohguanh)
by rollie
Reference to rvalue in C++03
 
This seems to me that it should not work, but in VC++ 2008 express it is compiling and running happi...
[3 replies] Last: Glad to hear - not crazy :) Thanks guys. (by rollie)
by Dantoc
Parse text from file
 
Hi folks, my file content is looks like this: group,input1,input2,input3, groupA,1,2,3, so...
[2 replies] Last: Thanks. i will try to use vector of string in the coding. Thanks. (by Dantoc)
passing vector to function
 
Hello, im tring to write a function which get 1D or 2D vector and assigen values for it from file....
[9 replies] Last: vector<vector<float> > Lap ( n, vector<float>(n)); It creates an nx... (by ne555)
changing values..
 
Is there a way i could change this main function to allow for card values instead of numbers? So tha...
[3 replies] Last: eliminating the "enter how many cards to deal" to ""enter cards e.g:2... (by sohguanh)
Ziggurat algorithm help
 
Hi Everyone, I realise this is a long shot asking here, but if someone knows of a working ziggurat ...
[7 replies] Last: So I'm now trying it with the original version (the one that you linke... (by ausairman)
by Mats
iPhone and C++
 
Will any application I write in C++ work on the iPhone? Or only if I use C++ standard libraries? ...
[8 replies] Last: The thing with iOS development is the cost basically. Without delving ... (by sohguanh)
by lolfoo
Ways to go about
 
This is the problem: Management of the Flow Paula is responsavel for the flow of a dam. From midn...
[no replies]
read excel cells via C++
 
Hi, i am relatively new to C++, and i know that it this question is asked many many times, but i did...
[14 replies] Last: Finally i used FormatExcel code and i succeded in reading and wrirting... (by chtsolak)
Error using <vector>
 
I've been using code::blocks for I don't know how long and it's always worked just fine. All of a su...
[12 replies] Last: After fixing the typo in line 13, this program compiles with gcc 4.6.2... (by Cubbi)
Get numbers from a .txt file
 
I have to get numbers from a .txt file and put into the array. How can i do it? Thanks
[3 replies] Last: http://www.cplusplus.com/doc/tutorial/files/ Now can you find bro? (by ascii)
by kOdL3R
problem from tutorial (1,2,3,4)
 
hello there, i've been trying 2 learn c++ & was following the tutorials in this site, i'm stuck with...
[69 replies] Last: Moschops said : Is that a truly horrific shortening of a spell... (by kOdL3R)
December 2011 Pages: 1... 1011121314... 39
  Archived months: [nov2011] [jan2012]

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