Beginners - August 2020 (Page 5)

Error E0020, error code description not found on google!
 
Why when i literally copy paste some code, there is always so many errors??? I checked semantics and...
[7 replies] Last: Adapted macOS Catalina version #include <iostream> //#include <cstdi... (by againtry)
Call taskkill.exe with a keypress detection.
 
I read all rules, where was: you can post here any topic related to c++. I am sorry in advance, if t...
[2 replies] Last: eh, I have written a few super-batch files in c++. I find it easier ... (by jonnin)
Check if a string has variable elements
 
Hi there! I need some help here. How can i see if this string (LE: ARRAY) (1 -5 -3 2 -1 7 -2 5 1 7...
[3 replies] Last: Just work along the array from left to right, noting the length of an ... (by lastchance)
working with c_str()
 
i'm doing an exercise that wants me to use c_str with a vector<char*/> it seems these two thing...
[11 replies] Last: @jonnin (I think it is const char*, but that aside) Just saw your c... (by againtry)
Question??
 
Hello, I am a PhD student and I need to use the following piece of code for my research but I do not...
[3 replies] Last: Try ROS.org. If you really are doing a PhD in a relevant discipline (i... (by againtry)
recursion problem
 
Hello, I am currently learning about recursion, and I am having serious problems understanding this ...
[15 replies] Last: Putting recursion to one side, a good source of info/explanation/sampl... (by againtry)
Vectors and Deleting Allocated Memory
 
This is not for anything in particular, just for curiosity. If I had to allocate memory in a vector ...
[4 replies] Last: thank you everyone! (by JamesHelp)
Transpose an oriented graph
 
I want to reverse an oriented graph. I'm able to create the oriented Graph but I have to reverse ...
[4 replies] Last: #include <iostream> #include <vector> #include <initializer_list> #in... (by lastchance)
Why the input is incomplete?
 
My output comes incomplete when I build the program. When I input a name it comes incomplete. Exempl...
[2 replies] Last: Thank you very much, it worked ;) (by ObscurityT)
repeat in a string
 
So I am writing a code where i want to print out the amount of letters in a string and print it out ...
[6 replies] Last: @jonnin Good call - I was lazy. @OP please get on with making the nece... (by againtry)
by asxxx
Calculator/Parsing/Tokens
 
Hello. I am start coding a calculator in the console now. It will be need for me later in my GUI app...
[3 replies] Last: And your isNumber function might be better like this: #include <iost... (by againtry)
problem 2 chapter 11 (structures) from jumping into c++
 
the question says "Create an array of space ship objects and write a program that continually upda...
[14 replies] Last: I dont have an teacher and the book didnt giv me information to move a... (by ahmedddddddd)
by StMick
Map Insertion Issue
 
For some reason I am unable to add elements to a map in the below program. The map should be fil...
[19 replies] Last: The bottom line - if the key class is complex, unlike my previous, a p... (by againtry)
by jonnin
uh
 
enums are arrays are kinda cool :) Lets take a look-see: enum planetType {Mercury, Venus, Earth, ...
[4 replies] Last: what I posted compiled and ran for me. It also runs here (edit and r... (by jonnin)
Map accessing
 
What is the equivalent cpp code: How to find the previous element and the current element value in t...
[8 replies] Last: Underscore followed by capital letter or 2x consecutive underscores a... (by jlb)
Matrix of letters
 
Hi there, so we have an int n and then we type in the console n words, they have to be on a new line...
[6 replies] Last: may help.. some programs like this make a fake border around the grid,... (by jonnin)
by jerryd
passing class pointers in a class method
 
cplusplus forum, I need to pass a pointer to One class in a function of Another class. ex: cla...
[4 replies] Last: #include <iostream> class One { public: int data; One(){data... (by againtry)
by jerryd
Isolate a base class method
 
cplusplus forum I have several inherited classes from a base class. I added a function to the ba...
[3 replies] Last: Okay good to hear. It just sounded like a big rabbit hole happening at... (by Ganado)
can someone easily show me, how to call an array function with or without using pointer.
 
can you finish this code? #include <iostream> using namespace std; void array(int num1 , int...
[3 replies] Last: jlb Sorry didn't know, in the future, I will you use. Zapshe Than... (by Learner2016)
passing arrays (character array)
 
Hello, I am currently learning how to pass pointers and arrays to functions. I am currently going ov...
[3 replies] Last: Do you realize that all three of the following function signatures ar... (by DonnaPin)
August 2020 Pages: 1... 345678
  Archived months: [jul2020] [sep2020]

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