- Strength to Increase Rep
- +8
- Strength to Decrease Rep
- -2
- Upvotes Received
- 20
- Posts with Upvotes
- 15
- Upvoting Members
- 18
- Downvotes Received
- 2
- Posts with Downvotes
- 1
- Downvoting Members
- 2
Re: There's another veru nice book Thinking In C++,2nd Edition by Bruce Eckel | |
Re: [QUOTE=danijohn;293007]when I exit a function i get 'general protection exception' -' processor fault'. Function writes to file and works ok except won't exit. What does this mean please, and where should I look ? Am using Turbo C 4.5 & Windows xp. Must be overwriting memory somehow I suppose but … | |
Code will check whether the number entered is integer or not. [inlinecode]ignore[/inlinecode] extracts characters from the input sequence and discards them. The extraction ends when max characters have been extracted and discarded or when the character delim(\n) is found, whichever comes first. In the latter case, the delim character itself … | |
Can anyone explain me in simple language and better if with an example [B]why constructor don't have return types :!: [/B] | |
Re: [QUOTE=Looben;293127][B]Execute -> Rebuild All[/B] should fix it.[/QUOTE] I guess his problem would have been solved by now :mrgreen: | |
Re: Read K & R. You'll know how to do that. By the way why do you want to make your own malloc function? | |
Re: Never understood what crap it gives.... I put in techied's socks | |
Re: Why are you taking pain by handling memory yourself. Use power of STL. [CODE=cplusplus]#include <vector> #include <stdexcept> template <typename T> class Stack { private: std::vector<T> elems; // elements public: void push(T const&); // push element void pop(); // pop element T top() const; // return top element bool empty() const … | |
Re: Narue...your replyies seems to me like you are a very aggressive person. | |
Re: Try this sample code [code] #include<windows.h> int main() { MessageBox(0,"Hello","Welcome Message",1); return 0; }[/code] Change the last parameter to see various options. | |
Re: I don't think there is any built in standard function to do it in C++. You need to use numerical techniques to solve this. Try implementing trapezoidal, simpson etc.. in C++. | |
Re: [QUOTE=comwizz]Please reply.[/QUOTE] Don't bump your thread. Everyone here is helping others on voluntary basis by finding whatever time they are free to spare. [QUOTE=comwizz] I cannot figure out how to open the results/output window in Dev c++. Also how to effectively use step over / step into . I kept … | |
I HAVE LOADED ORACLE 8i ON WINDOWS XP. IT HAD LOADED SUCCESSFULLY AND I HAD WORKED ON IT. BUT ON NEXT REBOOT WINDOWS IS NOT ABLE TO START THE SERVICE CALLED OracleServiceORCL. WHEN I TRY TO START IT AGAIN IT ENDS WITH AN [quote] ERROR:- Could not start the OracleServiceORCL … | |
Re: [QUOTE=degamer106]i'm sorry i meant if x < y.[/QUOTE] Yes, then result will be x. | |
Hi guys...i am having this nokia phone model 2280.....i had a connection of MTNL garuda....now i have disconnected the service....and i want to switch it over to TATA or RELIANCE......but i am not able to change the settings of the phone.....there are ways to do it...since touts are sitting in … | |
Re: [B]Just Following Directions...[/B] A blonde was terribly overweight, so her doctor put her on a diet. "I want you to eat regularly for 2 days, then skip a day, and repeat this procedure for 2 weeks. The next time I see you, you'll have lost at least 5 pounds." When … | |
Re: dexter1984, Why don't you simply use vector of vectors [code] #include <vector> template <typename T> class dynamic_array { public: dynamic_array(){}; dynamic_array(int rows, int cols) { for(int i=0; i<rows; ++i) { data_.push_back(std::vector<T>(cols)); } } // other ctors .... inline std::vector<T> & operator[](int i) { return data_[i]; } inline const std::vector<T> & … | |
Hi guys....I want to make a simple game using openGL Should I go for GLUT or MFC...don't know anything about any of these.... please refer me to some ebooks on net or tutorials (not very advanced please) | |
Re: Blinking text in DOS, compiled with Turbo C [code] #include <conio.h> #include <stdio.h> int main() { int color; textattr(128 + 10); cprintf("This is blinking text\n"); return 0; }[/code] | |
Re: or this [url]http://public.research.att.com/~bs/bs_faq2.html#friend[/url] | |
Re: DEV C++ doesn't give these warnings.....but what does these warning signify?? | |
Re: Turbo*** is 15 year old compiler and does not conforms to most of the standards..stop using it asap....you can download the DEV C++ IDE which uses GCC as it's compiler from here [url]http://www.bloodshed.net/devcpp.html[/url] | |
Re: Something Like This [code] #include<iostream> #include<string> using namespace std; int main( ) { string x("12345"); cout<<x<<endl; x.erase(3,1); cout<<x; return 0; }[/code] | |
Re: Or Something like this [code] int a=rand(); int b=rand(); int c=rand(); std::vector<int> vec; vec.push_back(a); vec.push_back(b); vec.push_back(c); std::cout<< *std::max_element(vec.begin(),vec.end())<<std::endl;[/code] | |
Re: [QUOTE=yeya;292327]Hi, I wonder if there is some open source C++ library for creating SWF movies, something like SWF Scout but open source? Thanks![/QUOTE] See if this is what you need [URL="http://sourceforge.net/projects/ming/"]Ming - an SWF output library[/URL] |