intresting if you can speak german refer here
http://web.dadanini.com:7980/books/C++%20in%2021%20Tagen/kap05.html
if english here
http://vip.6to23.com/dcyu/ANSICPP/No1/5.html
Type: Posts; User: Shahram_z
intresting if you can speak german refer here
http://web.dadanini.com:7980/books/C++%20in%2021%20Tagen/kap05.html
if english here
http://vip.6to23.com/dcyu/ANSICPP/No1/5.html
int main()
{
//right after your string decleration.. do this...
string choice (" ");
int first, second;
and you dont have to use it twice... in if statments.. as first second, and then...
IT works perfect on VS 6.0 No further changes needed... regards
Oh i shouldn't forget declare your int in main not within the f statement, plus remove that system pause thingi it pauses if you are using a .net complier...
It should work,copy and paste, but if you are taking a C++ course you should know all this .. v important...
I don't recommend declearation of too many ints..
#include <iostream>...
you declared choice ast Int and comparing to a string ... fix that first
Hell my friend,
I blieve someone posted something here in regards to syntx errors u are having, I strongly recommend the same sites to be viewed.
here is how I so far fixed .... going from here...
You wasted alot of code there LOL
#include <iostream>
#include <cstring>
using namespace std;
const int size = 500;
char original_string[size], reversed_string[size];
Well the question was about the output.. I got it to print out 45 and 81 but this was my question how can i get the program to do the result below for number comparison?
Data items in ascending...
This bubble sort is kinda freaks me out. I got it two other ways with Number of comparisons = 48 and 81 but this one ....
Data item in original order
2 6 4 8 10 12 89 68 45 37
after...
#include <iostream>
using std::cout;
using std::endl;
#include <iomanip>
using std::setw;
This bubble sort is kinda freaks me out. I got it two other ways with Number of comparisons = 48 and 81 but this one ....
Anyone can help me please email me at [email protected]
Data item...
The description for the following problem is that :
I can not move my months in to the 3 dimentional array.. I have done this coding already
1.get year from keyboard
2.generate a yearly...