- 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:
i have added a function to make selection sort to my code but i can't adjust it. i need that someone try the code and try to adjust it so can someone help me to adjust it plzzzzzzz....and try to help me in sorting in an ascending order by using … |
|
Re:
Hi guys :) I'm just wondering how to start doing this problem? Converting from Infix notation to Postfix one (Pastfix Calculator) Of course in C++ using stack! Any Idea how to implement the code? thanks :) |
|
Re:
Im trying to align my screen ouput. At the moment Ive been using setw and \t. They don't seem to line up correctly. I dont know why the first one hasn't got the got the correct alignment or y its different from all the others. My program is pretty complecated(well … |
|
I want to change the background color of the output screen in Dev-C++. How can I do that? I searched the Internet but didn't find any. Any help on which function should I use? |
|
This is my program of stacks. The problem is this that it does not show output. whenever I run the program, the output screen flashes and nothing else happens. (using Dev-C++) Don't know what's the problem with it. [CODE] //****************************STACKS******************************** //===============Stacks using linked list(Arrays)================= #include<iostream> using namespace std; int avail=-1, … |
|
I have a problem in reading from file. I want the program to keep on reading from the file and store it in a buffer until \n\n is encountered. Then I want it to input an integer value from the user and then when the user presses enter it should … |
|
Re:
#include <cmath> #include <ctime> #include<iostream> using namespace std; int main() { srand (time(0)); int c1, c2, c3, c4, guess, guess2; c1 = 1 + rand() % ( 9 - 1 + 1); c2 = 1 + rand() % ( 9 - 1 + 1); c3 = 1 + rand() % … |
|
I am new to streams and files in C++. I am having a problem in this code. When i run the program, and after entering the password, a message is displayed "error opening infile". Why the program is not reading from the file or opening it? [CODE]#include<iostream> #include<string> #include<fstream> #include<iomanip> … |
|
I am trying to make an array of strings in C++. The problem is this that i need the strings to be multiline. Is this possible in C++? how can we do it? |
|
Re:
Hi I finally upgraded a code for password i hope you like it. [CODE] #include <conio.h> #include <iostream> using namespace std; int main() { char *tempPassword = new char; cout << "enter your password: "; char ch = _getch(); int j = 0; while (ch != '\r') { if (ch … |