[try Beta version]
Not logged in

Beginners - January 2019 (Page 15)

by KB93
Find Index of Closest Value in a Vector of Struct
 
I have txt file with values for temperature, voltage, and sensitivity which I am reading into a vect...
Jan 7, 2019 at 10:58am
[2 replies] Last: #include <iostream> #include <fstream> #include <sstream> #include <s... (by lastchance)
by yat89
remove_if
 
Hi everyone, I'm a new to c++ programming. I need some help to solve my task. I need to remove value...
Jan 7, 2019 at 9:51am
[11 replies] Last: Its work. Thank you @dutch for your help. (by yat89)
by Trib
prime, for, while..help
 
so, i have got a problem that says a number x is read, with that number, find the x'th prime number,...
Jan 7, 2019 at 8:37am
[6 replies] Last: Of course my code runs without error, but it is lack of generality. Ev... (by locatee)
find size of an object of a class
 
What will be the output of the following program? #include<iostream> #include<string.h> #inc...
Jan 7, 2019 at 7:20am
[1 reply] : What will be the output of the following program? The output is im... (by mbozzi)
by KB93
Binary Search Vector For Closest Value
 
Like the title says I am trying to use a binary search method to search a sorted vector for the clos...
Jan 7, 2019 at 2:41am
[12 replies] Last: solved double Convert::convertKtomV(double value) const { auto it... (by KB93)
Lucky Number Game Problem
 
Show your code i can help u
Jan 6, 2019 at 9:00pm
[1 reply] : 1 5 2 3 2 4 6 8 12 O/P - BOB (by cool123dude)
by KB93
How to Read Text File Starting at Numbers
 
I am trying to read this text file into three separate vectors, one for temp,voltage, and sensitivit...
Jan 6, 2019 at 8:27pm
[9 replies] Last: You can convert to millivolts in the input function: istream& opera... (by dutch)
by d0enas
Mathematical actions C++
 
Hello, I'm newbie in this forum and new to programming languages... I need to somehow make a mat...
Jan 6, 2019 at 2:15pm
[2 replies] Last: The program calls for a class to represent rational numbers and whole ... (by dhayden)
by powsem
Net beans optimized out
 
Hello every one! I use Net Beans on Arch Linux. How I turn off optimization in g++, for view va...
Jan 6, 2019 at 1:22pm
[8 replies] Last: I heave read: "if I see "<optimized out>", and don't use variable, th... (by powsem)
by Mrsoap
Simple error I need help with
 
I'm pretty new to this so please bear with me. I'm getting an error over the '.' in the code. ...
Jan 6, 2019 at 7:15am
[2 replies] Last: Hello Mrsoap, It would be better if you post the whole code as the er... (by Handy Andy)
How do I make this shape in C++?
 
This is the shape that I am trying to make. Apparently, this was made by using box drawing character...
Jan 5, 2019 at 11:13pm
[3 replies] Last: Hello redfury, What I have found with VS2017 is that the IDE and the ... (by Handy Andy)
mouse click
 
How can I create a mouse click in (graphics.h) to appear console? example: create a button (play ga...
Jan 5, 2019 at 10:22pm
[2 replies] Last: i use windows and i use c++ language with coode blocks compiler (by tiank2000)
by MJnoob
Checking if input is in the array already, and if its int or not
 
so I just started learning c++ and I am supposed to make a guessing game between 1-100 in c++ where ...
Jan 5, 2019 at 5:06pm
[10 replies] Last: Hello MJnoob, oh yes, I thought you meant I have to make a header fo... (by Handy Andy)
Redirect index.php to your domain
 
Hello, I want to say: www.domain_com / index.php Make Reedirect 301 on: www_domain_com Now either ...
Jan 5, 2019 at 4:42pm
[1 reply] : So what's your C or C++ question? (by salem c)
recursively print character using if and while
 
what is the different of using while and if here? why if i use "if" it produce correct result? bu...
Jan 5, 2019 at 4:00pm
[5 replies] Last: Basically this is an infinite loop: while(*k) (when *k is not NULL)... (by Grime)
Array sorting feedback appreciated :)
 
I was doing the Pancake Glutton excercise and just started trying to do a bit more with it. I used a...
Jan 5, 2019 at 12:45pm
[2 replies] Last: I used a 2d array to add another complication for me to work around. Y... (by Hollowman)
Copy only line user wants from a full file into other file
 
I am writing a c++ code for my cafe project, which READ from a full file(list of drinks 10) 1.Coca ...
Jan 5, 2019 at 12:34pm
[2 replies] Last: ... (by Enoizat)
Date and time as string
 
I want to create a string that holds today's date and another one that hold's the exact time. How ca...
Jan 5, 2019 at 11:02am
[1 reply] : #include <iostream> #include <iomanip> #include <string> #include <ct... (by lastchance)
Rapid Fire
 
#include <iostream> #include <Windows.h> using namespace std; int main() { while(true) ...
Jan 5, 2019 at 1:24am
[9 replies] Last: Clicked only one time. void click::loop() { //stati... (by jacapiwsko)
Can someone explain the logic of this codes please
 
QStringList Para_Meters; std::string Secret_Code; QString CaptureInterval; ...
Jan 4, 2019 at 11:11pm
[6 replies] Last: It's hard to detect what the semantic of the code is. There are some v... (by nuderobmonkey)
January 2019 Pages: 1... 1314151617
  Archived months: [dec2018] [feb2019]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.