No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
5 Posted Topics
I have written this code to variably test Prim's algorithm and I am timing it using clock(). For some reason it always returns 0 as its running time. I have other code that I have used this exact implementation in and they are returning the currect running times. The code …
Alright, I understand some of the basics of big O notation, but I have a test coming up in a few days and I need a bit of help. I understand that if you have a loop that iterates i*=2 then it would run lg(n+1) as log base 2 and …
[QUOTE=kikic;1764173]I need to limit user to input empty string or null. How can I do that in C++? example string A="abcd" string B= null Is there any way how to write this?[/QUOTE] There is no way to set a string NULL because it is not a pointer. You can use …
Hey, I am having trouble implementing a c++ function that will allow the user to enter a lower and upper bounds and reverse everything in a char[] in between the bounds, so if array is, char[] = {'A','B','C','D','E'}; and the user input was 1 and 4 for 1 as the …
Greetings, this is my first post here but I will try to do it correctly. I know this specific question is a common one, but I am not looking for someone to do it for me, I just need someone to help me out a little. I understand the basics …
The End.
mrmodest34