- Strength to Increase Rep
- +8
- Strength to Decrease Rep
- -2
- Upvotes Received
- 21
- Posts with Upvotes
- 20
- Upvoting Members
- 14
- Downvotes Received
- 5
- Posts with Downvotes
- 4
- Downvoting Members
- 5
Re:
Plz tell me how I would calculate time complexity of the program: int i = N; while (i > 0) { int Sum = 0; int j; for (j = 0; j < i; j++) Sum++; cout << Sum << endl; i--; } thnx in advance |
|
Re:
How to calculate time complexity of any algorithm or program .... need help on this.. |
|
Re:
HI i got stuck in this program please help me and provide me the source code,.. |
|
Re:
Seeing that there are no posts in this forum, I will kick it off with a list of programming tutorial sites and communities that have helped me learn along the way: [url]www.php.net[/url] <--all you need for php! [url]www.tutorialfind.com[/url] [url]www.techtutorials.com[/url] [url]www.tutorialized.com[/url] [url]www.free2code.net[/url] [url]www.programmersheaven.com[/url] [url]www.planetsourcecode.net[/url] [url]www.allsyntax.com[/url] [url]www.arson-network.com[/url] [url]www.tpu.org[/url] [url]www.experts-exchange.com[/url] |
|
Re:
Please do let me know the time complexity of algorithm s=0;i=1; while (s<n) { s=s+i; i=i+2; } i think the O(squareroot of n) |
|
Re:
Dear all, I am looking for an expert opinion on what the fastest combination generator is. I am currently facing a problem of generating a huge combinations (k elements out of n) and as it stands now, the running time of my program will take more than three years. My … |
|
Re:
Hi, I'm a real newbie at C++, and I'm having a ton of trouble. You see, What I need to do is convert an std::string into a system::string^ so I can display it in a textbox, and I haven't found any way of doing so :icon_confused: . I always get … |
|
Re:
I have a son who's in grade 8 and he is show a great deal of interest in computer programming. What is a good book for him that is easy to read, understand and detailed? Money is not an issue. Thanks |
|
Re:
Which is the difference between overloading and polymorphism? |
|
Re:
this is a problem iv nt been able to solve..tried still not getting an answer Imagine that an NFA is divided into good and bad states represented by G and B resp..also G and B are mutually exclusive..now a string is accpted by the new NFA only if all computations … |
|
Re:
Is there a short way to determine how many digits are in an integer? I'm new to C++, and writing a program that's supposed to a number in one column, and its square in the next. I'm using setw to manipulate the width of the coulms. Here is those code: … |
|
Re:
Today I found 2 distinct program which can takes .exe's and gives sorce code exactly, same method names, same class names, same variables also. I am trying to find a solution which can stop this decompilers. I found solutions but they just make the decompiling job harder. I need to … |
|
Re:
Just to measure this site's preferred candidates, but possibly to stir up another hornets nest. :D [url=http://en.wikipedia.org/wiki/United_States_presidential_election%2C_2008]More info[/url]. [I]The poll had a limit of 10 items. There are more R's than D's because [B]I[/B] made this poll and because that side is more contested.[/I] |
|
Re:
Hello, I was wondering if there is a tutorial on binomial heaps on this site. if not, i would appreciate it if someone can post any links that are helpful on binomial heaps. All the text books i have do not have anything on binomial heaps. some do not even … |
|
Re:
Just wondering around and see which countries have most programmers :D |
|
Re:
Hello, I need some help filling an array with UNIQUE random numbers. So far I've figured out how to fill an array with random numbers, that's easy, but I'm stuck on how to avoid filling it with duplicate values. I'm assuming that i'll have to use either a linear or … |
|
Re:
Hello everyone. I am a student working on network protocols. Now I have a rough idea to use mathematical tools, e.g. formal methods, to examine or even build the model of protocols. As I have no in-depth concept of these tools, I would like now ask some naive questions: 1. … |
|
Re:
Hi all! As a person who has not a Computer Science degree(I am a poor web developer!),but having much desire to learn as much as I can about CS topics,I have a (maybe easy ) question about the recursive algorithm that solves the "Towers of Hanoi" puzzle. I can understand … |
|
Re:
I've recently started studying the Unified Modeling Language. I'm currently using an exam book as a study guide, because it presents features without holding back on information-representation at all. Afterward, I will study the book made by the first 3 who started developing UML (since OOPSLA/OOSE I believe, though I … |
|
Re:
Hi, I am a beginner in programming, i had a go at java, found in really hard, got a bit scared of programming ever since. My interest at the moment is web, so maybe i need to learn some language, is there any easier alternative to java? |
|
Re:
I was just wondering if there was another way to out put text besides cout? I know this probablt sounds weird because cout works perfectly fine and stuff, but I just want to know if all of the input/output has to be done in a cprompt window? Dose anyone know … |
|
Re:
Hi, I need to make a big-theta notation on an algoritm I made. The algoritm is soposed to find factors of a number. This is the algoritm implemented in java: [code=java] public class factor { public static void main (String argv[]) { int number =(Integer.parseInt(argv[0])); int counter = 0; for(counter … |
|
Re:
I need help with finding a function T(n) that describes the upper bound for the worst case running time of this algorithm: [CODE] 1. maxS = 0 2. n = A.length 3. for j from 0 to n − 1 do 4. for i from 0 to j do 5. … |
|
Re:
I am trying to built the program for handling polynomial... using linklist.... and so far i tried to implement in the Class to add the 2 polynomial using the operator overloading i got messed up with the some objects.... i have commented the parts please help..... [CODE] #include<iostream> using namespace … |
|
Re:
<Quote> EriCartman13 Could you add a TI BASIC under you programming section? cscgal Administrator We have an "Other Languages" section (which includes a BASIC subforum) for less common languages. If we see a large number of threads related to a particular language within this forum, a new subforum will be … |
|
Re:
Hi I need to make a project about this topic, and I will appreciate ideas and subjections. It is for my computer science degree. I would like to mainly used HTML, CSS and the like, instead of Java which I had enough of. My intention is to implement an opcion … |
|
Re:
Hi :) I want to make an Arabic typing tutor to put online because I've noticed that there aren't any free ones. The thing is, I'm not sure what programming language to use. The basic idea is: -You open the website and the text you are expected to write is … |
|
Re:
HI Guys, Dont wanna brag about it but ive got this idea of designing a lets say movie rental website which will have a database.. idealy languages would be php and mysql.. but what i want to do is a similar website that is compatible for mobile phone.. like it … |
|
Re:
I am writing a client -server software.. In program Client tries to communicate to the server by sending a TCP packet.The packet was sent sucessfully.. But im not getting it in the other end .When I am sending another packet to the server(from any Client).. I am able to receive … |
|
Re:
i am facing the same issue but it kinda different as yes am doing an E-commerce project coding with ASP.NET and VB.NET using Dream Weaver. i require some validation if this is the best way to go? or if u fellow learned fellows have a more better idea that i … |