- 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
29 Posted Topics
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 …
what would be the equivalent c++ code since printf() is a c function I can;t understand it :) would be nice if you tell me the c++ thanks
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 …
You have modified an unknown value in the memory, this is dangerous
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 ?
what do you mean by online store would you sell your own products or affliates from ebay, amazon ?
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
please explain what problems are you facing ?
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
you cannot declare an int with spaces [code]int hours % hoursweek;[/code] the identifier is illegal in c++ it shouldn't contain spaces
Ali, this site have a policy of not to help some one unless you haven't done something your self.. First code your self then if you get into something wrong then the site will probably help you out. If you have done a little bit of code then show us …
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> …
The End.
manzoor