- Strength to Increase Rep
- +4
- Strength to Decrease Rep
- -1
- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 11
- Posts with Downvotes
- 9
- Downvoting Members
- 9
Swap 2 number without using third variable code do not use temp variable for swapping if the code was useful please let me know [code]#include <stdio.h> void main() { int a,b; printf("enter number1: ie a"); scanf("%d",a); printf("enter number2:ie b "); scanf("%d",b); printf(value of a and b before swapping is a=%d,b=%d"a,b); … |
|
Guys how can i connect MS.ACCESS as my DATABASE in TURBO C.? Please help.. this is not an assignment.. i just want to know how.... |
|
I am planning on making a program to so that when it is excecuted it carries out the following procedure in 1 go... run command prompt ( system("CMD"); )...then use the command line to carry out the following command... "C:\Program Files\PowerMenu\PowerMenu.exe" -hideself on Im sure i have seen this done … |
|
can anyone provide any site with plenty of examples to learn PHP. i got [url]www.w3schools.com[/url] but i didnt find good examples in them. please help me. |
|
any one help me in completing my program on FLAMES game i am not getting how to complete it please help me |
|
here i've created the first applet but it is not working, [CODE] import java.applet.Applet; import java.awt.*; public class FirstApplet extends Applet { public void paint(Graphics g) { g.drawString("Look at me, I'm a Java Applet!",10,50); } } [/CODE] i am getting no errors but when i am opening the html file … |
|
can anyone please say what does the following error mean? android.app.ServiceConnectionLeaked: Activity com.readmessage.ReadingTTS has leaked ServiceConnection android.speech.tts.TextToSpeech$1@44f3aa68 that was originally bound here thanks in advance |
|
can anyone explain what the use of the parameters 3 and 4 in managedQuery while using content providers. Thanks in advance. i saw this site (http://app-solut.com/blog/2011/03/working-with-the-contactscontract-to-query-contacts-in-android/) but i am not clear with the 3 rd and 4th parameters. Can we use contact name as a selection clause like Contact.Display_NAME+="?" in … |
|
Can anyone say how to *manipulate manifest file from a java file*. For example . . . i am having an app consisting of a registration activity(LAUNCHER) and login activity (DEFAULT). Now once i installed the app i will be shown with registration page as it is the launcher. if … |
|
i am working with broad cast receivers with sms received. i am trying to retrieve the message details like message , originating number. i even got the code working correctly this is the code i got by browsing the net Bundle extraBundle = arg1.getExtras(); if (extraBundle != null) { Object[] … |
|
this is my broadcastreceiver which will be invoked on receiving a message. <code> package com.dummies.castsBroad; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; import android.widget.Toast; public class BroadcastsActivity extends BroadcastReceiver { /** Called when the activity is first created. */ @Override public void onReceive(Context arg0, Intent arg1) { // TODO … |
|
can anyone help me to get a clear idea what broadcast recievers mean and how they are used.. (i understood that when we want any event to be happened when we recieve any data from any other mobile these broad cast recievers are used. But i am not clear with … |
|
i am having a login page done in android using eclipse . now i want to extend the layout of the login page by setting a fieldset around that window.. (field set as in html.) can anyone help me please |
|
hi all can i know how to find greatest of two numbers? the condition is we should not use any comparision operators.. thanks in advance |
|
which one cannot be considered as a counter variable? [CODE] counter = counter +1 counter = counter -1 counter = counter +3 counter = counter *2 [/CODE] |
|
|
I like coding, though I'm really stupid, and not very good at it. I'm having trouble figuring out how to remove spaces from a String. I'm such a noobie.. if anyone wants to take a few min to educate me i'd appreciate it. The thing i was attempting to do … |
inr main () { int x=3,y=4,z=4; printf("%d",z>=y>=x), } the answer is zero ..how?? |
|
Is exception handling useful in compile time errors logical errors and even runtime errors? |
|
[CODE]#include <stdio.h> #include <stdlib.h> #include <string.h> void addToStart(); void addToEnd(); void printList(); void removeNodeAt(); void createList(); void menu(); int option; struct node { char cName [50]; int cNumber; char tDescrip [50]; struct node *next; }*newnode, *display, *temp, *list, *prev, *head, *tail; main() { do { menu(); switch (option) { case … |
|
Is exception handling useful in compile time errors logical errors and even runtime errors? |
|
i am trying to use google maps in my application but its giving me an error in the xml file as "error: No resource identifier found for attribute 'apikey' in package 'android'" can i know how to solve this error thanks in advance |
|
Please help me run this program, i forgot the output of this.. [CODE] #include<iostream> #include<cmath> using namespace std; class SumTwoNumbers { int nx,ny,sum,suma,sumtn; public: int GetFirstNumber(); int GetSecondNumber(); int GetSum(int,int); void Display(int,int); }stn; int SumTwoNumbers::GetFirstNumber() sum=nx+ny; //here is where the errors i wrote below points! i dont know why return(sum); … |
|
I saw this example while i am searching about vectors.. [CODE] vector<double> student_marks; // no size specified: vector contains // no elements int num_students; cout << "Number of students: " << flush; cin >> num_students; student_marks.resize (num_students); for (vector<double>::size_type i = 0; i < num_students; i++) { cout << "Enter … |
|
Hi every one this is vivek.I want a projent in oops which should be different it should be totally object oriented and i am getting confused what to do for my project.Please its urgent.Please give me some idea note:- only c++ should be used for coding |
|
i saw that we should not use the combination of new operator and free for allocating and deallocating memory in c++.. Is this right? is there any reason other than saying that the combination is calloc/free and new/delete? please help me.. thanks in advance |
|
hi all i am facing a problem with the below code i used keylistener so that when i click letter 'v' the program has to exit. But the following code is not working. Help me please.. i think we should add listener to the code but how to add listener … |
|
hi all Here i am trying to a code in which the run method is not being called when the thread is started.. Can anyone help me please.. Here is my code [CODE]import java.awt.*; public class Games extends Frame implements Runnable { int x=250,y=470; Thread t=new Thread(); Games() { setVisible(true); … |
|
how can i get the max date supported by a c# application i am trying to take input values of date month and year And if i am giving year 19999 i am getting error how can i solve this help me please thanks in advance |
|
[CODE]#include<stdio.h> #include<conio.h> struct egde { int nodeno; struct edge*next; }; struct node { int nodeno; struct node *next; struct edge *link; }; struct node*graph=NULL; typedef struct node node; typedef struct egde edge; node*find(int); void insert_egde(); void insert_node(); void display(); int main() { int ch,i,j; do{ printf("\ninsert node"); printf("\ninsert edge"); printf("\ndisplay"); … |