Search Results

Showing results 1 to 10 of 10
Search took 0.01 seconds.
Search: Posts Made By: Ejaz
Forum: C++ Oct 26th, 2004
Replies: 4
Views: 1,638
Posted By Ejaz
ok,

ifndef MY_HEADER_FILE
#define MY_HEADER_FILE

// ... Here goes the implementations

#endif // MY_HEADER_FILE
Forum: C++ Oct 24th, 2004
Replies: 4
Views: 1,638
Posted By Ejaz
Well, I haven't seen the files but here is my guess. The most common reason while compilation of this error is that, you include a file in one file and include the same file in some file (there is no...
Forum: C++ Oct 24th, 2004
Replies: 2
Views: 4,069
Posted By Ejaz
The two different implementations can acheive the same results, but they belong to two different familes. One is strucutural and you'll find the C implementations like that (although it does work in...
Forum: C Oct 24th, 2004
Replies: 4
Views: 2,799
Posted By Ejaz
Take a look at http://cse.yeditepe.edu.tr/~osertel/courses/CSE211/materials/lect6.pdf,
You'll find the explaniations in it.
Forum: C++ Oct 24th, 2004
Replies: 13
Views: 5,660
Posted By Ejaz
What compiler are you using? I had this problem way back, when I was in learning phase and used Turbo C++, and I had to stop it manually, in MS Visual C++ console applications, it is handled...
Forum: C Oct 23rd, 2004
Replies: 1
Views: 1,796
Posted By Ejaz
Yes, you can write all the 3 class definations in one header file and implementation in one source file (in fact, you can write everything in one file as well).


// Class delarations
class A
{...
Forum: C Oct 22nd, 2004
Replies: 6
Views: 3,905
Posted By Ejaz
One solution can be, before inserting the new no. in the array, scan the array (iterate through it), to see whether the no. is already in the array or not, if not, insert it and yes, loop again.
...
Forum: C++ Oct 19th, 2004
Replies: 3
Views: 1,534
Posted By Ejaz
try this,

struct SData
{
char name[128];
int Values[3];
};

SData myData[3];
Forum: C++ Oct 14th, 2004
Replies: 1
Views: 1,648
Posted By Ejaz
Take a look at this (http://www.codeguru.com/Cpp/data/data-misc/xml/article.php/c8287/)
Forum: C++ Oct 14th, 2004
Replies: 3
Views: 1,534
Posted By Ejaz
Try this


int i, total[3];
int myValue[3][3];

myValue[0][0] = 53000;
myValue[0][1] = 5;
myValue[0][2] = 1;
Showing results 1 to 10 of 10

 


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

©2003 - 2009 DaniWeb® LLC