Beginners (Page 7)

Warning: Reader is depreciated "Use CHARReader instead"
I'm trying to run this JSON parser and I'm reading this error: // main.cpp #define CURL_STATICLIB...
[1 reply] : Okay I fixed it I think but now I'm getting a new error: Jso... (by DragonflyBeach)
I have no clue where to even begin on this HW Assignment.
The code is attached below for class for complex number. Provide operator overloading functions to f...
[no replies]
i need help fast please
please explain me why I need to use x1 here: #include <iostream> using namespace std; int mai...
[3 replies] Last: and there? You modify ”x” and “x1” in two differen ways, so ... (by Enoizat)
please help me with this error
#include <iostream> using namespace std; int main() {float x,y,z; cout<<"care este valoarea laturi...
[7 replies] Last: please explain me why I need to use x1 here: You modify “x1” in ... (by Enoizat)
Segementation Fault Mystring class
I am using c-strings and dynamically allocated memory to create a simple string class. I am almost t...
[6 replies] Last: still getting the segmentation fault friend istream& operator>> (i... (by Enoizat)
I need to adapt my lottery ticket program. HELP
I was assigned to write the following program : Create a program that automatically picks six lotte...
[no replies]
Help ! Lottery ticket program.
I need to write a program that create a lottery ticket with six random numbers for each dollar that ...
[no replies]
Printing out number of vowels found in a string
I'm trying to write a program where the user inputs a string and the number of words in the string a...
[2 replies] Last: 1. Why are you using both cin >> str1; and cin.getline(str1, size);... (by Chervil)
I just need help on a question for the book I have on overloaded operators.
Assuming a class needs to have conversion capabilities, what can you do in the class design to get r...
[no replies]
How to return a copy to keep my data safe?
Hello, I am practicing algorithms. I want to know how could I return a std::vector in a safe way, s...
[4 replies] Last: When you return anything which is not a reference, the result is a cop... (by mbozzi)
VExpress not running last piece of code
I'm pretty green at programming in general but am completely baffled as to why the last bit of code ...
[7 replies] Last: No, it will never reach the break statement (line 17, following the if... (by lastchance)
What is the correct way to initialize the vector member variable of the class?
What is the correct way to initialize the vector member variable of the class? Do we have to initial...
[1 reply] : No initialisation needed. It's a fully formed size zero vector, ready ... (by Repeater)
Math Operations in If Then Statements Not Working
So, I'm trying to make a simple console based calculator for fun. However, when I use multiple if th...
[2 replies] Last: thank you sir, that was very helpful. my problem is solved. I changed ... (by UnrealKnite)
operator overloading?
Hi guys I'm just wondering why do we need to return a reference when overloading an operator such as...
[3 replies] Last: When you return a reference, that reference refers to the current obje... (by Chervil)
Classes: Alarm Clock
This is what I have so far... I need to: In the main function, write statements to call setAlarmCloc...
[5 replies] Last: Ok that's what I thought... didn't know if it was possible to do it th... (by nicoleb)
Need help
I'm not sure if this kind of discussion is allowed here but I'm desperate and need help I'm new t...
[3 replies] Last: #include <iostream> using namespace std; int main() { int rows; ... (by Manga)
Help in designing code
Dear all, I have to write a numerical simulation, for which I have created a class called "Organi...
[3 replies] Last: One option would be to use a Singleton to store the constants so each ... (by Thomas1965)
how to edit the input file
i have a text file which has a destination of some files. it is as below. "E:\Feature\raw\new\fra...
[7 replies] Last: @JLBorges can you help me to edit your code to give an txt file output... (by gayaumesh)
Help With c++ HW
Seeing as how I cant reply for whatever reason ill post here. Thank you repeater for your help.
[1 reply] : You are passing, to your functions, copies of variables. This is kno... (by Repeater)
Removing items from an array without loss of data
Hello! I am having some trouble with a void function with the purpose of removing an entry in an arr...
[2 replies] Last: what kind of arrays? dynamic,static. i would suggest but not limit you... (by Yolanda)
Pages: 1... 56789... 53
  Archived months: [sep2017]

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