Posts
 
Reputation
Joined
Last Seen
Ranked #1
Strength to Increase Rep
+16
Strength to Decrease Rep
-4
91% Quality Score
Upvotes Received
2K
Posts with Upvotes
2K
Upvoting Members
627
Downvotes Received
169
Posts with Downvotes
145
Downvoting Members
113
838 Commented Posts
~3.30M People Reached
Favorite Tags
c++ x 6K
c x 3K
java x 152
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 ams

hi all...i am a not that much in programming ... i would ask you how i can generate a multiple choice question chosen randomly from a list of questions with answers using functions in C program ...i know how to generate random numbers only ... help me please ,,, as …

Member Avatar for DINO_4
0
2K
Member Avatar for kacete

Hello everyone, I've been using this website and it has helped me with it's hundred of solved cases, but I couldn't find one appropriate for this one. I have created a Menu() function that looks like this: [CODE=C]int Menu() { int i; printf("MENU\n\n"); printf("1 - ...\n"); printf("2 - ...\n"); printf("3 …

Member Avatar for theekshani
2
17K
Member Avatar for NinjaLink

"Write a program that reads in ten numbers to an array. The program then reads the array and displays distinct numbers (i.e. if a number appears multiple times, it is displayed only once)" for example: 1 2 3 4 [B]5 5 [/B]6 7 [B]8 8[/B] 9 1 2 3 4 …

Member Avatar for Nor_492
0
7K
Member Avatar for AmerJamil

i have a question that. is it not possible that main do not return any value, and the returning value of main is void, why returning value of main should always be int, when we write [code] void main() { } [/code] mostly people here on DANIWEB ask to write …

Member Avatar for EricStens
0
2K
Member Avatar for comwizz

I would like to know what is the difference betn getchar(),getch(), and getche() functions and which should be used in which conditions. Thanks, comwizz. :confused:

Member Avatar for Smartfitness33
1
5K
Member Avatar for jack jastin

Hello, Can any one of you please tell me, What basically the Ethical hacking is? I think it is some where related to online security methodology but how this is doing by professionals in the field of this online security system. If any one is having any idea about this, …

Member Avatar for Raunikkapoor
-4
165
Member Avatar for xxunknown321

I have a program that i need to convert from java to c++... i just need help doing it... heres the java: [code] /* Name: Joseph Coleman Class:CSCI 1302 Assignment: Employee + ProductionWorker Academic Honesty: The integrity of students and their written and oral work is a critical component of …

Member Avatar for jimmichaels29
0
1K
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 millanskie

Anybody who knows how to change word or character in kanji to katakana or vice-versa. I'm using 2 textbox to do this, the first textbox is for katakana and the second textbox is for kanji. What i wanted to do is, whatever i typed in the kanji textbox it will …

Member Avatar for Valeria_3
0
2K
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 samaru

Just curious. Hehe, I was thinking about this the other day and now I'm wondering what all you fellow coders out there have done. So what's the HARDEST most complicated program you've written? It doesn't have to be efficient, heck, it can all be spaghetti code. The hardest thing I've …

Member Avatar for Fest3er
0
3K
Member Avatar for pseudorandom21

Anyone know of a way to obtain an MD5 checksum of a file (through HTTP) before downloading it through HTTP?

Member Avatar for Reinhard_1
0
6K
Member Avatar for munitjsr2

[CODE] #include <stdio.h> #include <stdlib.h> typedef struct filedata { char data[100]; }data_t; data_t * fname=NULL; //IS AN ARRAY OF the structure filedata REQUIRED HERE void quit() { printf("\nPress enter to exit"); fflush(stdin); getchar(); } int main() { char ch; fname=(data_t *)malloc(sizeof(data_t)); FILE *fptr=NULL; atexit(quit); printf("Please enter the file name to …

Member Avatar for AssertNull
0
3K
Member Avatar for ConstantineOfTX

[B]The following problem comes from an old JavaScript Textbook, JavaScript – First Edition, by Patrick Carey and Frank Canovatchel. This problem is not used in the Second Edition, making the question I shall ask a fair question. The problem is Case Problem 2, Chapter 9, pages 519-20. Here are the …

Member Avatar for Richard_42
0
373
Member Avatar for Incubator

For all the above functions i get "`*****' was not declared in this scope". I searched days for an answer to find out what am i doing wrong, and what do i have to do to make it work, but all i could find, peaople saying: it depends on the …

Member Avatar for Emre_4
0
2K
Member Avatar for veiLrn

Hi, I'm new on this forum, but a friend directed me here to seek further assistance with a program I am trying to create. I have to create a program that can manage 10 bank accounts, one of which uses appropriate type definition to store the name, account number, balance …

Member Avatar for ASIF_21
0
32K
Member Avatar for Anil2447

Hi...! In Design of Algorithm. I think it is used to calculate the time complexity.... What is meant by STEP-COUNT METHOD? What is the procedure in that to calculate? I want brief explination. ....

Member Avatar for arina_1
1
15K
Member Avatar for rugae

I'm not quite sure the difference between strcmp and == operator when comparing 2 different strings, I was told to do this but == works as well with less typing. [code=C++] if ((strcmp (a, b[i]) == 0)) { someMethod(); } else someOtherMethod(); _______________________________ if (a==b)) { someMethod(); } else someOtherMethod();[/code] …

Member Avatar for Nikolay_2
0
4K
Member Avatar for rsu

i have installed nasm in ubuntu in linux but dont know how to and where to write code of assembly language and run my code please give me information as soon as possible.

Member Avatar for yahya_3
0
6K
Member Avatar for Good Bye

Hey, I just started learning C++ a couple of days ago and I'm interested in making an automated bot for an MMORPG ie. Runescape, MU Online, Silkroad Online, Last Chaos etc. It would be for personal/private use, so only I would use it. I was wondering, is there a quick …

Member Avatar for Nihat_1
0
3K
Member Avatar for AmerJamil

i have to get 2 numbers (each of length 20 digits) from user and have add them and display the result (using arrays) . i have no idea how to add such a long digit number...please tell me how can i add both numbers. your quick response will be highly …

Member Avatar for JamesCherrill
0
1K
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 rwkopcke

Dev-C++ v 4.9.9.2 IDE When I compile and run my program as a console project, a window flashes very briefly on the screen and disappears. The compile log says compilation was successful and execution terminated. How to I keep the window (my output window?) from disappearing?

Member Avatar for Mohit_12
0
6K
Member Avatar for dyingatmidnight

Hello, I've been in the process of teaching myself C++, going through different tutorials and like. Anyway I was working on a fibonacci sequence program - I looked through the practice problems here and decided to do them all from beginner on upward. I thought I had it working only …

Member Avatar for Jimmy_7
0
208
Member Avatar for heroares

(create a c program which reads a sequence of daily temperatures for one month, stores them into an array temp and finds the average temperature with a function average.) ı dont know Dev c++ . how i made this? please help me.

Member Avatar for Destaw_1
0
285
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 kylcrow

Hi. I am new to the forum and I had a question. I have looked around and haven't really been able to find exactly what I am looking for. I am looking for the code in C++ to read in a random single line with spaces from a file. This …

Member Avatar for zia shaikh
0
5K
Member Avatar for Alex Edwards

Hmm... I've made it my top priority to get a Master's and Ph.D in Computer Science and Software Systems... however I'd like to know what a suitable Master's Thesis would be? I'm thinking about making a book, maybe 6000 pages long, pertaining to nothing but Software ideals and technology. This …

Member Avatar for KelvinG
0
1K