- Strength to Increase Rep
- +14
- Strength to Decrease Rep
- -3
- Upvotes Received
- 386
- Posts with Upvotes
- 291
- Upvoting Members
- 130
- Downvotes Received
- 211
- Posts with Downvotes
- 128
- Downvoting Members
- 91
- Interests
- Making fun of people, hurting people's feelings, sneaking up on people and scaring them, causing them…
- PC Specs
- L-shaped
lets waste some web space by counting i will start us off 1 |
|
i have made a program in school that chooses a random number and you need to guess it. you put in a number and it says higher or lower. the only problem is that i can't set RAND_MAX and its a 4 or 5 diget number (havent figured it out … |
|
Hi everybody, I'm having a little problem with finding sum of nested list in Prolog. So far what I have is [ICODE] totalSum([],0). totalSum([H|T],S):- totalSum(T,Sum), S is Sum + H. totalSum([H|T],S):- totalSum(H,Sum1), totalSum(T,Sum2), S is Sum1+Sum2. [/ICODE] With first two predicates, I have no problems getting sum of not-nested list. … |
|
I'm curious if anyone here likes Anime. If so, what are your favorite series? |
|
Question: I have to do a program on alternating sums using vectors. I am not sure how to start this program. I thought about using an array and every even index add the value and every odd index subtract the value. Does that sound right? Any ideas? |
|
how would you start to make your own programming language. |
|
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 |
|
How to calculate time complexity of any algorithm or program .... need help on this.. |
|
Hello all, Inverting an upper (or lower) triangular matrix is a trivial algorithm, due to the nature of the matrix. I am having an issue getting a part of my upper-triangular matrix inversion function to work, and I would like to get it working soon for a personal project. From … |
|
|
Hello! I have to implement Adaptive Huffman Coding in C++. I can't find good source of knowledge about this algorithm. If someone know websites describing Adpative Huffman Coding in intelligible way, please post them. In addition, I prefer pseudocode, than steps/block scheme. Thanks in advance! PS. If I posted my … |
Hi there. I must create a NDFA which accepts the language ((0*|1)(1*0))*. The problem is i've done only few exercises about NDFA and i'm confused. Does this language means that: 0*1*0 [B]or[/B] 11*0 -> many times? Do you know if this one is fine?? [URL="http://img245.imageshack.us/my.php?image=helper2.jpg"][img=http://img245.imageshack.us/img245/5189/helper2.th.jpg][/URL] It's too difficult for me … |
|
Please help me to build a list of examples of stack and queue in real life situation... Conditions: The object concerned must only one object. And the object must be tangible. Example: Queue (FIFO): The bullet in a machine gun..(you cannot fire 2 bullets at the same time) Stack (LIFO): … |
|
Hi I'm using C++ and have a question regarding the use of fonts in programming. What I am doing is parsing files like pdf's and other files and wanting to transfer the extracted data to another file or command line screen. I'm able to work out metrics such as character … |
|
I have a question about programming/scripting in general, which I'm still driving over rocky terrian trying to learn. The compiler, regardless what it is; reads though code from top to bottom, does it read though all the lines of code first, or does it stop at functions etc and continue … |
|
hi guys! Im hertz.. s computer science student from the philippines.. and this is my final year, so ive gotta start my thesis... ^^ I need ur help! Im interested in making research/implementation about mobile computing, multimedia, and Artificial Intelligence.. Im hoping that u can give me some possible thesis … |
|
In my mind, using linked list is somehow abstract. Despite reading posts with similar topic, I still cannot understand how to apply it in to real problem. My teacher gives my this exercise. In spite of not being mandatory, I want do is to understand the problem: Addition/subtraction /multiplication.. . … |
|
I have been programming in lisp for a while, not as a main language. But i've gotten pretty decent at it. But I was wondering about if it was a legacy language or not. |
|
|
Aside from the Assembly Language, what is the most powerful language? |
Hello everyone, I'm a 3rd year uni student from Staffordshire. Now at the placement and looking for a Super Cool Final Year Project. My final year is starting this August and hoping to armor my self better with some research on the project. I still do not have any idea..what … |
|
I was wondering if anyone can give me an idea on how i can modify this function to check for duplicates, if it contains a duplicate, since duplicates are not aloowed, output a message. Any help would greatly be appreciated. [code]template<class Type> void orderedLinkedListType<Type>::insertNode(const Type& newItem) { nodeType<Type> *current; //pointer … |
|
I wanted to start my own game. I have experience developing in C, C++ and Java. I also have tried out Python and currently I am learning OpenGL. I would like to know if there are preferrable programming languages that are suited best when it comes to game programming. Thanks … |
|
this is suppose to be infix to postfix converter |
|
Hi.I'm 16 years old and i am studying c++ at highschool.The thing is i really think what we do at class is really...useless(and easy). I mean i don't think it will help me a lot if i want to create an application... What should i learn? Where from? What do … |
|
I have a big dilemma, so I need some additional info. I need to choose a specialization, so I have two main candidates : Artificial Intelligence and Data Science. I like both of the degrees, but If you could help me by writting from your experience what are the positive, … |
|
I feel like I'm in need of a career mentor or atleast some guidance in which field to pursue. Within 2 years I will have a degree in Computer Science. Without being too arrogant, I'm quite sure it will be a 1:1 or at worst a 2:1. Software Development is … |
|
Hi Everyone, Fairly new C# coder here. I'm currently writing a small application that will be deployed on several computers, each of which will need to connect to a remote SQL server. I'm wondering what the best way to store a username and password for this would be? Each deployment … |
|
my teacher asked me "Why c++/c## support operator overloading and java don't?" I have an answer for Java. anything I read, just said about how to write, define or something else. No answer for "why" someone can give me a document which I need or the answer. thanks for reading … |
|
i want to know the differnce between int a=10 & int a; a=10; though both look same and assign the value 10 to the variable a. but in memory theres a big difference between te two. Can anyone help me with this?? |
|
In the program below what is the difference between rand and srand? My book says that rand returns an int between 0 and RAND_MAX, which is never smaller than 32,767. Yet this code returns a number from 1-6, how is that? I see the line `( rand() % 6 ) … |
|
What should i study to master data structure? do you any sugestions? im a newbie programmer. |