General C++ Programming - October 2017

About finding a coordinate
 
HI,I am new to C++programming.I would be grateful that if someone can give me some hints about m...
[2 replies] Last: Do you consider -3 to be prime? If not, can x1 or x2 be negative? What... (by Duthomhas)
HELP! Printing out each characters of an array?
 
The Program will input a first and last name into one variable – using getline Determine the leng...
[1 reply] : #include "std_lib_facilities.h" int main() { string name; ... (by bradltr95)
by sry90
linker command failed with exit code 1
 
Hi, I'm currently working on this code, but it keeps on giving me this error:"linker command failed ...
[9 replies] Last: Thanks guys for all the help, the reason why I was getting that error ... (by sry90)
Help with <cmath>
 
Hello, This is my code. I am trying to average 4 grades, however every time I run the program it doe...
[3 replies] Last: Thank you both for the reply. All the information was very helpful and... (by ajenell)
Vector iterator
 
Hi guys, I have a question about vector iterators. Maybe it's should be in a beginner thread, if ye...
[2 replies] Last: OMG .. shame on me.. ty for this quick answer (by Tony321)
by PG1
Help needed : getting LNK2019: unresolved external symbol "void_cdecl ..." error
 
Thank you everyone. We were able to progress. However I am unable to append file. I put the app wh...
[3 replies] Last: Another error, on several lines (throughout the program): The logical... (by Chervil)
Saddle point- Class - Garbage value
 
Ques. To find saddle point of the matrix using classes Doubt. The function display giving garbage v...
[3 replies] Last: if that the case then all you need to do is not create a new variable ... (by Yolanda)
Concepts online implementation
 
Have C++ concepts been implemented by any online compilers? If so, which one(s) and where can I f...
[2 replies] Last: As noted in http://en.cppreference.com/w/cpp/language/constraints , Th... (by Cubbi)
Is there any function to see all member varibales and functions of a library class in C++
 
Hi ppl :) Is there any way to print available member variables and functions for C++ inbuilt clas...
[4 replies] Last: Reference documentation for C++ Standard Library is a very good thing.... (by keskiverto)
static parseint
 
The program I am doing has to have a static parseInt(const string& s)in it I have tried different ...
[3 replies] Last: a string is made up of characters. so if the user types in 1234 it is... (by jonnin)
Structure program not running correctly
 
Hey, have a assignment due tomorrow and i cant get my program to work the assignment is Define a...
[2 replies] Last: Is there a question in there somewhere? ... and i cant get my progra... (by doug4)
by bst
classes
 
nnk
[1 reply] : Please note that this is not a homework site. We won't do your homewor... (by keskiverto)
Linux SIGALRM
 
HELLOW, I need to do a program in c ++ under linux: alling the alarm function (sec) will bring the...
[3 replies] Last: alarm() raises a software interrupt, or signal. You must install a si... (by kbw)
Error message
 
I am having a problem with one of my class excercises it is the last one I have to do. I get the mes...
[2 replies] Last: Thanks (by comp121)
Not sure why this isn't reading from a file correctly
 
#include <iostream> #include <fstream> #include <string> #include <sstream> using namespace std; ...
[7 replies] Last: Thank you @Chervil! Thanks for letting me know what was wrong with it,... (by verdantgale)
reading 3 lines each time froma file
 
Hi, i have a file with 44 LINES, the content is: AAAAAAAAAAAAA 1111111111111 2222222222222 7...
[4 replies] Last: Keskiverto is 100% correct but I thought I'd add a little more detail.... (by SamuelAdams)
How to do numpy's dtype?
 
From what I've seen floats and doubles have different levels of precision based on what computer you...
[3 replies] Last: Numpy is open source, is it not? Therefore, you can download and read ... (by keskiverto)
Help with printing out indices of array!
 
Basically what I'm trying to do is create a search function that takes 1 parameter of type T, as the...
[1 reply] : index is not initialized. (by ne555)
PPP2 Chapter 19 Exercise 5 - Class Int
 
Exercise specifications: Define a class Int having a single member of class int . Define construc- ...
[10 replies] Last: > What do I do to fix this? For the two ways in which this can be fi... (by JLBorges)
user-defined manipulator: Format
 
Stroustrup ["The C++ Programming Language, 4th Ed", pp 1097-1098] has provided an example of an inte...
[9 replies] Last: That the type itself (the user-defined manipulator) can be reused over... (by JLBorges)
October 2017 Pages: 123... 17
  Archived months: [sep2017] [nov2017]

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