CodeClerks

Programming/Code Discussions

Showing page: 1 of 12

I using memcache to store my PHP sessions (on a remote server) and some users keep reporting that they are being logged out. I'm unable to determine what would cause it. I've installed ?phpMemcachedAdmin to see if I ...

  • Drake83
    Drake83 Level 1
  • 0 11 years ago

    We are live with PayPal pro and accepting credit cards. It works very well but we used a custom solution that we built ourselves. It is in PHP, here is the nvpStr call - all values are urlencoded: $nvpStr = "&P...

  • Drake83
    Drake83 Level 1
  • 0 11 years ago

    I've made a bot using uBot but whenever it tries to open a Secure Site (SSL) I get this odd error: SSL_PROTOCOL_ERROR: -107 What does that mean and is there a fix for it? I tried searching but found nothing.

  • XrummerMan
    XrummerMan Level 1
  • 0 9 years ago

    To create a WebBrowser in Visual Studio (Vb.net) we will need the following components: 4- Buttons -Set Text of Button1 “Navigate” -Set Text of Button2 “Back” -Set Text of Button3 “Forward” -Set Text o...

  • IntoTheLight
    IntoTheLight Level 1
  • 0 8 years ago

    Deprecated: The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in ... Have you ever been on a website and saw this message somewhere, or your own website has this error? Eve...

  • Everett
    Everett Level X4
  • 0 8 years ago

    Have you ever used a CSS reset tool? Why would you need to use a CSS Reset Tool? A CSS Reset (or “Reset CSS”) is a short, often compressed (minified) set of CSS rules that resets the styling of all HTML elements to ...

  • Everett
    Everett Level X4
  • 0 7 years ago

    Hey guys! As the topic of discussion is to link the Adobe Photoshop with Android Studio, so what I think is that, we can link them by using File Handling. What do you say about it? As it can be a research based project...

    0 7 years ago

    Hi Guys, This is my first time posting and really like this community. Anyways, I spend a lot of time thinking about website ideas and apps and then soon find out later someone already has done that. lame. Just wa...

  • BritonTS
    BritonTS Level 1
  • 0 7 years ago

    Programming is an art and science... nay, a skill that matures over time, weathered by good fortune, intuition, sheer luck and an insane of hard work. And, like anything, the only way to hone and refine that skill is to...

  • Keith
    Keith Level 1
  • 0 7 years ago

    Hello there I am learning C and C++. I am using Turbo and CodeBlocks as my regular compiler. Though I use CodeBlocks most. Turbo is outdated its don't have much features, but Codeblocks have a lot features. That is why ...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    Today I have just write a simple program to find factorial of a number. I have done this for college. I have wrote and run the code with CodeBlocks But when I was trying to run the code with trubo it was giving wrong res...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    I have just wrote the linear search program today. here is the code . . . #include <iostream>using namespace std;int main (){int data[] = {10,20,36,98,55,200,258,986,458,88};int i,k...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    Hello there Today I have started learning file management functions at C and C++. I have wrote a program to take input some integers from user and save them into a txt file. In the program I have used append mode to tak...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    Hello there I have just started learning C++. At my college we use Turbo C++ but I don't like that compiler because I think its outdated. For this reason I use and like Codeblocks. Because its more advanced then Turbo. ...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    A class can inherit the attributes of two or more classes. This is known as multiple inheritance. Multiple Inheritance allows us to combine the features of several existing classes as a starting point for defining new cl...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    Overloading refers to the use of the same thing for different purposes. C++ also permits overloading of functions. This means that we can use the same function name to create functions that perform a variety of different...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    A Stack is a linear data structure which is used to store data in a particular order. Two operations that can be performed on a Stack are: Push operation which inserts an element into the stack. Pop operation which remov...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    This C++ Program converts decimal to binary value. The program takes a number as the input and prints out the binary form of the number using a recursive function which is given the number as the parameter. #inclu...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    Hello there I have just started learning Java Programming. For practicing Java I am using Netbeans and compiling my program with it. But I am not happy with this compiler. Because i am not getting fun by watching/gettin...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    Classes can be defined and used inside afunction or a block. Such classes are called local classes. Examples: void test (int a) // function { …………. ………...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    C uses malloc() and calloc()functions to allocate memory dynamical at run time. Similarly, it uses the function free() to free dynamicallyallocated memory. We use dynamic allocation techniques when it is not known in a...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    It is possible to take address of amember of a class and assign it to a pointer. The address of a member can be obtained by applying the operator & to a “fully qualified” class member name. A class member pointer...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    The constructors can also be used to allocate memory while creating objects. This will enable the system to allocate the right amount of memory for each object when the objects are not of the same size, thus resulting in...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    We can use pointers not only to the base objects but also to the objects of derived classes. Pointers to objects of a base class are type-compatible with pointers to objects of a derived class. Therefore, a single point...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    Wecan read and display a line of text more efficiently using and line-oriented input function getline(). The getline() function reads a whole lineof text that ends with a newline character (transmitted by the RETURN key...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    The function open() can be used to open multiple files that use the same stream object. For example, we may want to process a set of files sequentially. In such cases, we may create single stream object and use it to ope...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    Wecan use the width() function todefine the width of a field necessary for the output of an item. Since, it is a member function; we have to use an object to invoke it, as shown below: cout.width(w); Wher...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    By default, the floating numbers are printed with six digits after the decimal point. However, we can specify the number of digits to be displayed after the decimal point while printing the floating point numbers. This c...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    Detection of the end-of-file condition is necessary for preventing any further attempt to read data from the file. An ifstream object, such as fin, returns a value of 0 if any error occurs in the file operation inc...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    Templates is one of thefeatures added to C++ recently. It is a new concept which enable us to define genetic classes and functions and thus provides support for generic programming. Generic programmingis an approach whe...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    Anexpression is a combination of operators, constants and variables arranged as per the rules of the language. It may also include function calls which return values. An expression may consist of one or more operands and...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    ChainedAssignment x = (y = 10); or x = y = 10; First10 is assigned to y and then to x. A chained statement can not be used to initialize variables at the ...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    Wecan mix data types in expressions. For example, M = 5+2.75; is a valid statement. Wherever data types are mixed in an expression, C++ performs the conversions automatically. This process is known as im...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    Polymorphism in another important OOP concept. Polymorphism, a Greek term, means the ability to take more than one form. An operation may exhibit different behaviors in different instances. The behavior depends upon the ...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    C++ is a versatile language for handling vary large programs. It is suitable for virtually any programming task including development of editors, compilers, databases, communication systems and any complex real-life appl...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    Namespace is a new concept introduced by the ANSI C++ standards committee. This defines a scope for the identifiers that are used in a program. For using the identifiers defined in the namespace scope we must include the...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    Turbo C++ and Borland C++ provide an integrated program development environment under MS DOS. They provide a built-in editor and a menu bar which includes options such as File, Edit, Compile and Run. We can create and...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    This is a multiple-branching statement where, based on a condition, the control is transferred to one of the many possible points. This is implemented as follows:    switch (expression)   &...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    A data member of a class can be qualified as static. The properties of a static member variable are similar to that of a C static variable. A static member variable has certain special characteristics. These are: • ...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    A function can not only receive objects as arguments but also can return them. The example in program… #include <iostream>using namespace std;class complex    // x + iy form{   flo...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago