Forum: C Oct 29th, 2006 |
| Replies: 3 Views: 804 this is supposed to be a C program...not a c++ one....since i'm new to C, i guest there are a lot of mistakes in it....do you have any suggestion to correct these errors?? |
Forum: C Oct 29th, 2006 |
| Replies: 3 Views: 804 i'm a newbie to programming and i just wrote a program in 'C' but i'm having problem running it.It compiles, however, when i run it, it crashes on windows.Can anyone tell what i've done wrong?? if... |
Forum: C Oct 3rd, 2006 |
| Replies: 8 Views: 1,755 Thanks mate...but i need the solution in c++...is it posible??...sory for not specifying this at the start |
Forum: C Oct 3rd, 2006 |
| Replies: 8 Views: 1,755 Hello...I need to write a program where i need to copy each word of a string into an array...
Eg(string s="hello how are you" arr[0]=hello,arr[1]=how....).
any help:?: ?? |
Forum: C++ Oct 1st, 2006 |
| Replies: 4 Views: 12,570 Thanks a lot mate...this really helped me out :D...however for the sake of knowing, how do i use the push_back??i tried
push_back << c << "\n";
didn't work..:( |
Forum: C++ Sep 29th, 2006 |
| Replies: 4 Views: 12,570 Hi everyone..i'm new c++ programming and i would like to know if its posible to convert a string to a vector array...(Eg string s = "Hello everyone" array a[1]='H', a[2]='e'....)I need a vector array... |
Forum: C++ May 24th, 2006 |
| Replies: 5 Views: 15,618 hello everyone, i used the method substr() in a c++ program . I now need to convert my program in C. Does anyone know if there exists an equivalent of the method substr() in C??? |
Forum: C++ May 24th, 2006 |
| Replies: 4 Views: 8,483 Hi everyone.I've got a question on dynamic cast.Dynamic_cast allows us to downcast a data type from one to a more specific one in the same hierarchy.
But why not declare the variable we need to the... |
Forum: C May 24th, 2006 |
| Replies: 17 Views: 6,966 I've got a 2 tricky questions for u. Can anyone write:
1). A "Hello World" program in 'C' without using any semicolon.
2). A 'C' program without using any loop (if, for, while,etc...) to print... |
Forum: Java Feb 4th, 2006 |
| Replies: 1 Views: 2,560 Which type of sorting would you prefer??Quicksort or HeapSort?Even though both of them have complexities of (N log(N)), quicksort in some situations degenerates to O(n*n).But however heapsort is... |