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

Password
 
the code is not complete please complete it it doesn't store backspace as a character but it doesn't erase the word either #include <iostream> #include <s...
[1 reply] : the problem is that you insert the backspace and then you remove it. I... (by coder777)
ERROR: "else with no matching if"
 
Here is my first program, I had to use a lot of if/ else statements. For some reason the last "else" (bolded) is giving me an error and not letting me run the ...
[5 replies] Last: Branflakes91093 wrote: If you want to use multiple statements within ... (by MikeyBoy)
save to a text file...plzz read..
 
guyyss need your code help to save cout << "You've made 3 mistakes ! Game is now over !" << endl; cout << "You had " << correctGuesses << " correct guesse...
[1 reply] : http://cplusplus.com/reference/fstream/ofstream/ Look at example on th... (by MiiNiPaa)
What can I improve on this Algorithm?
 
I published an article in the articles section, but got a quite low vote on it. http://www.cplusplus.com/articles/4wTbqMoL/ So; i would like to discuss what...
[2 replies] Last: Ok, now I understand the point of critisism, it seems people are annoy... (by closed account D4S8vCM9)
To have exceptions or not to have exceptions
 
I've never really understood the actual advantage of exceptions (outside of help in the constructor). They seem to be fat and slow, while not being very elegant...
[2 replies] Last: I've never really understood the actual advantage of exceptions (outs... (by Disch)
Good c++ game library?
 
I want to install a game library to my c++ visual studio 2012 express. I have found a couple of libraries but none of them were either easy .exe installs or pre...
[14 replies] Last: Ok, I guess I'll stick to opengl, I really don't care that much about ... (by closed account ETAkoG1T)
Word document in c++
 
hello guys did anyone knows how to open a word document in c++?
[4 replies] Last: Mine wins (by greenleaf800073)
Help with MSVC++
 
In MSVC++ how do i set it to where it will finish what im typeing like say i create a class with class name function getthehighestinteger and i type part of it ...
[3 replies] Last: 2010 i did look at the intellisense but it just had autocomplete for t... (by supperpiccle)
help with REST service
 
Hi I want make REST server service... For connection to database need use C++. And I don't know which API or lib on this use.I need SSL and authentication for ...
[no replies]
Help with counting problem
 
Hello everyone, I am new and hope someone can help me! The problem I am working on is: Write a C++ program that reads several lines of text from a file and ...
[no replies]
std::string vs std::vector<char>
 
Is it bad practice to use std::string instead of std::vector<char> , for reading non-text (binary) data from file streams? And if yes, why?
[5 replies] Last: [quote=YeenFei at StackOverflow]I dont think one should use std::strin... (by Catfish3)
How to Compare two files and display their comparison percentage?
 
Help! How to compare two files(two texts documents) and display their similarity percentage by using C++?
[10 replies] Last: Thank you very much. (by points2008)
Help with the out put
 
My program needs to be adjusted to send out the numbers as 2 decimal , but nothing work. shall I have some one to help please #include <iostream> #inc...
[1 reply] : If you want two decimal places, why are you calling setprecision with ... (by LB)
QT with Eclipse and Visual Studio
 
Hello there, im starting with C++ and i just wanted to try out the existing IDE's..i am a java developer, and i love Eclipse. Because of that i installed the C...
[no replies]
sales and total
 
Hello I am new to c++ and I am trying to run a simple sales program. All the program has to do is run a program that reads the series of pairs of numbers as fol...
[4 replies] Last: Post new code here (by Smac89)
Getting the value and the string from 1 line
 
Hi, so i have a file that contains a integer and some letters in one line, e.g 123hello i want to read the integer '123' and 'hello' separately and assign th...
[1 reply] : #include <iostream> #include <sstream> int main () { std::string... (by Smac89)
by nonolt
find index from 2 vectors combined
 
Hello, I am new in c++ and I am having difficulties with finding values in two vectors. Basically, I have two constant integer vectors u and v . They have the ...
[6 replies] Last: Thanks cire. It took me a bit of time to understand every lines of you... (by nonolt)
notepad++ ...
 
Hello everyone I am working on a school project (notepad++). Currently notepad++ has (){} where they highlight when both are entered in the file. I have t...
[2 replies] Last: I did try that and I cant make it work. Any ideas how I can assign the... (by detroit)
how to recognize two words entered by the user for a string
 
Hello, In my little experiment i am trying to get the compiler to recognize 1 word with 2 parts from a list of names. for example: if the user wanted to choo...
[2 replies] Last: #include <iostream> #include <vector> #include <string> int main() {... (by cire)
by Ikaros
Problem with functor and error handling
 
Hi, I need to evaluate mathematical functions. These functions might have singularities. So I need to check that evaluated value is valid. I can check very ea...
[5 replies] Last: Ok. Thanks. Now I understand. (by Ikaros)
February 2013 Pages: 1... 2526272829... 43
  Archived months: [jan2013] [mar2013]

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