General C++ Programming - February 2017 (Page 6)

Arrays and functions
 
I have a similar problem as GIZMO928 did in FEB 2015 The problem is: Write a program that lets t...
[no replies]
by Frenzy
Algorithim help. Struct in Dbl. Linked List
 
Hello, first I am not asking for help with writing my code, but just thinking through the steps requ...
[1 reply] : Double post http://www.cplusplus.com/forum/beginner/209116/ (by SamuelAdams)
by elsa
how to instantiate control statement inside virtual function (1,2)
 
I'm trying to instantiate a control statement inside my virtual function program, but I'm hitting a ...
[31 replies] Last: Looks good. Another way would be to have a function in the base class ... (by closed account 48T7M4Gy)
by Borneq
In memory compression
 
I search easy sources of fast (but not must be snappy) compression memory streams without process fi...
[1 reply] : zlib can compress in-memory buffers. Is that not fast enough for you? (by helios)
I need help with a function that cleans char
 
the function cleans the any extracharacters before the word but i dont know what to do for character...
[1 reply] : Maybe: while (inputstr.find_last_of(extrachar)!=string::npos) ... (by Chervil)
Stack
 
I have been asked to create a stack without the use of libraries. I have began the code but having d...
[1 reply] : Don't use a linked structure for a stack. It's much easier to use an ... (by mbozzi)
Comaparison of char array element at specific index
 
{int counter=0; char arrar ={221,254,254,0,0,0,254,222}; for(int l=0; l<10; l++) //This loops on...
[2 replies] Last: This is a problem with signed/unsigned. See: // numeric_limits examp... (by coder777)
Linked list
 
So recent, I started to learn linked list in class and I am confused. She did a whole explanation an...
[5 replies] Last: Is that how you close it? Yep, that's the way, and thanks because it... (by closed account 48T7M4Gy)
Support needed with my assignment
 
Hi, I'm doing a Business Management course & for some reason I have to complete a C++ Module which I...
[5 replies] Last: ill add to that... no one wants to work with "that guy" who cheated hi... (by jonnin)
Help with add function
 
Hello everyone, my professor gave us a project to do and I'm stuck on one of my functions He gives ...
[4 replies] Last: Everytime I run it, it keeps in looping? Instead of trying to assign... (by jlb)
What's missing?
 
I was making a program that should replace a letter or two(or more) or a phrase when you enter a re...
[2 replies] Last: #include<iostream> #include<string> using namespace std; int main() ... (by lastchance)
by ecka1
file
 
I am trying to crete a file of telephone subscribers, where you enter name ,lastname and the phone ...
[no replies]
Stack and queues without libraries
 
I have been asked to develop a stack and a queue for their main flagship OS, Windowless 9. No libr...
[1 reply] : About stacks http://www.sourcetricks.com/2008/07/c-stacks.html About ... (by Thomas1965)
by arceus
I need help with an error.
 
I don't know what I did or haven't done but this error, "no match for 'operator==' in 'std::getline...
[9 replies] Last: > May I know what the substring.empty() is for? in "if( !substring.emp... (by JLBorges)
How to print out a priority queue?
 
#include "stdafx.h" #include <queue> #include <iostream> #include <functional> #include <vector> u...
[1 reply] : I think I may have answered my own question? This seems from my point ... (by Jake123456)
by elsa
how to print future calendar date in C++
 
I've been looking for a way to calculate a future calendar date in C++, but so far no dice. Basical...
[3 replies] Last: std::string format_date( const std::tm& tm ) // MM-DD-YYYY { char ... (by JLBorges)
Using a Do While Loop to pull Data from a file and then run the data through a switch.
 
Guys I'm so confused on this I'm trying to read the following data from a .txt file. (file data) Th...
[8 replies] Last: This worked perfectly! Thanks guys! // Kailin Stevers // February 1... (by katiestevers)
I need help with this program.
 
I need the findCons function to return the number of consonants but it keeps giving me a weird numbe...
[9 replies] Last: I fixed it. Thank you! (by mrr6870)
Parallel computing in C++
 
I am studying threading these days and realized that it improves latency, but not performance. So...
[8 replies] Last: Do you have any recommended book for me to buy? I prefer some books wi... (by landlord2017)
February 2017 Pages: 1... 45678... 16
  Archived months: [jan2017] [mar2017]

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