Search Results

Showing results 1 to 9 of 9
Search took 0.01 seconds.
Search: Posts Made By: Sashar400
Forum: C++ Oct 8th, 2006
Replies: 7
Views: 4,088
Posted By Sashar400
#include<iostream>
#include <fstream>
using namespace std;

int main()
{
const int rows=4;
const int columns=5;
char wksales[rows][columns];
Forum: C++ Oct 8th, 2006
Replies: 7
Views: 4,088
Posted By Sashar400
The file is in Notepad so I used that code.I also change the char array to int it's not working.
Forum: C++ Oct 8th, 2006
Replies: 7
Views: 4,088
Posted By Sashar400
That didn't work
Forum: C++ Oct 8th, 2006
Replies: 7
Views: 4,088
Posted By Sashar400
Hi I am new to this forum and to c++.I am having problems reading data from a txt file into a 2d array. The data is in the file like this

1 5 87
3 3 24
2 4 62
4 2 22

I am only suppose to...
Forum: C++ Sep 27th, 2006
Replies: 6
Views: 2,737
Posted By Sashar400
Forum: C++ Sep 27th, 2006
Replies: 6
Views: 2,737
Posted By Sashar400
#include <iostream>
#include<iomanip>
#include <cmath>
usingnamespace std;
int main()
{

char choice;
const int arraysize=20;
int num[arraysize];
Forum: C++ Sep 26th, 2006
Replies: 5
Views: 5,393
Posted By Sashar400
entire code

#include <iostream>
#include<iomanip>
#include <cmath>
using namespace std;
int main()
{

char choice;
Forum: C++ Sep 26th, 2006
Replies: 5
Views: 5,393
Posted By Sashar400
I have #include<iomanip> header also and it's still not working.I am getting 2 dec places but it's .00 Why is that?Please help.
here is the code
cout << showpoint << fixed << setprecision (2);...
Forum: C++ Aug 9th, 2006
Replies: 2
C++
Views: 913
Posted By Sashar400
C++
Hi
I am new to c++ and I have a simple program that I am trying to understand .Here is the program If anyone can put some comments to what the codes mean I would be grateful.//Explain Please what...
Showing results 1 to 9 of 9

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC