377 Posted Topics

Member Avatar for stupidenator

Here's another link [url]http://www.digitalmars.com/download/freecompiler.html[/url]

Member Avatar for stupidenator
0
193
Member Avatar for SpS

Is it possible to print---- hello world on the screen without using semicolon( ; ) anywhere in the code...i was able to do it through MACROS..but is there anyother way??

Member Avatar for Paul.Esson
0
133
Member Avatar for Acidburn

Dynamic allocation of arrays of more than one dimension is not so easily done, because dynamic allocation of an n-dimensional array actually requires dynamic allocation of n 1-dimensional arrays. To allocate a 2-dimensional array you must first allocate memory sufficient to hold all the elements of the array (the data), …

Member Avatar for Lerner
0
224
Member Avatar for SpS

I have an AMD 400 MHz processor...128MB ram ...motherboard-TX-100......i tried to start my system after 1 month or so....but whenevr i start it now...it gives me an error CMOS battery low....press F1....whenever i press F1 it goes to the CMOS Setup options and my setting are changed....my processor speed changes …

Member Avatar for alc6379
0
71
Member Avatar for SpS

I need to make a project in C++(not very big) in my college....can you suggest me some good ideas.... I was thinking of implementing 10-15 algorithms with their complete complexity description can u give me some other ideas

Member Avatar for Lerner
0
198
Member Avatar for SpS

In the function declarations, the argument identifiers are optional. In the definitions, they are required (the identifiers are required only in C, not C++). #include<iostream.h> void f(int); int main() { f(10); return 0; } void f(int) { } This works fine..where is 10 going??..how the compiler handles this??

Member Avatar for chrisbliss18
0
158
Member Avatar for mysterio
Member Avatar for sifuedition

please tell us more about your code how have u declared temp....defination of pop() function

Member Avatar for sifuedition
0
90
Member Avatar for nir_kar

whenevr i need to check the computation time of my program segments....i go for gcc compiler...and compile the program using profiling option...it gives complete description of all the blocks(time taken...how many times a particular block is called and many other useful things etc....)

Member Avatar for chrisbliss18
0
171
Member Avatar for SpS

I came across this line when i was as reading a tutorial i.e. compiler increases the compilation speed by performing in-memory compilation....what does this statemant mean??.....and what is the normal way of compilation

Member Avatar for CrazyDieter
0
114
Member Avatar for Jack321

Here is a nice link for linux redirection [url]www.cpqlinux.com/redirect.htm[/url]

Member Avatar for SpS
0
112
Member Avatar for paradox814

yes c++ has a this pointer which is intrinsically passed you can use it in any of these following ways 1.this->value 2.(*this).value

Member Avatar for Rashakil Fol
0
93
Member Avatar for SpS

I don't know if this is possible....... i have made a program containing 3 files 1.main.cpp----it includes both complex.h and def.h....main.cpp is simple menu 2.complex.h---class declerations 3.def.h-----definations of the member functions now i want to give my code to someone....is it possible in some way that.....i give only main.cpp and …

Member Avatar for Dave Sinkula
0
93
Member Avatar for SpS

Hi, Please see the code below. [code]void Allocate( char* s ) { s = (char*)malloc( 100 ); } int main( ) { char* s = NULL; Allocate( s ); strcpy( s,"Test");/*I know that this will fail. b'coz I still have a NULL pointer in s. Initially s was pointing to …

Member Avatar for winbatch
0
103
Member Avatar for SpS

I am back again with a new query...preparing for technical interview questions --------------------------------- Without using sizeof operator,can we find sizeof datatype.

Member Avatar for Stoned_coder
0
444
Member Avatar for SpS

Is there any sequence of left shift and right shift operators that can divide or multiply a number by a number that is not a multiple of 2 i.e. can we multiply a number by 11 using a sequence of left shift and right shift operators .

Member Avatar for SpS
0
108
Member Avatar for Kind hearted
Member Avatar for SpS
0
126
Member Avatar for Phantom Driver

Hi...i read your assignment.....and i found it self explanatory.....i guess almost all the things are well defined........ but i guess since its long time you haven't been in touch with C++ so i guess you should take a look at these articles...it will help u 1.cplus.about.com/library/weekly/aa101402a.htm 2.[url]www.devarticles.com/c/a/Cplusplus/[/url] Operator-Overloading-in-C-plus/ 3.msdn.microsoft.com/library/en-us/ vclang/html/_pluslang_overloaded_operators.asp …

Member Avatar for Rashakil Fol
0
133
Member Avatar for indianscorpion2

Here is one link which will help you out :mrgreen: ------------------------------------- [url]http://aplawrence.com/Linux/c_compiling_linux.html[/url]

Member Avatar for SpS
0
85
Member Avatar for Judas
Member Avatar for SpS
0
133
Member Avatar for jahowell01
Member Avatar for SpS
Member Avatar for SpS
0
192
Member Avatar for Acidburn

i tried this and it worked fine #include<iostream.h> int main() { char buffer[5][10]; for (int i = 0 ; i < 5 ; i++) { cin >> buffer[i]; } for (i = 0 ; i < 5; i++) { cout << buffer[i]; } return 0; }

Member Avatar for Acidburn
0
87
Member Avatar for Juvat
Member Avatar for SpS
0
176
Member Avatar for Mahen

Cat *p----- declares a pointer of class Cat and when u do ----new cat -------then your are trying to allocate memory for that pointer. new operator automatically calls the constructor of the class

Member Avatar for SpS
0
80
Member Avatar for iamboredguy

yaa you an do that but it will be unncessary burden for you i'll suggest you to go for turbo c++ compiler in case you want use graphics it fully supports it

Member Avatar for vegaseat
0
163
Member Avatar for SpS

Having return types of constructor means taking address of constructor(which is illegal)...can u explain me this....

Member Avatar for Narue
0
351

The End.