Beginners - August 2016 (Page 20)

Problem with Dev-C++ 5.11 debugger
 
Please I need help with my Dev-C++ 5.11. Anytime i launch the debugger, i get this message "the program can start because zlib1.dll is missing from your com...
[9 replies] Last: If the full Visual Studio 2015 package is too bulky there are speciali... (by closed account E0p9LyTq)
why can't you initialize static variables inside class?
 
this is strange coming from Java,how come you can't initialize a static variable inside the class or struct yet how come you can do it outside the class it make...
[3 replies] Last: a property is declared static when it is to be shared by other objects... (by davBams)
Error Messages about System/Namespace. Need help.
 
I'm trying to make a program that generates a output file, but within my code, it keeps sending me these errors. I keep getting these erros Error 1 error C2...
[11 replies] Last: Hey! So I finally got my program to work after starting over. Thank yo... (by LilyRos93)
confusion between constructor and mutator
 
in my program i'm supposed to have an constructor that should accept the car’s year and make as arguments and assign these values to the object’s year and m...
[3 replies] Last: oh sorry, yeah i meant mutator, brain fart there. okay, i think i'm s... (by hibiscusleaves2544)
by ASTM
if/else statement not producing the cout statement
 
First, thank you. I am a beginner and trying to learn C++. I appreciate your help. My problem is with if/ else. When I run the "blue' color, I will get both ...
[3 replies] Last: Thank you. I looked at the location and figured it out. Thank you, aga... (by ASTM)
im having problem with my code..please help me to figure out my mistake
 
Write your question here. #include <iostream> #include <fstream> #include <string> #include <conio.h> #include <windows.h> using namespace std; ...
[3 replies] Last: Look at this snippet it may help highlight the errors in your code: ... (by Mithix)
copy constructor messing up my list program
 
The copy constructor seems to be generating all sorts of error. it keeps taking me to an header file (new_allocator.h). I can actually do without it since i am ...
[5 replies] Last: @dhayden Thanks a lot. i totally agree with all ur points. but pls... (by davBams)
by MAhmed
save in Arrays
 
below code will show factorial results as you can se do while command is using there so i wanna save all the results which user will get in a single array an...
[7 replies] Last: Add it after you have calculated the values, which would be around lin... (by koothkeeper)
Return type with void but no argument
 
Write a class called “client”. Your client class will have the following private data members: • A string for the client’s first name • A strin...
[8 replies] Last: @FurryGuy That is not fulfilling the requirements I did not eliminat... (by AbstractionAnon)
Create a program that inputs up to 100 integers
 
hey guys, i could use your insight here. I got this assignment to do - "Create a program that inputs up to 100 integers (space separated!) and outputs their ...
[7 replies] Last: ^@Jlborges, Ah yes, I feel like a noob for not doing that: putting the... (by Arslan7041)
by mishra
compilation issue
 
Write your question here. i'm compiling sipxces code in fedora 23 and getting a compilation error: /home/rmishra/sipxecs/sipXresiprocate/resip/stack/MessageW...
[1 reply] : Are you sure you've included the header file containing the definition... (by MikeyBoy)
by Kbott
ENUM question
 
How to I make a set of variables in an enum set. set to a specific value? say I have enum game { win, loss, tie }; how do I make it so that ...
[4 replies] Last: http://en.cppreference.com/w/c/language/enum It is incorrect to say e... (by closed account 48T7M4Gy)
What is wrong with this use of namespace in a multiple value return?
 
I am trying to return multiple values of a function using structure. I also want to add namespace to the function but this result an error error: variable ...
[2 replies] Last: Thanks for the explanation (by cppfighter)
by bobpit
floating point precision and type casting
 
Hi I want to make sure that I have the greatest precision when doing multiplication, so I try to use double type. afirstx, alastx and apointx are of typ...
[10 replies] Last: The operation might give an inaccurate result if I would store it in ... (by TheIdeasMan)
by FBHSIE
Finished essay program. How does it look? (1,2)
 
Write your question here. Header. #ifndef ESSAY_CLASS_H_INCLUDED #define ESSAY_CLASS_H_INCLUDED #include <string> using namespace std; class...
[28 replies] Last: Yep. : ) (by FBHSIE)
seemingly simple expression yields embarrassing result. Help!
 
Write your question here. pls can anybody help me with why (212-32)/100 as shown below yield 1 instead of 1.8. float nfactor; nfactor = (212-32)/(100)...
[6 replies] Last: Thanks a lot. it skipped my mind... a times u just forget those small ... (by davBams)
Help needed on Assignment
 
Hey guys I am really new to C++ and need major help. I am currently taking a class that has an assignment due tonight that I have no clue how to due. the prompt...
[1 reply] : Hi Izakov, Start but reading this http://www.cplusplus.com/doc/tutori... (by Bdanielz)
Gtkmm3 help - segmentation fault
 
I am desperately trying to create a simple GUI using gtkmm3 on the raspberry pi and have been struggling with this for too long. However, when I run the program...
[no replies]
Strings - Need assitance creating function headers & prototypes to pass a string to an other function.
 
Why will my program not compile correctly when I both functions together? Here is the gist of what I am suppose to be doing. The goal of this program is to ...
[4 replies] Last: Hi Zzuniga, Here are few examples using your problem as an example. ... (by Bdanielz)
how to delete a 3-d array?
 
I create a class template to help me build a 3-d array. but I got "heap corruption detected after normal block #165 c++" during the class destructor when I t...
[3 replies] Last: I would suggest to not even bother with this and just use an at(size_t... (by helios)
August 2016 Pages: 1... 1819202122
  Archived months: [jul2016] [sep2016]

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