[Solution] warning C4305: ‘initializing’ : truncation from ‘double’ to ‘float’

VC++ Compiler throws warning C4305: ‘initializing’ : truncation from ‘double’ to ‘float’ warning when we try to declare float variable as double. Remember float M_PI = 3.1428571428571428     // This is actually double variable will throw the warning: warning C4305: ‘initializing’ : truncation from ‘double’ to ‘float’ The right way to do declare float varible is … Continue reading “[Solution] warning C4305: ‘initializing’ : truncation from ‘double’ to ‘float’”

Minor Project SMS Banking in Java

SMS Banking Projects and Locus We (Asee and Me )have kept stall in LOCUS (http://locus.ioe.edu.np) Room no. 304 and getting nice feedback from the visitors. Our presentation went good and judges seemed to be happy. Volunteers were really very helpful and co-ordination was impressive. Today I knew why IOE students are good, because they have … Continue reading “Minor Project SMS Banking in Java”

[Tutorial] Create Collapsable and Expandable Fixed jQuery Modal Box

Today I am going to write a tutorial on how to write a Jquery enabled Collapsable and Expandable Fixed jQuery Modal Box. Q. What is jQuery ? A. jQuery is a new type of Javascript Library. jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions … Continue reading “[Tutorial] Create Collapsable and Expandable Fixed jQuery Modal Box”

[Tutorial] Collapsable and Expandable jQuery Fixed Modal Box (Continue…)

Collapsable and Expandable jQuery Fixed Modal Box (Continue…) Our Jquery Code that actually does the binding for click events and adjusting the CSS dynamically. jq-fixed.js $(document).ready(function() { //Initialize our jquery actions initialposition(); //If user decides to make no action $(“#mask”).click(function(e){ $(this).hide(); resetmask(); }); function initialposition() { //position the navigation bar at top initially // when … Continue reading “[Tutorial] Collapsable and Expandable jQuery Fixed Modal Box (Continue…)”