General C++ Programming (Page 5)

help?
 
help with program that accepts a date in the format MM-DD-YYYY from the user and determines and disp...
[1 reply] : DUPLICATE POST - same program, same problems http://www.cplusplus.co... (by whitenite1)
Phone Database Program - Need to Call One Function to Another
 
Hello, I am trying to write a mini-phone database program that can display phones based on name, pro...
[18 replies] Last: Yea the first loop is doing that. No 4 characters, based on x amount o... (by realmeal100)
by Aris
Read chars strings doubles from a txt file and put them in a class vector in order to use them
 
So, I have this records.txt file : c Ann y c Bob n t Ann +534.50 t Bob +40.00 t Bob -...
[1 reply] : A few problems: Line 10-13: Why are your member variables public? T... (by AbstractionAnon)
How to do time complexity table for binary search? (recursive and non-recursive)
 
Ok so I have to make a time analysis table for both of my binary search algorithms in my program. On...
[1 reply] : Important are the lines 15 and 12, respectively. These are the lines t... (by Duthomhas)
by AdamG
Extract Values from a complicated string
 
I am looking for a function to extract values from a string here are three examples of the string...
[3 replies] Last: Very longwinded compared with the slick regex version above, but hopef... (by lastchance)
Just a bit of help with a function
 
help with program that accepts a date in the format MM-DD-YYYY from the user and determines and disp...
[3 replies] Last: Yes. Thank you! I've corrected it now. (by JLBorges)
Does strtok() changes the string passed by value.
 
I am passing a string by value to func() which uses strtok() function. But when I am printing back t...
[7 replies] Last: Thanks, Cubbi! (by JLBorges)
Urgent! Can someone please help me with this C++ problem.
 
I've been struggling to do this as I've only just grasped the beginnings of class, public, private, ...
[4 replies] Last: http://www.cplusplus.com/forum/beginner/1/ http://www.catb.org/esr/faq... (by mbozzi)
Need help looping through a text file
 
#include<iostream> #include<string> #include<fstream> using namespace std; i...
[2 replies] Last: This part of the code has problems: // Use a while loop to loop t... (by Chervil)
Help with I/O
 
I am going to say this outright this is an assignment for school and my teacher has said i can come ...
[19 replies] Last: I am still doing this program but my teacher isnt in any hurry for it ... (by Shiro12)
by slei
String literal and char*
 
Hey, I've rarely used char* in my past. I just try to avoid them and use strings as much as possibl...
[10 replies] Last: is constexpr for variables already in c++11 ? cant remember, yeah, bu... (by slei)
Statistical groupings in data
 
I have data files that I sort through each column and analyze. I have a program that imports .csv fi...
[9 replies] Last: if large, pre-allocate that vector. Push-back is smart enough to atte... (by jonnin)
Check if char contains certain word
 
I have a little software program, where I do an API call to retrieve the name of a device that's as...
[2 replies] Last: You haven’t shown us any code, but you can use the C strstr() func... (by Duthomhas)
by Drei3
how to put printf in a inifinite loop
 
ive been trying to put printf in an infinite loop but printf just wont show up. Also I want to know...
[2 replies] Last: while(true) { printf("derp "); fflush(stdout); } (by jonnin)
Chapter 18 Section 18.3.1 Copy constructor help needed in compiling (1,2)
 
In the PPP2 book, there's the following code for the custom vector class being implemented starting ...
[21 replies] Last: Continued namespace toy { void swap( vector& a, vector& b ) { a.... (by JLBorges)
Imput Buffer after Operations Question
 
Hello, I'm not asking necessarily for the answers, i'm just looking to be pointed in the right direc...
[3 replies] Last: Formatted input ( std::cin >> input ): skips leading white space, ext... (by JLBorges)
CAlculat students grades
 
This quest is going to improve upon the previous quest. We are now going to keep track of up to 30 s...
[1 reply] : Hi, firstly, this isn't the way to take array limits cout << "how ... (by shadder)
map takes no class function as map_value parameter
 
Hi there, I want to process commands in a chat program I've started working on. The way I'm plannin...
[1 reply] : #include <iostream> #include <string> #include <functional> #include ... (by JLBorges)
Refactor: Image - Printer - Draw
 
Hi, I just came from C, and I would like how to refactor this case for learning purposes. What I d...
[no replies]
by stav
Circular include problem
 
hi, so i just started working on my first ever "big" c++ project and i've already ran in to a bit of...
[1 reply] : First snippet: Line 5: delete the recursive include. Line 9: Incl... (by AbstractionAnon)
Pages: 1... 34567... 21
  Archived months: [aug2017]

Cannot post in this page. To post a new message, go to the first page.