48,983 Topics
|
|
Hi all, Ok - there's nothing like a BIG challenge to start off my exploration into programming. Given that I'm a complete newbie with more build errors than a builder having a bad day (bad pun!), what I'm really looking for is someone to hold my hand a bit and … |
|
**The special rules for inline functions require that they be defined in each file in which they are used.The easiest way to make sure that inline definitions are available to all files in a multifile program is to include the inline definition in the same header file in which the … |
|
trapezium pattern points for interger n plz let me knw if any body knw the program in cpp |
|
Hello All, Well this is not exactly a C++ question. More of a math one. But I've seen many guys work on GameDev in this forum. So, posting it here. Here it goes: I was reading an article to check if a point in view frustum and i read some … |
|
I have error in my program.I want to display name in order by using radix sort |
|
I want to order this program by name in descinding order. #include <iostream.h> #include <stdio.h> #include <conio.h> #include <string.h> #define MAX 10 struct std{ char name[20]; int age,year; }; class radixsort{ struct std arr[MAX]; int n,i; public: int a[]; int b[]; void getdata(); void showdata(); void sortLogic(); }; void radixsort … |
|
Hello, So I was testing my matrix class and the results look questionable and the inverted matrix isn't returning the vertex to it's original value (a seperate issue). Given a perspective projection at 45 degrees with a near of 1 and a far of 1000, the camera at the orgin … |
|
I have a c++ project that is due on friday. please help :( Codes should not be too advanced. Use loop or array. >Introduction: An interesting sequence of numbers can be generated using any given integer using the following procedure: 1. First, arrange the digits of the given number in … |
|
Please excuse me if this is silly.. I do want a clear picture of how we can use a singleton class?? I do read many answers here. But I didn't got anything clear. I need a simple program explaining **singleton class**. Please give me the explanation of each and every … |
|
Please geeks how can i use/access the initialization list for my class. So that can do something like this... MyClass foo = {value,value,value}; |
|
I am just a beginner and want to make a project for my 12th standard i want to know whether i could formatt font style in c++ if yes kindly send me the code snippet to <snip> thanks in advance ... |
|
|
Greetings everybody, I have used VS for long, and for one of my projects I used MonoDevelop to run it under Ubuntu, of course I was using C#. I have a kit, a bit expensive :), and I need not only develop a program but also develop a real-time DSP … |
write a c++ write a c++ programe that accept resalt frome the user and displays grade and remark as follows if resalt >=90 the grade 'A' Remark 'EXCELLENT' if resalt >=80 the grade 'B' Remark 'VERYGOOD' if resalt >=70 the grade 'C' Remark 'GOOD' if resalt >=60 the grade 'D' … |
|
My header file header.h #ifndef HEADER_TEST #define HEADER_TEST static test_variable; #endif now i am including this in two source files IN THE SAME PROJECT. multiple definition error. i have used static specifier in header file . please help me understand this.i think static makes internal linkage. regards, ravi |
|
# Tutorial On Operators# *Operators are the signs to the tell the compiler to perform specific task*. The Operators fall into following categories :- Arithmatic Operator Relational Operator Logical Operator Bitwise Operator Miscellaneous Operator(i added Assignment Operators in this categeory) **Arithmatic operators:-** There are following arithmetic operators:- + Add [6+2=8] … |
|
Hello guys. I need an idea. How can I calculate GCF of many numbers? I thought I could calculate two by two numbers, but it not seems to be a very effective idea. There is my function: int gcf (unsigned int x, unsigned int y) { return (y == 0) … |
|
Hello again I'm working with the Poco internet library trying to understand it but I have come across some syntax that I don't quite understand. This may be a beginner question. Here it is: Poco::AutoPtr<Poco::Notification> pNf (_queue.waitDequeueNotification); I know AutoPtr's contain a count of how many objects reference the object … |
|
Hello everyone, Im very new to c++ and dont have very much experience. But Im working on a programm and for that programm I need ms sql connection. Ive already googled much but I couldnt find what I need. Now I would like to ask here if someone know where … |
|
iam need to complete this game with ( jumping function - hero - enemy - the fire of enemy ) please ... iam really need your help #include<iostream> #include <conio.h> using namespace std; void Disp(char X[][80]) { system("cls"); for (int r=0; r<24; r++) { for (int c=0; c<80; c++) { … |
|
I am trying to create a tennis tournament simulator. There are 128 players in the tournament, and 32 seeds. I have a vector filled with 'Player' objects named 'Players'. Each 'Player' object has three member variables, Strength, Ranking, and ATPPoints. When the vector 'Players' is first declared, the default constructor … |
|
there is string of 0 and 1. The goal is to sort it. 2 pairs can be switched on each step. For example the mentioned above string can be sorted in following steps: 0. 00010111010 1. 00001111100 2. 00000011111 help please.... |
|
I am trying to install the boost libraries for a project I am working on. I extracted the archive to C:\boost_1_55_0, opened a command window and typed bootstrap.bat mingw as indicated on this site. In response, I receive the error message "\MikTeX was unexpected at this time". The only solution … |
|
Can we create an array of objects for a class having default constructor?. Justify your answer. |
|
Hello Guys Well I'm working on a lottery game and I would like to ask something because I don't know how to test the sequence of numbers before to print out!! All I need is to check the series of numbers in the arrays before the program prints out a … |
|
Hey people! Can you please help me with this problem? I am so stuck on it and my instructor gave me hints on what I should do. No arrays or anything crazy yet, I'm still a beginer. 1.) Write a program that will compute average word length (average number of … |
|
we were given a task to create a for loop with where the user gives a number and became this output and we dont know if there is a sequence or an algorithm to it like fibonacci anyone recognize this pattern? input: 3 0|2 --- 0|2 Nice window. Thanks! input: … |
|
hello i decide to first learn about file streams before learning oop concepts in c++. want to read single digit from the textfile. actually text file contains numbers from 0 to 9. And these are 9 in a row and 3 row are there. you can think of its content … |
|
Detect keyloggers and delete Keyloggers used code : GetAsyncKeyState function |
|
I know that in case of virtual inheritance, a vptr is needed to access the base class members, so I looked at a program that involved virtual inheritance but I was amazed at the size of the class. The code is below: #include<iostream> using namespace std; class Base { public: … |
|
Consider the following class hierarchy of preschool teachers of ABC school, to answer the questions from i to iv. *Preschool teachers full time teachers part time teachers All Preschool teachers have a teacher ID, name, age and Highest qualification. A full time teacher has a fixed monthly salary. He/She has … |
The End.