General C++ Programming - December 2014 (Page 24)

Writing my own web framework in C++
 
Hi. I'm trying to write my own web framework in C++ as a learning exercise and I seem to have run i...
[no replies]
C2678
 
#include <iostream> #include <iomanip> #include <fstream> #include <string> using namespace std; ...
[1 reply] : #include <iostream> #include <fstream> #include <string> const int M... (by JLBorges)
How do I get this function to work? (Intro to C++)
 
I'm creating a text based game for my project in Intro to C++. This game has 5 functions and I can't...
[4 replies] Last: Never mind, someone pointed out the problem. What had happened was th... (by JonnyBro)
Stuck in do while loop
 
I'm perplexed by this do while loop I'm working with. If the string logic is satisfied then it works...
[4 replies] Last: try to remove the cin.get() at line 10 and line 17. (by tanezavm)
Help with Integer variable as stack
 
I am working on a problem and I am stuck. I need to create a stack with the container being an unsig...
[2 replies] Last: Ok, thank you. All I need to do now is figure out how to make the prog... (by pathfyndar12)
writing a map to file
 
I'm using maps and writing files for the first time and I get a crazy compiler error when I try to c...
[3 replies] Last: write() takes two parameters, a character array and an integral value.... (by wildblue)
Defining and accessing objects in a large framework
 
What would be a good method of defining wrapper class objects (outside of main) for which there shou...
[no replies]
help plz
 
MY QUESTION: Line# 8: could not convert '0' from int to std::ifstream; Line# 24: No matching...
[13 replies] Last: the ifstream? buth thanx allot i made a default parameter and the thi... (by mr kutch)
problem with input of strings
 
my cin.getline doesnt let me enter the variable it takes them as null and procedess to cout and fina...
[1 reply] : Is there by any means some other statement like std::cin >> /*...*/ ... (by MiiNiPaa)
c++ generator
 
#include "stdafx.h" #include "iostream" #include "string" using namespace std; int main () {...
[1 reply] : You need to seed your random number generator: http://en.cppreference.... (by MiiNiPaa)
Please help me with this program
 
Problem 1 Covering An interval is a pair of positive integers [a, b] with a ≤ b. It is meant to d...
[no replies]
Related to string and char array
 
how can i compare an element of the char array and string with single chsracter also how to compare ...
[3 replies] Last: thanks this means that cpp strings can also be refered character wise ... (by shreyanshcpp)
Vector of Classes w/ overloaded operators notcompiling
 
I am working on a school project and am stuck in the debugging. I am compiling with g++ and am using...
[1 reply] : your problem is const-correctness. mark any member function that does ... (by ne555)
by rossb
vector<vector< int> > matrix;
 
I am trying to create a vector of vectors. I am given the number of columns and rows and where some ...
[1 reply] : // http://ideone.com/sCBcs7 #include <iostream> #include <vector> u... (by cire)
Which way is best/right? pointers and referances
 
When changing a variable using a function, when the variable is outside that function, using pointer...
[2 replies] Last: That's what references are for. When in doubt, look at the standard li... (by Cubbi)
by Tili
hangman program problem. I'd appreciate some help here.
 
Hello there, I'm trying to make a hangman program. I am a beginner, as a result i don't know much ab...
[8 replies] Last: @Tili Great to hear. Congrats. (by whitenite1)
Pointer problem
 
So I have this program that simulates a grocery store checkout. Somewhere in the code, whether it wa...
[6 replies] Last: Ya I realized it was the same after I wrote it replied lol. But ya, it... (by YoungAminiMan)
by zakels
Question on creating a stardard deck class
 
Hi, I'm currently coding five card poker game. But as I was trying to set up the deck, some stra...
[4 replies] Last: @MiiNiPaa Haha I felt so stupid after all Thanks a bunch for the hel... (by zakels)
Programming Assignment Help
 
I need help making this program. It MUST include the following elements: - documentation explainin...
[4 replies] Last: Yea i was thinking of doing it on like video games...thanks bud (by K117Rocks)
BST with strings confusion
 
I have questions on how the inserting works for strings, I understand inserting numbers and am able ...
[1 reply] : Err... The same way you do it with numbers? It is no different actuall... (by MiiNiPaa)
December 2014 Pages: 1... 2223242526... 31
  Archived months: [nov2014] [jan2015]

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