Beginners (Page 43)

finish this story plz
How do I extend this story like if I picked the number and I want the story to go even further? ...
[no replies]
What syntax is this piece of code?
I am recently given some codes like that, filename extension is cc. I use ANSI C and C++ only but t...
[13 replies] Last: Thank you keskiverto. Looks like I am out of luck. I can't change too... (by user68627)
by fekt
Header File + Struct
I am trying to create a linked list for an assignment. I decided to create 2 header files, one for t...
[1 reply] : > has a problem ┬┐what problem? (by ne555)
Need help with assigning user input
I know this is a very basic question but it is driving me crazy right now. I Am writing a program to...
[2 replies] Last: OK, I believe I understand what you are are saying. .. So what about t... (by Mjimmie1)
reference to non static member function?
I'm testing out classes, and I'm confused on how to get past the error: "reference to non-static m...
[6 replies] Last: cout << dog.GetData; should be cout << dog.GetData(); GetData()... (by FurryGuy)
Undefined reference error
Hi there! I'm having issues with a function I'm writing to implement the days of the week in a progr...
[2 replies] Last: And don't forget that you can initialize that static variable when you... (by jlb)
found this code but still dont understand it i understand most of the main() function part but i'm ...
[2 replies] Last: It comes from here, for context: (by lastchance)
Calculate GPA in C++
GPA = total grade points / the total credit hours In this assignment, you need to write a C++ pro...
[2 replies] Last: ive read it over and over again and the more i read it the more confus... (by garza07)
Segmentation fault (core dump) error?
My program description is to create a program that takes names and scores as pairs and uses pointers...
[1 reply] : if ((det+u)->score > (det+u+1)->score) det+u+1 points off the... (by Repeater)
const char* vs. char*
I do not understand why there are red squiggly lines in line 22 (under "Hello World!" and line 29 (u...
[7 replies] Last: Thank you JL. It works. (by phztfte1)
Copy constructor is not working
#include <iostream> using namespace std; class cmplex { int a,b;...
[6 replies] Last: Thanks (by samir1996)
combining conditions
i can add or subtract numbers fine but have trouble implementing a + / - sign numbers = 1 2 3 4 5...
[1 reply] : You can use negative numbers in the text file and still += to get the ... (by megatron 0)
delete element in array
good day, i have array program which will select a specific element in array and will be replaced by...
[6 replies] Last: ok that make sense. thanks again (by newguy17)
Connecting C++ to access 2013
Hey, I'm working on an application with C++, and i am in the phase where i must write some code to ...
[no replies]
Finding the Average of a 2-D Array
My problem is as follows: A researcher has been given a grayscale image as a 2D array of floating...
[5 replies] Last: Ok. Plain "8" or "64" is often called a "magic constant". It is not a... (by keskiverto)
by Dan298
Reading and sorting
Hi, I need help with an assignment. I need to read a list of names from a text file, sort the names ...
[1 reply] : Line 56 is supposed to be } while (students == 30); // Note: == . '=... (by coder777)
by Neahle
How to lock mute button?
I was wondering how to lock the mute button, so you cant mute instantly, but will have to turn down ...
[no replies]
Can not access private variable with friend function
#include <iostream> using namespace std; class cmplx; class B; class A { private: int a=5; ...
[2 replies] Last: Thanks a lot (by samir1996)
Prime number between two intervals
I am trying to get prime numbers between two intervals. I have a function is_Prime to check if a num...
[1 reply] : while(bool is_Prime = 1) What do you expect from this loop ? Also you... (by Thomas1965)
Confused on how to iterate through a list function
I'm running a test program where I make a list of strings and try to find which strings have a certa...
[1 reply] : #include <iostream> #include <list> #include <string> #include <algor... (by JLBorges)
Pages: 1... 4142434445... 51
  Archived months: [feb2018]

Cannot post in this page. To post a new message, go to the first page.