- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 4
- Posts with Downvotes
- 1
- Downvoting Members
- 4
- PC Specs
- Linux, babe!
22 Posted Topics
| |
Re: Humm, is not #include"zlib.h" ? Undefined references came from thinhs not defined in a class like static members nor initialized, constructors missing... | |
Re: First, which distro are you using? Ubuntu, and I think the most of them, automagically mount cd's and pen drives. If not, there's the [B]mount[/B] comand. | |
Re: [QUOTE=syahrizal;957231] What is your opinion. Thank you...[/QUOTE] About Linux or your website? Linux is great, I do use as main OS. | |
Re: [code=c++] cout << center (title)<<endl; [/code] Change for: [code=c++] center (title); [/code] And dont't use endl when you need a simple new line, use \n instead. | |
Re: When you uninstall Ubuntu you don't take off the grub. [URL="http://www.cyberciti.biz/faq/linux-how-to-uninstall-grub/"]http://www.cyberciti.biz/faq/linux-how-to-uninstall-grub/[/URL] has some examples. AFAIK, you just need use a Windows XP CD, put in repair mode and use fixboot e fixmbr commands, if I do remember very well. | |
Re: How about the std::transform algorithm? [code=cplusplus] #include<iostream> #include<algorithm> #include<string> using namespace std; int main(){ string input; cout<<"Enter a word\n"; getline(cin,input); transform(input.begin(),input.end(),input.begin(),(int(*)(int))tolower); cout<<input<<'\n'; } [/code] | |
Re: Is not Turbo C a nd Turbo C++ [I]very[/I] outdated? | |
Re: [QUOTE=esesili;947421]I made it static [B]static double get_fee_of_doc();[/B] but it still does not work the error message is [B]error C2597: illegal reference to non-static member 'Doctor::doctor_hour_fee'[/B].Still I did not figure out how to pass fee to other functions. Do you have any idea?[/QUOTE] Because doctor_hour_fee is not static. And if you … | |
Re: [URL="http://www.cs.bu.edu/teaching/cpp/inheritance/intro/"]http://www.cs.bu.edu/teaching/cpp/inheritance/intro/[/URL] | |
| |
Re: The problem is that check() does not change the value of t, but the value of test. And about references, you've passed one only to constructor, not to check(). This works: [code=cplusplus] #include <iostream> class Test{ protected: int a; public: Test() : a(0) {} void change(int b) { a = … | |
Re: Do you really need two posts? | |
Re: Also, you could use [URL="http://www.boost.org/doc/libs/release/libs/ptr_container/doc/ptr_vector.html"]boost[/URL] or [URL="http://www.codeproject.com/KB/stl/ptr_vecto.aspx"]ptr_vector[/URL]. | |
Re: You understand a recursive function but you don't understand its parameters?(n, power - 1) | |
Re: What's the deal? It's just a declaration of a constant bool member function that takes as arg a constant reference to a Date object. | |
Re: [QUOTE=Ancient Dragon;930237]after the cin line call either toupper() or tolower() then make the test.[/QUOTE] No, to [I]test[/I] use isupper() or islower() . | |
Re: The default constructor is simply the one which take no args. | |
Re: It is very easy, what's exactly your problem? | |
Re: You could do a tiny interpreter. I think it would cover all requirements. | |
Re: [URL="http://www.mydigitallife.info/2007/08/16/solution-to-fix-youtube-or-other-embedded-flash-video-no-sound-in-external-websites/"]Try it[/URL] [URL="http://forums.techguy.org/multimedia/550796-simple-fix-youtube-sound-failure.html"] or it.[/URL] |
The End.