write asingle linked list which read from two list & the do the following 1 sort the prime & nonprime num (prime should be less tn nonprime) 2 each node has a prime num followd by nonprime 3 add a new node into its sutable plce 4 erase the most three duplicated non prime num 5 find the least duplicated prime num
Care,
2682iam a fresher to Qt(GUI a c++ based framework software). i need to develop the basic applications on designer by drag and dropping mechanism...so pls send me the procedure to design applications?
1 9904pls help.. paper bills.. 1000, 500, 100, 50, 20, 10, 5, 1.. create a program that will count all the paper bills in the number being input.. example: enter a number: 3886 there is/are: 3 ->1000 1 ->500 3 ->100 1 ->50 1 ->20 1 ->10 1 ->5 1 ->1 example2: enter a number: 728 there is/are: 0 ->1000 1 ->500 2 ->100 0 ->50 1 ->20 0 ->10 1 ->5 3 ->1
4 13115i want to know how to copy arrary without using any method or function. I have tried the below using System; class e4 { static void Main(string[] args) { int a,b; int[ ] m= new int[5]; int[ ] n= new int[5]; for(a=0;a<=4;a++) { Console.WriteLine("enter any value"); m[a]=Convert.ToInt32(Console.ReadLine()); m[a]=n[a]; } for(b=0;b<=4;b++) { Console.WriteLine(n[b]); } } } but it will give wrong result can anyone solve this problem
1 4977a class that maintains a pointer to an object that is programatically accessible through the public interface is known as?
CTS,
2 4621Hi i need to Acess a variable "int Intval" in the below mentioned code .How to Access it guys i am waiting for your reply
3 4953what is the size of a class which contains no member variables but has two objects??? is it 1 or 2??
4 8156Post New C++ General Questions
Difference between delete and free.
What do nonglobal variables default to a) auto b) register c) static
How to declare a pointer to an array of integers?
How delete [] is different from delete?
What is double in c++?
Explain virtual class?
What are put and get pointers?
Differentiate between an external iterator and an internal iterator?
When we use Abstract Class and when we use Interface?where we will implement in real time?
Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers
Explain how to initialize a const data member.
How do you sort a sort function in c++ to sort in descending order?
What are structures and unions?
why is c++ called oops? Explain
What is a rooted hierarchy?