
please wait
by JUAN DENT
constexpr vas inline??
|
Hi, Yes, the question sounds silly, I know... But, nevertheless I need to ask it: because: say we have constexpr double square( double x ) { ret... |
Mar 25, 2016 at 1:04am
[5 replies] Last: Hi, I might attempt to answer this :+) In this link, a constexpr fun... (by TheIdeasMan)
|
by dogsu1230
help please. vector subscript out of range error.
|
I am writing this function for merging two vectors in order. each vector should be in order already before merging, so check that in the beginning. after that... |
Mar 24, 2016 at 11:40pm
[3 replies] Last: sorry guys (by dogsu1230)
|
by jjkrynock
Outputting a zip code as a bar code format
|
Hello, I've been asked to write a program that outputs a mailing label for a given address. The zip code needs to displayed as a "bar code" at the bottom of... |
Mar 24, 2016 at 11:05pm
[5 replies] Last: Thank you a ton AbstractionAnon! (by jjkrynock)
|
by mrtzz
Back-Pointer
|
Hey, i'm lacking a proper search term for my problem, so i hope this question hasn't been answered already. So, i have a class called Parent.On instantiation it... |
Mar 24, 2016 at 9:55pm
[4 replies] Last: @doug4 yes that makes sense, thanks! If p would be a shared_ptr to par... (by mrtzz)
|
by raiiiny
Nested Looping Producing Bad Results
|
I was instructed to create a program that uses nested loops to get 4 quiz scores from any amount of students, output them into a file, and then input them back ... |
Mar 24, 2016 at 9:42pm
[8 replies] Last: AHHH. Thank you so much!!! I changed the for loop to this: for (int ... (by raiiiny)
|
by lililola
recording vidio stream from vlc
|
hi everyone, i want to do a c++ program that receive a stream from vlc and save it in a disk(D:\\vidéo.mp4)i supose i have to use udp sockets to get this stre... |
Mar 24, 2016 at 9:28pm
[no replies]
|
Finding Username Password and ID in .txt |
Working on the log in system for my Text based RPG, where the user can set their username, password and IG Name which are all saved in a plain text file. I need... |
Mar 24, 2016 at 7:16pm
[no replies]
|
by robyn123
C++ code
|
Write a program that calculates the amount a person would earn over a period of time if his or her salary is one penny the first day, two pennies the second day... |
Mar 24, 2016 at 3:45pm
[3 replies] Last: Your for loop is an infinite loop and your braces aren't balanced. Thi... (by booradley60)
|
by zahra2018
help me with multiplication of two matrix
|
whats wrong with this program?this program should take all of things in one scanf but its only takes matrix 1.i confused #include<stdio.h> int main() { int ... |
Mar 24, 2016 at 3:35pm
[1 reply] : What do you think a construct like this does? for (i = 0; i<m; i++)// ... (by coder777)
|
by ayati
generic declaration of and acess to member variables (1,2)
|
Hi everyone, I have a parameter N known at compile time, and a class C (from container) that contain N member variables of different types. My final objective... |
Mar 24, 2016 at 3:27pm
[27 replies] Last: > till now the code does not seem to have lot of use. No, it was quit... (by JLBorges)
|
by kbw
clang: copy elision warning
|
In recent times I've taken to writing code like: std::string assing(const zmq::message_t& msg) { std::string str((const char*)msg.data(), msg.size()); ... |
Mar 24, 2016 at 1:53pm
[8 replies] Last: std::move is implemented as a type cast, but that doesn't mean it does... (by kbw)
|
by denz
Please can you assist.
|
A bookshop gives discount to customers as follows: Students get 10% discount, Book dealers get 12% discount and Pensioners get 15% discount. Al... |
Mar 24, 2016 at 12:43pm
[3 replies] Last: Thank you so much guys, this helped me out big time. Much,much appreci... (by denz)
|
by Beez
Inputing data from .txt file into array
|
I posted on stack overflow, but everyone just downvotes my questions as I am not a seasoned programmer. I will try to lay it out in a better format. I'm trying ... |
Mar 24, 2016 at 11:47am
[4 replies] Last: cout << "I have just read in the strings " << boys << " and " << gir... (by Moschops)
|
Luhn Algorithm "Credit Card Validator" |
* |
Mar 24, 2016 at 9:42am
[1 reply] : I cannot get it to provide a correct valid credit card number. You cr... (by kbw)
|
by Beez
Searching Array to check for matching string
|
The user inputs a name they want to search for in my arrays if it matches one in the list I want it to output the location in the array that the name is located... |
Mar 24, 2016 at 9:42am
[5 replies] Last: Your function has no return value if the string is not found, so you c... (by Moschops)
|
by rajhansk
Understanding the vectors
|
// constructing vectors #include <iostream> #include <vector> int main () { // constructors used in the same order as described above: std::vector<i... |
Mar 24, 2016 at 5:26am
[1 reply] : what is *it, in the above program, it has not even declared... Yeah... (by TheIdeasMan)
|
by JUAN DENT
Variadic introducing an static for each typename passed
|
Hi, Having the following variadic template definition: template<typename...Tuples> struct expand; template<typename T, typename...Tuples> struct exp... |
Mar 24, 2016 at 4:06am
[1 reply] : #include <iostream> template < typename... > struct expand ; templa... (by JLBorges)
|
Loan Issue |
Super frustrated. I'm trying to determine how to do this incremental loan calculator. These are the requirements. Input should be: -Loan. -Amount of ... |
Mar 24, 2016 at 3:38am
[1 reply] : Hi, On line 31, the compiler does integer division before implicitly ... (by TheIdeasMan)
|
by josheir
Help with code, please. C++ Programmer's Notebook 2nd Edition
|
I am studying from a book : C++ Programmer's Notebook 2nd Edition by Jim Keough and John Shapley Gray. I am having a problem with pages 438 - 439 : Using a Lin... |
Mar 24, 2016 at 1:04am
[5 replies] Last: Yes exit the loop if the count gets to big, however n increments in a ... (by josheir)
|
Help with strings |
jhggh |
Mar 23, 2016 at 9:07pm
[1 reply] : Please note that this is not a homework site. We won't do your homewor... (by keskiverto)
|