Posts
 
Reputation
Joined
Last Seen
Ranked #51
Strength to Increase Rep
+14
Strength to Decrease Rep
-3
66% Quality Score
Upvotes Received
386
Posts with Upvotes
291
Upvoting Members
130
Downvotes Received
211
Posts with Downvotes
128
Downvoting Members
91
213 Commented Posts
~797.81K People Reached
Interests
Making fun of people, hurting people's feelings, sneaking up on people and scaring them, causing them…
PC Specs
L-shaped
Favorite Tags
Member Avatar for moderate_rock48
Member Avatar for humbug

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 …

Member Avatar for yw_046
2
29K
Member Avatar for BlackIris

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. …

Member Avatar for fgmart
0
2K
Member Avatar for samaru

I'm curious if anyone here likes Anime. If so, what are your favorite series?

Member Avatar for thompsonmax
1
3K
Member Avatar for djbsabkcb

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?

Member Avatar for jacklin
0
2K
Member Avatar for mikeandike22
Member Avatar for Rose Aashii

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

Member Avatar for Ali_84
0
2K
Member Avatar for rupali

How to calculate time complexity of any algorithm or program .... need help on this..

Member Avatar for jamie_13
2
48K
Member Avatar for se00an

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 …

Member Avatar for Ivan_12
0
898
Member Avatar for elektro123

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 …

Member Avatar for Zlatan25
0
3K
Member Avatar for kantze

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 …

Member Avatar for adityasai79
0
796
Member Avatar for playagain

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): …

Member Avatar for priya..
-2
12K
Member Avatar for furalise

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 …

Member Avatar for Rashakil Fol
0
258
Member Avatar for Siberian

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 …

Member Avatar for Rashakil Fol
0
343
Member Avatar for hertzzz

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 …

Member Avatar for Rhay_1
0
1K
Member Avatar for vuquanghoang

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.. . …

Member Avatar for Smita_1
0
868
Member Avatar for Jack_11

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.

Member Avatar for Schol-R-LEA
0
344
Member Avatar for vjcagay
Member Avatar for vegaseat
-1
4K
Member Avatar for Gayal

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 …

Member Avatar for Ssandhya
-2
3K
Member Avatar for cblue

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 …

Member Avatar for drussell024
0
3K
Member Avatar for loken

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 …

Member Avatar for cherqeza
0
1K
Member Avatar for ramyking
Member Avatar for MrSchmutz

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 …

Member Avatar for Anton_4
0
249
Member Avatar for mvd3

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, …

Member Avatar for kemal.eksi.7393
0
226
Member Avatar for asif49

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 …

Member Avatar for Wandaga1
0
342
Member Avatar for david.1982

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 …

Member Avatar for JOSheaIV
0
545
Member Avatar for Đăng

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 …

Member Avatar for mike_2000_17
0
423
Member Avatar for Sahilsikka

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??

Member Avatar for DonnSchwartz
0
191
Member Avatar for lewashby

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 ) …

Member Avatar for deceptikon
0
214
Member Avatar for hydra.p
Member Avatar for Rashakil Fol
0
302