Beginners - December 2019

by Miskok
c++ convert to oop(object oriented programing) (1,2,3)
 
Hello, I just want to have couple question about this code,. how to convert this code to oop(object ...
[50 replies] Last: If you insist that OOP is a programming language Lucky me for not ma... (by againtry)
Function Exiting
 
Fellow programmers, I am requesting assistance on a small problem I am experiencing with this ...
[3 replies] Last: Hello john26999, Any time. Andy (by Handy Andy)
*this vs this in C++
 
Hello, I'm confused. I don't know what is differences between this and *this. If we use this in the...
[8 replies] Last: If'n new-ish students are going to deal with memory management via poi... (by deleted account xyzzy)
Whats Wrong In This Code......HELP
 
Create a class Matrix and Write a C++ program to perform the following functions: a. To accept a Ma...
[14 replies] Last: Looking at your most recent code: Line 2 should be #include <cstdlib... (by dhayden)
by ema897
Graph implementation with element of a class
 
Is it possible to implement a graph with object of a class? I mean, I made a class and it has many ...
[13 replies] Last: now, for the next error _x1 = &a; error: assigning to 'myClass *' f... (by ne555)
Different Types of Memory Allocation
 
As I said earlier(which you don't need to remember), I am looking to clear my basic doubts so that I...
[7 replies] Last: int i=4, *p; p = &i; this is completely different. here you have a p... (by jonnin)
C type strings Syntax check
 
Okay, I was making sure all of my beginner concepts were polished, (and so you will be seeing stupid...
[6 replies] Last: This is hilarious(ly bad): char* s = ... char* name = new char[ strle... (by keskiverto)
No matching function
 
Hello everyone, I've defined two functions in a header and when I want to use them in my main, xcod...
[15 replies] Last: Hello Emilien, It took a while, but I finally understood what salem ... (by Handy Andy)
by Lanh
Recursion
 
Hello everyone here ! I am new to this forum and I have a beginner's question about a simple recurs...
[3 replies] Last: Thank you very much. It was just a little example I found using Call b... (by Lanh)
Simple Loop not blocking
 
Write your question here. I am trying to do a simple loop where the user can enter a command and ...
[10 replies] Last: For a thread you might decide to call 'thread_xyz' in main (say), afte... (by againtry)
Jumping game in C++
 
Hello, I want to create a jumping game with recursion in C++. I try to write code to solve the j...
[9 replies] Last: Didn't know there was an algorithm already made that I could have code... (by zapshe)
by Foxel
Problems with GoTo
 
I've coded in C++ since a few months ago and I often found people who recommended me not to use the ...
[10 replies] Last: > Is it a problem if I cross-post to get an answer earlier? http://w... (by salem c)
Xcode GLFW DYLIBS
 
Hi I'm working with Xcode and I am having problems with the dylib. I'm trying to add two dylibs to...
[1 reply] : https://stackoverflow.com/questions/42022884/making-xcode-embed-necess... (by againtry)
by ingo
array of functions in class->undefined reference
 
Building upon http://www.cplusplus.com/forum/beginner/4639/ I tried adding it to a class. Keep all f...
[2 replies] Last: Thank you. A few changes that are obvious in hindsight and the 'big on... (by ingo)
Point to char confusion
 
I am very much confused by the following code. #include <iostream> int main() { char c = 'b...
[4 replies] Last: #include <iostream> int main() { char c = 'b'; char* ptrChar... (by againtry)
Instantiate an Object
 
Hi coders, I am learning c++ and would like your help in understanding the difference between eg....
[1 reply] : > the 1st expression in my novice opinion is a pointer of type tcpsock... (by JLBorges)
Learning classes
 
I am trying to learn how to use classes, the course I am learning from is in java but I am trying to...
[3 replies] Last: http://www.cplusplus.com/forum/beginner/266596/ (by againtry)
3 for loops for multiplying arrays
 
Hi all, I'm working on a program that uses two arrays - the first array is 2d and has two columns of...
[6 replies] Last: dhayden, Thank you for simplifying things for me. I had a feeling I... (by closed account 1Ck93TCk)
How does std::list::swap() do this?
 
I just discovered this peculiar behavior of std::list that I don't completely understand. Lets assum...
[4 replies] Last: but I fail to see the rationale. Something to do with the allocator.... (by dutch)
Dynamic array (1,2)
 
Hi, so the user has to type the numbers in the array, then the program has to find the largest numbe...
[30 replies] Last: @izlezotfilmabrat, What was your intention if the largest element of t... (by lastchance)
December 2019 Pages: 123... 13
  Archived months: [nov2019] [jan2020]

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