:: Home Page      
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   Errors
   Refer this Site  Refer This Site to Your Friends  Site Map  Contact Us      
 Categories >> Software >> Programming Languages >> C++
  STL (96)   OOPS (569)   C++ General (466)
Suggest New Category 


Question Asked @ Answers Views     Select
what is difference between class template and template class?    0  15
Give two integer arrays A & B.A has n elements and B has ' n-1 ' elements . A has all the elements that are there in B. But B has one missing element. Write a function that takes arrays , A & B as imnput and finds the missing element in most optised manner .    0  13
WAP to generate 2n+1 lines of the following pattern on the computer screen:    1  27
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.    0  19
write a program that takes two numbers from user that prints the smallest number    2  58
can output 5 students using one dimensional array intel   0  40
What is this interview room ? Is it a class or an object. cybage   2  87
The type of variable a pointer points to must be the part of pointer's definition so that: infosys   1  61
OOP'S advantages of inheritance include: infosys   1  78
How to create a comment page in C #??    2  69
what is difference between thread and programme. ncc   0  50
Write a program to print the swapping in two no and using three variable. broadridge   2  86
In what scenario does the Logical file and Physical file being used? informatics   0  56
write a programme to get a character and thier ASCII value    0  57
write a program that will accept a number and print.its equivalent in words the maximum input number is 9999    0  76
E-Mail New Answers        Answer Selected Questions       
 [1]    2  ... 7   ... 13   ... 19   ... 25   ... 31   ... 37   ... 43   ... 49   ... 55   ... 61   ... 67   ... 73    Next
Un-Answered Questions
 Question Views   Select
give me an example for testing a program showing the test path .show how the test is important and complex. 195
how can i access a direct (absolute, not the offset) memory address? here is what i tried: wrote a program that ask's for an address from the user, creates a FAR pointer to that adress and shows it. then the user can increment/decrement the value in that address by pressing p(inc+) and m(dec-). NOW, i compiled that program and opened it twice (in 2 different windows) and gave twice the same address to it. now look what happen - if i change the value in one "window" of the program, it DOES NOT change in the other! even if they point to the same address in the memory! here is the code snippet: //------------------------------------------------------ #include <stdio.h> //INCLUDE EVERY KNOWN HEADER FILE #include <conio.h> //FOR ANY CASE... #include <iostream.h> #include <dos.h> #include <process.h> main() { int far *ptr; //FAR POINTER!!! long address; char key=0; //A KEY FROM THE KEYBOARD int temp=0; clrscr(); cout<<"Enter Address:"; cin>>hex>>address; //GETS THE ADDRESS clrscr(); (long)ptr=address; temp=*ptr; //PUTS THE ADDRESS IN THE PTR cout<<"["<<hex<<(unsigned long)ptr<<"]="<<*ptr<<" = "<< (char)(*ptr); //SHOWS: [address]=value=ASCII symbol. while (key!=27) //WHILE YOU DONT PRESS ESC. { while(!kbhit()) //WHILE KEY IS NOT PRESSED { if (temp!=*ptr) { temp=*ptr; clrscr(); cout<<"["<<hex<< (unsigned long)ptr<<"]="<<*ptr<<" = "<<(char)(*ptr); }; //IF THE VALUE HAS CHANGED, CLEAR THE SCREEN AND SHOW //AGAIN if (key=='p') {key=0; (*ptr)++; } //INCREMENT VALUE if (key=='m') {key=0; (*ptr)--; } //DEC. VALUE }; key=getch(); //IF A KEY IS PRESSED, READ IT FROM THE //KEYBOARD }; return 0; //IF ESC WAS THE KEY, EXIT THE PROGRAM } //--------------------------------------------------------- 408
Why is it so that we can have virtual constructors but we cannot have virtual destructors? 806
Write a program to sort the number with different sorts in one program ?? 320
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario? 369
i got a backdoor offer in process global,Bangalore..Can i work with it? 539
i wanted to know about questions about c,c++ , which is required for placements.... im a fresher 260
what Is DCS ? what i will get benefit when i did? 258
write a program that will accept a number and print.its equivalent in words the maximum input number is 9999 76
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction 385
write a program to convert a decimal number in to its equivalent binary number? 321
how can u do connectivity in c++ language? plz send me connectivity code in c++ ? 351
program explaining feautures of c++ 284
what is different between oops and c++ 323
what is the difference between linear list linked representaion and linked representation? what is the purpose of representing the linear list in linked represention ? is it not avoiding rules of linear represention? 231
E-Mail New Answers        Answer Selected Questions