Beginners - February 2021 (Page 12)

copy assignment operator - arrays
 
Hello, I am learning to create the assignment operator to work with arrays. I have used it before an...
[13 replies] Last: The ptr may or may not be pointing to something, depending on which co... (by lastchance)
Advice Pls: Do/While/For Loops
 
Hey guys~! So I'm slowly learning C++ and while I understand most of it, I have hit a wall in the m...
[3 replies] Last: Just to be able to have this closed - I have found the issue and resol... (by leighbelle)
Error in folder
 
I got an error below: Check that the file qtr2finalgrades_sys019.dat is in the same folder as your...
[5 replies] Last: i mean the source code file is in the same folder as the .dat I open ... (by xmaslad)
NDK with C++
 
I am stuck with drawing a simple line as shown in the following tutorial: https://stackoverflow.com/...
[1 reply] : The Android emulator is still showing "Hello from C++", instead of th... (by Ganado)
Going a "bit" bananas!! HA
 
Ok so I had read a post the other day and I believe it was jonin that said something about being ab...
[11 replies] Last: @dhayden I appreciate it man. I totally agree with your point on the w... (by markyrocks)
Recieving infomration from sender
 
hi, i am making a quiz in Visual Studio C++ .NET (Frame wokr) windows Forms and i need to let know t...
[8 replies] Last: I finally got around to actually creating my own CLR project instead o... (by Ganado)
by y19177
Not sure what are the mistakes
 
New to C++ here. I'm trying to write a program to determine the shape of a triangle(practicing enum)...
[5 replies] Last: unscoped enum doesn't cause a problem by itself. It's a C++ guideline ... (by seeplus)
Urgent: VS showing error null ptr but I cant find it
 
My visual studio won't let me run this program and I tried for a bit to find the error but am coming...
[4 replies] Last: [quote=Handy Andy] //#include <string> // <--- Not needed here after ... (by MikeyBoy)
strcat not working
 
While performing strcpy on two strings string emp_name=m_known .cName; cout << typei...
[6 replies] Last: My bad.Edited it. (by pig the funnel)
Output Values are negative in Circle class
 
Hello, I am working on a HW assignment and I have been stuck for a few days. I finally got it to co...
[4 replies] Last: The manifest constant M_PI is not standard C or C++; it is a Posix ext... (by JLBorges)
by fups
function to gather data using ampersand
 
I have to use a void function (using ampersand) to gather good data and put bad data in an error fil...
[13 replies] Last: Consider based upon my previous code: #include <iostream> #include ... (by seeplus)
Hellpp Urgent. Please
 
Hi guys I hope someone help me with this code I'm so confused what wrong in this code why it doesn't...
[2 replies] Last: There's several issues the program - including not understanding strto... (by seeplus)
Beginner having issue with console app
 
I am trying to write a simple console app that does calculations I have done some other console apps...
[9 replies] Last: cout << "The difference: " << firstnumber - secondnumber << endl; ... (by seeplus)
by Drayt
Random string selector
 
I would like to create a trivia game and i need a code that chooses random questions.. i have no ide...
[3 replies] Last: Use c++ random rather than the c rand() et al. Rather than using c-sty... (by seeplus)
by telco
How to read from a .txt file
 
I wrote a matrix (table) and 2 other variable values in a text file. matrix table={ {0.5, 0, 0, 0...
[4 replies] Last: You haven't specified the size of your array. So it is zero. So you ca... (by lastchance)
by kmce
Anonymous unions
 
I am reading about Anonymous unions here https://www.cplusplus.com/doc/tutorial/other_data_types/ an...
[3 replies] Last: > I will just use the first style the site shows if i ever need to us... (by JLBorges)
by avnue
Need help modifying this code to replace int with Chars
 
So this is practice code using if statements and such. My teacher now wants me to switch the int out...
[1 reply] : If you showed us the code you were trying to compile that doesn't comp... (by Ganado)
February 2021 Pages: 1... 101112
  Archived months: [jan2021] [mar2021]

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