CodeClerks

Programming/Code Discussions Page 2

Showing page: 2 of 12

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

  • Media
    NomanProdhan Level 1
  • 0 5 years ago

    The function put() writes a single character to the associated stream. Similarly, the function get() reads a single character from the associated stream. The program requests for a string. On receiving the string, the pr...

  • Media
    NomanProdhan Level 1
  • 0 5 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: • ...

  • Media
    NomanProdhan Level 1
  • 0 5 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...

  • Media
    NomanProdhan Level 1
  • 0 5 years ago

    Hybrid inheritance is a combination of multiple inheritance and multilevel inheritance. A class is derived from two classes as in multiple inheritance(Multiple Inheritance is a feature of C++ where a class can inherit fr...

  • Media
    NomanProdhan Level 1
  • 1 5 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...

  • Media
    NomanProdhan Level 1
  • 0 5 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...

  • Media
    NomanProdhan Level 1
  • 0 5 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...

  • Media
    NomanProdhan Level 1
  • 0 5 years ago

    Both C and C++ compilers support all thebuilt-in(also known asbasicor fundamental) data types. Withthe exception of void, the basicdata types may have several modifierspreceding them to serve the needs of various situati...

  • Media
    NomanProdhan Level 1
  • 1 5 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...

  • Media
    NomanProdhan Level 1
  • 0 5 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 { …………. ………...

  • Media
    NomanProdhan Level 1
  • 0 5 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...

  • Media
    NomanProdhan Level 1
  • 0 5 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...

  • Media
    NomanProdhan Level 1
  • 0 5 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...

  • Media
    NomanProdhan Level 1
  • 0 5 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...

  • Media
    NomanProdhan Level 1
  • 0 5 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...

  • Media
    NomanProdhan Level 1
  • 0 5 years ago

    Today I have just learned about Inheritance in C++ programming. I thought I should share what I learnt today !! I hope it will be helpful for anyone... Inheritance in Object Oriented Programming can be described as a pr...

  • Media
    NomanProdhan Level 1
  • 1 5 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. ...

  • Media
    NomanProdhan Level 1
  • 0 5 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...

  • Media
    NomanProdhan Level 1
  • 0 5 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...

  • Media
    NomanProdhan Level 1
  • 0 5 years ago

    C & C++ are computer programming languages that are used to write programs to communicate with computer. Lets see what is the difference between these two programming languages. C programming language...C is a mi...

  • Media
    NomanProdhan Level 1
  • 1 5 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...

  • Media
    NomanProdhan Level 1
  • 0 5 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 ...

  • Media
    NomanProdhan Level 1
  • 0 5 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...

  • Media
    Keith Level 1
  • 0 5 years ago

    I'm curious which languages people are using in here. My favorites are Java, Python, and C++. What are yours?

  • Media
    codekid Level 1
  • 1 5 years ago

    Hello there I am doing a simple C programming project. For the project I will need to use two dimensional array and also will need to store all the array data/elements in my HDD. I mean after exiting the program interre...

  • Media
    NomanProdhan Level 1
  • 2 5 years ago

    Hello guys I am a student of Computer Technology. I am studying C/C++ and very soon will start Java. Its really hard to study three language at a time. But there is no way to avoid this ! Because I have to study C/C++ a...

  • Media
    NomanProdhan Level 1
  • 2 5 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...

  • Media
    BritonTS Level 1
  • 0 5 years ago

    There are many companies that are preferring the use of Drag and Drop. The reason they explain us, is of time i.e. making applications in a short time. Is drag and drop really helpful for us? Or disastrous?

  • Media
    drtalaljavaid Level 1
  • 2 5 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...

  • Media
    drtalaljavaid Level 1
  • 0 5 years ago

    Anyone knows how to create an App on Android platform? I had these idea to add an app in our company website, not too complicated, but to simply notify the updates about our upcoming schemes. Emails are official used fo...

  • Media
    OptimismSEO Level 1
  • 1 5 years ago

    What is coding?Having you ever wondered, how computer software, apps andwebsites are created? It is through coding, even the apps on our smartphone, even this website, are all made with code. Basically, work the coding i...

  • Media
    OptimismSEO Level 1
  • 2 5 years ago

    Three security tips to protect your website from hackersConstant update Whether you’ve created a site on a third party platform oryou’ve built it from scratch. As a site admin, you must make sure that everything pi...

  • Media
    OptimismSEO Level 1
  • 1 5 years ago

    If anyone knows of an exisiting script that allows users to buy and sell their friends similar to a friend trafficking game, social media or standalone i would appreciate a mention of one...similar to tagged, friends fo...

  • Media
    sniper256 Level 1
  • 1 5 years ago

    I'm currently in training for work learning to code Java. Today is day 4. Training is approximately 3 weeks. I have no prior experience with coding... How long did it take you before it "clicked" in your mind? How long...

  • Media
    Reiz45 Level 1
  • 3 6 years ago

    Hello is this plugin still being developed? I mean does it still get support/updates? The clan reborn.

  • Media
    Vliek Level 1
  • 2 6 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 ...

  • Media
    Everett Level X4
  • 0 6 years ago

    Ever coded something, to find that the code was a bit messy, but you never formatted the code because it would be too time consuming, or you were just too lazy? There are tools online to help you format your messy code, ...

  • Media
    Everett Level X4
  • 1 6 years ago

    Hello Codeclerks all Recent I created my first codeclerks Service But this page url seen 404 error. But why?

  • Media
    obaidul100 Level 1
  • 1 6 years ago

    Hello friends What's different between MySQL and MySQLi? Why use MySQLi instead of MySQL. Thanks

  • Media
    obaidul100 Level 1
  • 1 6 years ago