- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 5
- Posts with Upvotes
- 5
- Upvoting Members
- 3
- Downvotes Received
- 6
- Posts with Downvotes
- 6
- Downvoting Members
- 5
62 Posted Topics
Re: Constructor is a method.You can have if statement in a constructor | |
Re: #include <stdio.h> void main(void) { char ch = 'a'; //defining a character char *charpointer = &ch; //assigning char"a" to charpointer printf("\n [%c]", *charpointer); } Output [a] Here charpointer stores the address of "a" *charpointer means value of variable stored whose address is stored in charpointer | |
Re: [CODE]#include<stdio.h> int main() { int i=1; while() { printf("%d\n", i++); if(i>10) break; } return 0; }[/CODE] will report an error because there isnocondition in while brackets while [CODE]#include<stdio.h> int main() { int i=1; for(;;) { printf("%d\n", i++); if(i>10) break; } return 0; }[/CODE] will give you the answer..THIS IS ONE … | |
While installing windows server 2008 r2,I selected my country's name as region.Due to this I am getting symbol of my country's currency but I want '$' to be displayed in all browsers.If I change the setting using "Region and Language" in control panel, I am not able to loggin to … | |
I have to validate a textbox having postal code.The postal code can be two formats as possible xxxxxxxxx or xxxxx-xxxx. My question is can I use two javascript regex for validating a textbox? | |
I am calling an mvc controller method vaia ajax call..When i put debugger on then that controller method is called sucessfully otherwise my ajax call is failing. What to do? ![]() | |
Here Iam creating two dialog boxes on the click on links.When Dialog box no. 1 is open and I press escape key then it gets closed but this is not the case with dialog box no. 2.Why so? <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script> <a href="#" id="PopUpLink">Open Popup</a> <br><br><br> <input type="button" value="Click … | |
Re: You are incrementing the variable even twice | |
I need to have a application in which files are uploaded on the server in asp.net . I want those files to get renamed automatically on the server on a certain date.How to proceed with this in asp.net. Kindly help | |
Hello All, I want to have jquery plugin for nested unordered list upto level three.I have tried searching for this but was not able to find one except. http://www.givainc.com/labs/mcdropdown_jquery_plugin.htm but I dnt want levels to overlap with each other.Kindly help | |
I have tried an application in which user can extend his session to further 7 mins when there are only 5 mins left for session to get over by use of a button click.but my code is not working...Kindly help...Here is my code <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> … ![]() | |
In asp.net I tried making an application in which I have a file upload option ...user can uplaod 500 files of image types in 1 go(select multiple image types files by using ctrl)....bt now when i have deployed this in IIS....its not working....displays a message page cannot be found....in web … | |
Why to have service when we can create classes,interfaces and can use the property inheritance? | |
I am new to C#.What is internal access modofier? I have googled it but getting some difficult terms like assembly etc. What is it in simple terms? | |
I have created my project using jsp,servlets.I have also used meta tag for deleting browser's cache. Once logout,the user should not be able to perform any function using back button.I dont want to disable back button.The user should be on logout page even if he presses back button. ![]() | |
I have created two folders with name 1)JSP containing jsp file(for login) 2)JS containing javascript file(for login validation) I have linked javascript file with jsp file int he following way. <script type="text/javascript" src="../JS/loginValidate.js"> How can I access parameters of login page(jsp file in JSP folder) in javascript file? | |
This is a part of my code. String name=sc.nextLine(); int no=sc.nextInt(); The problem is if I write sc.next() instead of sc.nextLine() then i can pass only "james" not "james watson". when i write sc.nextLine() then it takes integer not string.Why is it so? Please Help!!! | |
| |
I have created a simple java file on desktop..When I am trying to execute it using cmd(with all variables set) then it is getting compiled but during the time of "java Filename" shows "main not found".This file is getting executed in eclipse and netbeans..What could be the reason for this??? | |
Re: Chinmayi,we are not suppose to do any homework.Try yourself..If there is any error.Post it here and then we can help you. | |
Re: You should end every statement of javascript with semicolon. | |
Re: Your loop is interating only once.If you write return statement after while loop in your program then it will be an infinite loop.Better make the function "parameter" recursive. | |
Re: A menu will be provided to the user and based on the choosen option operations will be done. | |
Re: When I assign the value 2 to Re_Use then your while loop doesnot get executed.You should put switch before your second input in a while loop. | |
What are the advantages of Macros over External(Global) variables? | |
Re: Get the answer yourself..Let me tell you something about this.Whenever there is a comparison between unsigned integer and signed integer then signed integer gets converted into unsigned integer. | |
Re: Hello Somjit, when you use Echo e1 = new Echo(); Echo e2 = new Echo(); then both the object has separate variable "count" but when you use Echo e2 = e1; then both of them share "count".Operations on count are performed accordingly and thus you get different results. | |
IMEI number is used for identification purpose.Some mobile phones have two IMEI numbers.Why to use 2 numbers?? | |
| |
Re: Your variable "i" in the for loop starts with 1.Make it 0 and then execute it. | |
Re: Array index in C starts with "0" not "1".So always initialize your array index variable "i" with 0 | |
Hello..I am learning awk and tcl languages..I want to ask how can we integrate awk code in tcl file??? can we do this or we have to open call awk file from tcl???Reply soon. | |
What shall be done in order to avoid access to a particular website on my laptop?? | |
Re: Good one..The most interesting thing is that the size of new.jpg is similar as that of file1.jpg. | |
Re: Process is made up of many threads.Suppose you are writing something in Microsoft Word.This will create one process WINWORD.EXE.When you type in the document there are various threads of the process which run simultaneously like thread for "spelling correction","grammatical errors" etc. | |
What is the difference between oracle and sql? I am new to this field.Please help!!!!!!!!!!!!!!!!!!!! | |
The End.