Beginners - December 2018

subarray question
 
Question link- https://www.hackerearth.com/practice/algorithms/searching/linear-search/practice-pr...
[2 replies] Last: @ne555 Happy new year Are you talking about the bad quality of quest... (by suyashsing234)
by Tduck
Can you define two classes on the same source file?
 
I have an issue with a program I am creating that wants to use one object as a parameter. When I ha...
[2 replies] Last: You just need a forward declaration for each class: #ifndef CLASS1_H ... (by dhayden)
Error
 
I don't understand what's happening?? #include<iostream> using namespace std; struct time ...
[4 replies] Last: main() While we're here, that's very wrong. main returns an int ... (by Repeater)
Is it possible to use a string as a member name?
 
I'm using Gtkmm3 and I have a custom widget CustomWidget . I want to instantiate CutomWidget like s...
[4 replies] Last: AbstractionAnon I have fixed that in my github page, but still after p... (by bretjoseph)
Saving a row of a vector into another vector
 
Hello, I am learning c++ and I am currently at halt. I am trying to write a function such that: ...
[1 reply] : > I starred the parts that are incomplete due to my lack of knowledge.... (by ne555)
FizzBuzz
 
Hi, I normally use the FizzBuzz test and try to see how many different variations I can do to get...
[2 replies] Last: Thank you very much Ganado for your quick response! :) Yep, that was... (by IT Delinquent)
Helping out for GamePlay Multiplayer
 
Hello! I have been creating a game for 5 years! Can someone help me out now pls ? https://fundrazr....
[1 reply] : Can someone please help me at least where i can find some help ? Plea... (by armando2)
c++ password storage + masking input
 
Hello everyone, I'm pretty new to programming - just starting out with C++. So I wanted to make an a...
[1 reply] : Even thought maybe about encrypting data in that file, although I hav... (by helios)
by Spaget
Problem with program
 
Okay so i am stuck in this particular point in my program.So the program goes as follows:A menu of p...
[1 reply] : Line 26 is wrong. Whatever you try to pass to metProPin(...) &pr is... (by coder777)
Help with C++ writing to JSON
 
Hi, I'm making a game server and my database is in JSON format. However, I would like to know how do...
[2 replies] Last: I would actually recommend boost PropertyTree. See: https://www.boost... (by coder777)
is program right??
 
i write a program that calculate the sum of first nine terms like(1/3!+5/4!+9/5!+....) i am not sure...
[7 replies] Last: Thanks... (by Mehmood Umer)
by yat89
Moving the next value to the left to replace the removed value
 
Hi everyone. I am new to C++ programming. I need some help from anyone here. I got a task to remove ...
[10 replies] Last: Usually when you compile you can tell your compiler which standard ado... (by Enoizat)
Normal variable and pointer
 
Can you explain about bellow code?Why (na+1)=0x4? when a variable store stack or heap ? // Exam...
[1 reply] : It's just an arbitrary value since you never initialized it. Try this:... (by dutch)
Interview Question that got me confused
 
There was an interview question a while back, which got me confused for a while and at the moment. ...
[11 replies] Last: That's very nice too :) Edit: Grime, There's a few differences betw... (by Ganado)
Why cant you compare the value if an int type variables
 
Why cant you compare the value if an int type variables? For example: int a = v.size(); fo...
[13 replies] Last: @repeater That makes much more sense now I was unaware of this thank ... (by imperialcplusplus)
by veysel
difference static and global variable
 
hello friends, why we using static variables in a class according to global variable ? are they any ...
[2 replies] Last: firstly thank you for the answer. What i understand that using global ... (by veysel)
For loop an array in a class which isn't main
 
I am trying to cout strings from an array which I want to use as a name of a widget in gtkmm but r...
[3 replies] Last: Hmm thanks it now works even without the #include <string> ... (by bretjoseph)
outputting border of a square-nested loops and conditionals
 
I am writing some code such that: 1) you input the length of the side of a square and what you wa...
[2 replies] Last: Perhaps if you renamed 'i' to be 'row' and 'j' to be 'col', things wou... (by salem c)
Looking for C++ Mentor, Willing to Mentor in PHP/JavaScript
 
Hello, I've been a web developer for 15 years, I've done pretty much everything with PHP and I'm ...
[4 replies] Last: > User name: Brassware > This user does not accept Private Messages I'... (by salem c)
undefined reference to `sqlite3_open'
 
I would use sqlite3 db got this snippet #include <stdio.h> #include <sqlite3.h> #include <iostre...
[2 replies] Last: thankyou for your answer unfortunately I'm really quite new to c++ ,... (by babydev)
December 2018 Pages: 123... 21
  Archived months: [nov2018] [jan2019]

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