Search Results

Showing results 1 to 10 of 10
Search took 0.01 seconds.
Search: Posts Made By: M^2
Forum: C++ Apr 28th, 2009
Replies: 1
Views: 175
Posted By M^2
hellooo.....
i wrote this code.. which is a part of a bigger code...
i have done this using structs..
now i have to do it with class but i dont know much about classes
need help urgently..... :(...
Forum: C++ Apr 13th, 2009
Replies: 9
Views: 641
Posted By M^2
am trying to read in the number of cells
and then read in line by line
and then i have to create dynamic array...
using function.....
Forum: C++ Apr 13th, 2009
Replies: 9
Views: 641
Posted By M^2
thanks :)

#include<iostream>
#include<fstream>
using namespace std;

struct cell
{
int *a[0];
int *b[1];
Forum: C++ Apr 13th, 2009
Replies: 9
Views: 641
Posted By M^2
one more thing
whats the diffrence between
fin.get
and fin.getline??
Forum: C++ Apr 13th, 2009
Replies: 9
Views: 641
Posted By M^2
Forum: C++ Apr 13th, 2009
Replies: 9
Views: 641
Posted By M^2
these are actually doors os a maze..
The four numbers indicate the cell numbers of the cells being led to through the respective door. -1 indicates absence of a door. For example, line number 2 is...
Forum: C++ Apr 13th, 2009
Replies: 9
Views: 641
Posted By M^2
suppose the input file is...
5(number of cells)
1 2 -1 4
0 2 3 4
1 0 3 -1
2 -1 3 1
2 0 1 -1
how will i Write a function to read data from an input file to create a dynamic array of pointers to...
Forum: C++ Dec 1st, 2008
Replies: 3
Views: 364
Posted By M^2
well its like this i have writen program that asks user to input even and odd integers and then add the even and odd integers seperatley and divide them by pi=3.14 and it should give the answer upto...
Forum: C++ Dec 1st, 2008
Replies: 3
Views: 364
Posted By M^2
heloo
can anyone plz tell me how use functions like power and setw....
in programmes...
thanku
Forum: C++ Nov 23rd, 2008
Replies: 2
Views: 278
Posted By M^2
helooo am new to C++ hope i will find some help here :)
well the question is
if the i ask the user to input an integer like
int a;
cin>>a;
and if user inputs 2345
and the output i require is 2...
Showing results 1 to 10 of 10

 


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

©2003 - 2009 DaniWeb® LLC