Skip to main content

Posts

String Cloning

String Copy Functions Coders, programmers and all the rookies who are new to programming always use string copy functions.As the name suggests, these are standard library functions which copies one string into other.Here we'll discuss two standard functions: strcpy() : which copies the whole string into another strncpy() : which copies a part of one string into another Syntax The first function takes 2 arguments: strcpy(char *target, char *source) ; The second function takes 3 arguments: strncpy(char *target, char *source, int n) ; Here "n" represents the number of characters which are to be copied into another string Working Example #include #include int main() { int n ; char source[25], target[25] ; strcpy(source, "fetch-info.blogspot.com") ; strncpy(target, source, 10) ; printf("Source String: %s\n", source) ; printf("Target String: %s",target) ; return 0 ; } OUTPUT Source String: fetch-info.bl...

Is your blog SECURE..??

Your Blog is already in the "cloud" A couple of days prior, I got an email from Sam who lives up to expectations for "Singlehop, an organization that has some expertise in distributed computing." He clarified that "Because of late occasions like Heartbleed, the Target break and the spilling of superstar photographs to people in general, the world is swirling about "the cloud." On the other hand, you may be pondering what precisely it is and what it does. We are trusting you would be intrigued by offering a post to your perusers about distributed computing in regular life. More or less, the cloud is an approach to store information remotely, as opposed to on your home machine. This provides for you simple access to your photographs, archives, and different records from anyplace whenever. We are trusting that by spreading mindfulness about how the cloud functions, we can help other people settle on more astute choices about what they post/offer...

CSS Selectors

CSS Selectors >As I told you in the last article that CSS selector is used to determine which html element of your web page you want to style.In this post, you'll get to know about a lot of CSS selectors which you can use while styling your web page.I have provided you a list with a brief description of the selector.If you want to know the format of using a CSS selector then read about CSS Syntax here then you can read and understand the list easily. Selector Example Example description CSS . class .intro Selects all elements with class="intro" 1 # id #firstname Selects the element with id="firstname" 1 * * Selects all elements 2 element p Selects all <p> elements 1 element,element div, p Selects all <div> elements and all <p> elements 1 element element div p Selects all ...

Marvel's "Avengers:Age of Ultron" Trailer Released

Avengers are Back..... So guys.. Wait for the Avengers: Age of Ultron has come near to the end.Marvel has released the official trailer of the Movie And it is clear that the movie will be released in the upcoming May.Here i have provided you a full list of countries where the release date of the movie has been planned.. The synopsis of the movie have not been revealed yet but the trailer says a lot itself about this grand movie.. You can Enjoy the trailer here directly....

Google URL Shortener

Google URL Shortener URL (Uniform Source Locator) is like a pointer which points to a web address.Sometimes these pointers have a very massive name that it comes out to be difficult for you to remember them.The solution to this problem is very simple.Google is the God of Networking and hence here is nothing in which google can't help you.Google announced this service in 2009 and it is very effective because it keeps a record of number of clicks the shortened url get and also generates a QR Code for web pages. You can use Google url Shortener directly without any need to sign in.The benefit of using this service after signing in to your account is that you can analyse your history and the number of clicks. Here is a very short procedure of using Google URL shortener.... Go to Google URL Shortener. Paste your long url in the input field. And then click on "Shorten URL". A shorten url will appear which you can use as an alternative to your original UR...

How to add gadgets to your blog

How to add gadgets to your blog Gadgets/widgets are important part of your blog.People always wonder about how to add various gadgets to their blog.Though there are many blogging platforms,this article covers only the blogger which is a publishing tool supported by Google. There are two types of gadgets which you can add to your blog to make your blog more interactive. Blogger Gadgets External Gadgets Blogger Gadgets Blogger gadgets are those gadgets which are offered by blogger and can be easily added to your blog.Here are a few steps you need to follow. Log into your blogger account. Go to the Layout tab in the left of the menu There you will see many slots with a label "Add a Gadget". Click on the slot and a list of gadgets will appear from which you can select any gadget you want. After adding the gadget, you can drag to your recommended position  where you like it to be appeared. After following all the steps, Click on Save arrangements and Ta-...

CSS Syntax

CSS Syntax Introduction to CSS CSS refers to the cascading sheet styles which is a new way to design web pages.It comes to great significance because of its portability.Those who are known to programming know that we can include or import files to our program.Using CSS we can import or link other cascading styles int our webpage without retyping the code.Its really useful when you design big webpages of thousands of lines of code.Before we learn all the properties of CSS we first must know its syntax. CSS syntax CSS is a styling way which means that is should start and end with some specific tag which would tell the browser that "hey!This part is for styling and don't display it".That specific tag is.. <style> :- start of style code </style> :-end of style code CSS syntax consists of 2 elements;- 1.CSS selector                                          ...