Beginners - October 2018 (Page 10)

PLEASE HELP ME IN PERIODIC
 
Let's define a periodic infinite sequence S (0-indexed) with period K using the formula Si=(i%K)+1. Chef has found a sequence of positive integers A with len...
[2 replies] Last: This guy's account needs to be deleted. (by tpb)
simple stupid quick question
 
How do i push an empty data structure inside a data structure? std::stack<std::set<std::string>> x; x.push(???);
[2 replies] Last: thanks! (by barnack)
I have a QT question
 
Hey guys, yes pun intended, as you can see a QT c++ class will have a signals: and slots: access specifiers,how is this possible ? I thought C++ in gen...
[1 reply] : http://doc.qt.io/qt-5/moc.html (by Peter87)
by cc046
remove duplicate string in a string array
 
can anyone tell me or give me a code? How to remove duplicate strings in a given string array without using two loops or less complexity.
[5 replies] Last: Nobody is asking you to delete anything. Insert your strings into a se... (by lastchance)
C++ How do i find most repeated elements in a vector
 
I am trying to find most repeated elements in a vector. Lets say this is the vector: [2,3,4,6,3,2,9 17,2,21,3,6,9,12] in this case 2 is repeated 3 times ...
[1 reply] : std::map<int,int> (by lastchance)
Sentinel Loop
 
I want my loop program to quit after END is entered. However, my program ignores my condition and keeps looping. Can anyone point out what I need to fix? ...
[7 replies] Last: You could try something like: while (getline(cin, x) && x != "END... (by jlb)
NEED HELP IN ARRGRAPH
 
You are given a sequence of integers A1,A2,…,AN. You may change any number of its elements (possibly zero), obtaining a new sequence of positive integers B1,B...
[6 replies] Last: anyone can give some hint or logic to solve PERIODIC question (by cool123dude)
Strings not functioning properly
 
Hello. Whenever I input a string containing spaces, it stores each word in each string variable. #include <iostream> using namespace std; struct book {...
[2 replies] Last: The unexpected behavior is because cin stops reading when it hits a wh... (by Satan)
I need help passing a 2D array
 
I have this 2D array but how do I pass it into a function, I know I can use pointers but I don't know how to use them yet. int main() { srand((unsigned) ...
[1 reply] : #include <iostream> #include <algorithm> #include <cstdlib> #include... (by tpb)
by sizeof
unresolved external symbol
 
Write your question here. VS 2010. When I tried to compile a C++ MFC project. There seems exists a lacking of lib when linking libs. But I do not know which lib...
[3 replies] Last: Hello sizeof, At the beginning of the file the "include" files genera... (by Handy Andy)
NEED HELP IN PERIODIC
 
Let's define a periodic infinite sequence S (0-indexed) with period K using the formula Si=(i%K)+1. Chef has found a sequence of positive integers A with len...
[7 replies] Last: How do we solve this? (by massiveboost)
help !
 
iam getting one compiling error please help #include<stdio.h> #include<iostream> //headers #include<string> using namespace std; c...
[2 replies] Last: Hello poohbear, You should always compile your program before posting... (by Handy Andy)
visual studio not identifying problem
 
Hi, for some reason i keep getting a build error, i am not sure why as the code looks fine to me. A response would be greatly appreciated. thanks. #i...
[5 replies] Last: Thanks guys this is sorted now. (by southconnor)
by Satan
Find the Best recruitment Agency in India – You Must See!!!
 
DON'T ENTER THAT SITE ITS A SCAM!!!!!!!!!!!! There are so many spam posts that come here.. Luckily we have active moderators ;) oh btw I just have to reply...
[5 replies] Last: Oh I just realized those threads aren't deleted and only my post is in... (by Satan)
by Mr Mr
language speed
 
When I hear phrases like, "C++ is faster" than higher level languages, I'm not sure what it means. More specifically, when compiling a C++ program, it's conver...
[5 replies] Last: C++ doesn't automatically make your program fast. If you don't know wh... (by Peter87)
Subtraction in Parts
 
I want to Perform subtraction in parts For Example Subtract 1237123 from 2134342 Subtract it By making 3 digits pair and then combine 342-123 134-237 002-0...
[4 replies] Last: Hope this was what you wanted. If you want changes let me know. And al... (by Satan)
by Satan
https://hbmbzone.com/praltrix-pills-za/
 
DO NOT ENTER THAT SITE ITS A SCAM! I'm very sorry I didn't know how this worked.
[1 reply] : do not reply to spam (by TheIdeasMan)
Trying to make it display for the output
 
My program right now doesn't display there are no even or there are no odds. I tried add else and it wouldn't work. What do i have to do? // Even functi...
[7 replies] Last: @ Nwb http://www.cplusplus.com/forum/beginner/244453/ (by TheIdeasMan)
by Satan
http://trade4supplement.com/keto-ultra-diet/
 
DO NOT ENTER THAT SITE ITS A SCAM I'm very sorry I didn't know how this worked.
[1 reply] : Please don't reply to spam, senior members can report and delete them. (by TheIdeasMan)
Rock, Paper, Scissors game
 
Good evening all, Can anyone point me in the right direction with my code for a rock, paper, scissors game? #include <iostream> #include <string> #inclu...
[2 replies] Last: Thank you @Nwb, that worked!!! (by tdknapp)
October 2018 Pages: 1... 89101112... 28
  Archived months: [sep2018] [nov2018]

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