Posts
 
Reputation
Joined
Last Seen
Ranked #726
Strength to Increase Rep
+8
Strength to Decrease Rep
-2
92% Quality Score
Upvotes Received
20
Posts with Upvotes
15
Upvoting Members
18
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
14 Commented Posts
~270.31K People Reached
Favorite Tags
Member Avatar for samaru
Member Avatar for moderate_rock48
Member Avatar for Dave Sinkula

There's another veru nice book Thinking In C++,2nd Edition by Bruce Eckel

Member Avatar for shahidali6
11
10K
Member Avatar for danijohn

[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 …

Member Avatar for alifriend7
0
593
Member Avatar for ricciola
Member Avatar for SpS

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 …

Member Avatar for VikyTushar
0
852
Member Avatar for SpS

Can anyone explain me in simple language and better if with an example [B]why constructor don't have return types :!: [/B]

Member Avatar for ishan_1
0
732
Member Avatar for Yzk
Member Avatar for Asif_NSU

[QUOTE=Looben;293127][B]Execute -> Rebuild All[/B] should fix it.[/QUOTE] I guess his problem would have been solved by now :mrgreen:

Member Avatar for Musa_Jutt
0
3K
Member Avatar for johnray31

Read K & R. You'll know how to do that. By the way why do you want to make your own malloc function?

Member Avatar for np complete
0
1K
Member Avatar for OurNation
Member Avatar for vinnitro
1
16K
Member Avatar for cessna172

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 …

Member Avatar for mrnutty
0
2K
Member Avatar for vissure
Member Avatar for Sandeep Shetty
0
275
Member Avatar for neeludhiman

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.

Member Avatar for rishabh413
1
17K
Member Avatar for axiss

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++.

Member Avatar for ynikitenko
0
278
Member Avatar for comwizz

[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 …

Member Avatar for deepshikha more
0
440
Member Avatar for SpS

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 …

Member Avatar for Vadim_Invar
0
2K
Member Avatar for degamer106

[QUOTE=degamer106]i'm sorry i meant if x < y.[/QUOTE] Yes, then result will be x.

Member Avatar for Shankye
-1
245
Member Avatar for SpS

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 …

Member Avatar for printing.host
0
197
Member Avatar for vegaseat

[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 …

Member Avatar for crunchie
0
850
Member Avatar for dexter1984

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> & …

Member Avatar for Maxwell175
0
139
Member Avatar for SpS

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)

Member Avatar for Sodabread
0
188
Member Avatar for stackOverflow

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]

Member Avatar for Nick Evan
-1
970
Member Avatar for OurNation
Member Avatar for Kushal Thakkar
Member Avatar for Dave Sinkula
0
2K
Member Avatar for j1979c
Member Avatar for borlys
0
572
Member Avatar for johnray31

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]

Member Avatar for vibhu1
0
227
Member Avatar for hongfan

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]

Member Avatar for jeyson
0
522
Member Avatar for rasheed1982

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]

Member Avatar for csurfer
0
130
Member Avatar for yeya

[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]

Member Avatar for jbennet
0
181