The phenomenon of stuffing excessive data which is beyond the capacity of the allocated memory is known as buffer overflow. In Simple words we can...
Typecasting is simply a mechanism by which we can change the data type of a variable, no matter how it was originally defined. When a variable is...
Continuing the previous discussion that we did on Unix Threads (Basics) , today we will discuss the concept of 'Thread Synchronization'. Going...
At times certain tasks need more time to execute and when multiple such tasks are desired then blocking on a single task is not a good practice....
You are welcome buddy!!!
Sure. Thanks for the appreciation.:pleased:
My pleasure :smug:
Well, that was just an example...Another possible use could be in the following kind of functions.....
Do you go through the section 'Where Function Pointers Are Used?' in the above article?
http://www.tenouk.com/ModuleZ.html
Congratulations from my side too....
give me the logs(upto the point at which crash occurs) after running the following : #include <iostream> #include <string> #include <fstream>...
Ok, if thats the case, just change the 'default' case to : default: StudentID=inputstring.substr(start,inputstring.length()-start); and the try...
Can you tell me exactly at which line in the source code this exception is being thrown??
Why are you using semicolons at the end of following statements : Any reason for this? I believe these are the problematic points in your code....
try this : #include <iostream> #include <string> #include <fstream> using namespace std; int main(int argc, char* argv[]) { string...
Have you added the following piece of code to your program? string NewStudentID=StudentID.substr(2,3); cout << LastName << ", " << FirstName<< ",...
#include "stdafx.h" #include <iostream> #include <string> #include <fstream> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { string...
1)The very first problem is what my compiler tells me when I try to compile this program 2) double a[3000],**c; if (c==NULL) {...
See, its difficult for us to help you this way....please post the relevant piece of code with your question. I hope you will understand and...
Separate names with a comma.