
please wait
by semsemdiver
problem with string -get line with while loop
|
hi there, why can't i get the line again in while loop ? #include<iostream> #include<string> int main() { char again; do { std::string nam... |
Sep 3, 2020 at 12:03pm
[12 replies] Last: "Furry Guy" "seeplus" thank you guys for your help i appreciate it .. ... (by semsemdiver)
|
array size in for loop |
Hello, I am wondering about getting the size of an array and using it in a for loop. Is this possible? Code given below. In the first for loop I used 10 as the ... |
Sep 3, 2020 at 8:56am
[6 replies] Last: @MyOnlinePersona, As a matter of interest, what is your code intended ... (by lastchance)
|
by Shervan360
Is the NULL pointer same as an uninitialized pointer?
|
Hi, Is the NULL pointer same as an uninitialized pointer? Thanks |
Sep 3, 2020 at 7:50am
[5 replies] Last: Is it NULL pointer? int *p = NULL; Yes - but in C++ it should be ... (by seeplus)
|
by Nergis
Help with console closing down automatically
|
my first task and I need help as it shuts down immediately after I have answered how do I get it not to shut down automatically? I have onöy read c++ for 3 wee... |
Sep 3, 2020 at 7:31am
[3 replies] Last: See the 'sticky' thread at the top of this forum ' Console Closing dow... (by seeplus)
|
by adeel zamann
Changing values and storing new values in file (1,2)
|
Hi guys its just a simple code in which it has a fixed price in a file but I want to add more price with the exciting price so it can be the new price. I tried ... |
Sep 3, 2020 at 2:10am
[23 replies] Last: BTW As we all know a container ... <map> ... is the way to go and if O... (by againtry)
|
by Deadweight77
Random number generator in vectors
|
It been awhile since I've used c++ as I have been using python more frequently however, I need a refresher on how to create a random number generator in vectors... |
Sep 2, 2020 at 6:24pm
[4 replies] Last: And then with modern C++ random engine: #include <iostream> #include ... (by keskiverto)
|
by JoshuaCarman
Please help - Array - out of range error
|
Hi All, Doing an assignment with one aspect being working out the maximum amount of a material used. Loading the material used into an array, then a maximum ... |
Sep 2, 2020 at 12:38pm
[6 replies] Last: Now, you have both: #include <iostream> #include <iomanip> #include ... (by againtry)
|
by ispy
Interchange Harcoded c:\\ for SystemDrive Variable
|
Hi everyone, I apologise in advance if my question seems confusing & noobish but I have no clue about coding in C++ hence the apparent ignorance & difficulty t... |
Sep 2, 2020 at 11:07am
[13 replies] Last: @ jonnin, I generally like to leave whatever I am doing on a positive... (by ispy)
|
by abuh
please help me
|
Rewrite the header and body of SetHour, SetMinute, and SetSecond functions in the Time class to enable invoking these functions sequentially in the same stateme... |
Sep 2, 2020 at 9:59am
[2 replies] Last: Please use code tags so that the code is readable! (by seeplus)
|
by highwayman
I’m... too obsessed with std::move?
|
Ok so as far as I’ve read, then entire point of adding the type type&& was to allow for just a quick transfer of data like without copying for when you no l... |
Sep 2, 2020 at 9:54am
[2 replies] Last: Ahhh ok ok I see thanks :) (by highwayman)
|
by adam2016
SDL and codeblocks not properly linking
|
Hi guys I'm using codeblocks with a 64 bit gcc-mingw compiler I downloaded the SDL dev libraries and linked it, this has always worked for me in the past th... |
Sep 1, 2020 at 6:01pm
[2 replies] Last: > here are the steps I took, firstly I moved the SDL include directory... (by salem c)
|
by asxxx
Tokenizer for calculator
|
Hello. I am coding tokenizer which split expression( for example 123+45 123, + , 45)for calculator. It works correctly excpet float/dobule numbers beacuse I do... |
Sep 1, 2020 at 2:18pm
[2 replies] Last: I found it easier to handle everything else, then what is left is eith... (by jonnin)
|
by nakash
C++ vector storage
|
my vector is not recording any data from my text file the text file contains 106,187 words but for testing purposes i'm using the below set: bleeping damne... |
Sep 1, 2020 at 10:29am
[8 replies] Last: From the previous post http://www.cplusplus.com/forum/beginner/272579/... (by seeplus)
|
by Snikker
Making a function that clears the console
|
Hello there guys, I am trying to make a function that clears the console. I just graduated high school some months ago and in October I will go to university to... |
Sep 1, 2020 at 9:31am
[6 replies] Last: As Windows 10 now supports VT100 for the console, the VT100 escape seq... (by seeplus)
|