- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
Hey everyone. It seem's this is the place to post anything we want (within reason) so I thought I would start a thread to find out what your favorite quotes are. I'll start with one of mine (though I have loads more): [B]People always turn away from the eyes of … |
|
How to change numerical values from scientific notation to normal system (:P) in C++ if i used a float or double variable Cuz i want decimals tthats why i used float but now its giving me the answer of my program in scientific notation ? or is there any way … |
|
Re:
heya.. im creating a quiz program...but i dont konw how to randomize the questions can any1 help me out??? |
|
I am encountering a problem while reading config files. The scenario is like this, I have two programs. Program A reads its configuration from a config file and program B is only used to modify the contents of the config file which A reads. The name of the config file … |
|
Re:
OK I'm a beginner at C++ so don't mock me for this question, so when I declare a pointer ptr (int *ptr; ) and then define ptr as 5 by saying *ptr=5; what adress is ptr pointing at-a temporary variable? Thank you-just curious. |
|
How to find the top n elements without sorting the array? Is this possible??? Well I don't want to sort the array because the order is mandatory? After I have found the top n elements I want to modify them? Is there any certain algorithM?? Help ??? this is no … |
|
Well see the above code [CODE] int a = 10; int* p1 = &a; int* p2 = p1; // Copies the address right?[/CODE] But what happens here? [CODE]char* str1 = "Hello"; char* str2 = str1; // What happens here[/CODE] I tried this code and when I modified str1, str2 remain … |
|
[CODE]#include <iostream> #include <vector> using namespace std; // global constants const char X = 'X'; const char O = 'O'; const char EMPTY = ' '; const char TIE = 'T'; const char NO_ONE = 'N'; // game function's prototypes void displayBoard(const vector<char>& board); // function that displays the game … |
|
[CODE]#include <iostream> #include <vector> using namespace std; // global constants const char X = 'X'; const char O = 'O'; const char EMPTY = ' '; const char TIE = 'T'; const char NO_ONE = 'N'; // game function's prototypes void displayBoard(const vector<char>& board); // function that displays the game … |
|
[url]http://www.codeproject.com/KB/cpp/loggerservice.aspx[/url] In the link above there are three project files, I get it to compile the test project (the last file) with no errors and warnings. But can't compile the rest. How to compile the client source files, it contains headers and cpp source files, i created a new projected … |
|
How do you compile this whole project in Visual C++ Express Edition ? The link is below ? [url]http://www.codeproject.com/KB/cpp/loggerservice.aspx[/url] Will simply creating a new project and inserting all the files and then clicking Build Solution help ? I don't want you to do this for me. I want to learn … |
|
I have two programs both do the same thing but both when run gave totally different results. I am sure there is a lesson to learn from this and that will teach you a fundamental difference between the ‘if’ and the ‘while’. Can anyone explain to me why both the … |
|
how do you find the minimum and maximum number from a given set of numbers without sorting them ? i have the code but the it isnt working properly [CODE]#include<iostream> #include<conio.h> using namespace std; int main() { const int SZ = 7; double sales[SZ]; int x; double lowest = 0; … |
|
i have discwizard installed in my new hdd but theres something wrong with it thats either corrupted or not installed completely by the technician so i am having problems installing xp now how do i clean my hdd, no,NO! repartitioning,formating didnt work the prog is still installed i want to … |
|
what does the [B]<>[/B] mean in the following GWBASIC programm ? [ICODE]190 FOR C=2 TO N 200 LET I=C-1 210 WHILE I <> 0 220 IF ASN(I)>ASN(I+1) THEN SWAP ASN(I), ASN(I+1) : I=I-1 ELSE I=0 230 WEND 240 NEXT C [/ICODE] ITS BUBBLE SORT IN GWBASIC |
|
how do you find the smallest and largest number of 3 numbers without using logical operators and else statement only if and relational operator ? is there any other way without checking every variable against each other using if statements ? |
|
Re:
hi there i have built a few basic web sites and would now like to open an online store. can someone point me in the right direction as im not sure where to start. im only a learner and the sites i have got online are very basic. i have … |
|
ok in what way do you separate the digits from a given int ?? like if the int is 987987 how do you separate them in to 9 8 7 9 8 7 ??? is there any function to do this ? |
|
What are some limitations imposed by a fixed array size? can you please tell me A limitation of arrays is that they have fixed lengths. what does it means ? |
|
hi can you tell me the anatomy of game in which the player picks a number and the computer must guess what it is. no code just give me a hint or two :D |
|
Re:
[CODE] [LIST=1] [*]void selectionsort(int numbers[],int arraysize) [*]{ int i,indes,large,j; [*] for(i=arraysize-1;i>0;i--) [*] { large=numbers[0]; [*] index=0; [*] for(j=1;j<=1;j++) [*] { if(numbers[j]>large) [*] { large=numbers[j]; [*] index=j; [*] } [*] } [*] numbers[index]=numbers[i]; [*] numbers[i]=large; [*] } [*]} [/LIST] [/CODE] i have been able to understand upto 7 line. can someone … |
|
what kind of websites sell easily affliates,programming help, games etc which one selll easily on ebay ?????? |
|
[CODE]frequency[ grades[ 2 ] / 10 ]++; [/CODE] here assume that grades[2] includes 87, divided by 10 it equals to 8.7, which equals to[CODE] frequency[8.7]++;[/CODE] so is the decimal removed ? or is it rounded to 9 ? |
|
Hi i have to complete a program which do the following If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 … |
|
Hi I need to create c++ help website in which I'll add tutorials and snippets So what do I need to learn to let the users add their own snippets and tutorials also add a phpbb forum a webbsite like Daniweb or dreamincode.net help please |
|
Re:
I am just beginning in a C++ class and I am having a hard time setting up the code for using a modulus operator. The problem assigned has user input as name and hours worked. The program is to output the name, weeks worked, days worked, and hours worked based … |
|
Re:
hello im a new here and also i am a new student of C++ i have to make these programes in next 1 hrs can u help me in making these 3 programes 1: take input from user,check whether the given no. is even or not. 2:take input from user, … |
|
I coded a program its for temperature conversion its still not developed yet and I'm having a problem. Here's the code: [CODE]/* Software Name = Temperature Converter Calculator... Made by Manzoor Ahmed.*/ // Program that helps converting Temperature degrees. // Formulas obtained from wikipedia.org. #include <cstdlib> #include <cctype> #include <iostream> … |