- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
7 Posted Topics
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 appropriate type during programming time rather than downcasting it at run time? I don't … | |
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??? | |
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 possible give me a solution... converter.c [code]#include <stdlib.h> #include <stdio.h> #include <malloc.h> #include <string.h> … ![]() | |
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:?: ?? | |
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 because i do not know what my string will be...it will change everytime...If it is posible … | |
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 numbers. A friend gave me those questions but up till now i have not been … | |
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 known to be less efficient than quicksort!!So which one to use in practice?Under what criteria would you choose between those 2??An example … |
The End.