Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
80% Quality Score
Upvotes Received
25
Posts with Upvotes
23
Upvoting Members
21
Downvotes Received
7
Posts with Downvotes
7
Downvoting Members
5
14 Commented Posts
~124.59K People Reached
About Me

Developer

Interests
Music, browsing, fond of arts and antiques
Favorite Tags
Member Avatar for vegaseat
Member Avatar for Arbus

Hello all, I need your help. I trying to change the font of texts displayed in the output of my program. I know that we can use settextstyle() for changing fonts. But there are only four types of fonts( GOTHIC, SANS SERIFF , TRIPLEX , DEFAULT) available. I want to …

Member Avatar for afv
0
4K
Member Avatar for debasisdas

Nothing is useless or low, For each thing in its place has it's own value.

Member Avatar for James_28
8
16K
Member Avatar for Doctor Inferno
Member Avatar for SolidSora

The logic of your program is wrong.A prime number has only two factors,1 and the number itself.In your program odd numbers would be displayed because it is not divisible by 2. 15%2!=0 ,so 15 will be displayed though its not a prime number. Try this one [CODE]int c,d,e=0; for(c=2;c<=300;c++) //excluding …

Member Avatar for Mahfuz_1
0
315
Member Avatar for charming-_-eyes

Hello charming--eyes, Do you want a string like "7456" if the integer array a[5] has a[0]=7,a[1]=4,a[2]=5,a[4]=6 ?

Member Avatar for Satya Raj
0
500
Member Avatar for abelLazm

[B]"The first conquest is yourself. Only after that the world"[/B]-by Pythia-comes in the play written by Terence Mervyn Rattigan. The play is about Alexander the great.

Member Avatar for CCHIndiaStore
0
351
Member Avatar for GrimJack

Alexander the great and Porus- the king of kings who fought against Alexander the great, are my historical heroes.

Member Avatar for GrimJack
3
530
Member Avatar for abelLazm
Member Avatar for Puzzlite
2
852
Member Avatar for theUserMan

Hello ilinan87, You declared [COLOR="black"]double geo=0[/COLOR]. So on multiplying it with the numbers will give zero only. That's why you are not getting the required answer. Initialize [COLOR="Green"]geo[/COLOR] as 1. [CODE]int geomean(int *myarray, int count) { double geo = 1; int k; for(k=0; k < count; k++) { geo = …

Member Avatar for zeroliken
0
493
Member Avatar for jayesh.rocks

Add this in the starting of your code, if you have written any. [CODE]#include < stdio.h > int main() { char a[25]={68,79,' ',89,79,85,82,' ',79,87,78,' ',72,79,77,69,87,79,82,75,33}; printf( a ); }[/CODE]

Member Avatar for MonsieurPointer
-5
151
Member Avatar for Madawar

Iam not sure about this solution.. every string is ended with null character or \n.try this block... do {character=getchar(); sentence[counter++]=character; }while(character!='\n'); sentence[counter]='\0'; puts(sentence);

Member Avatar for plebbeh
0
1K
Member Avatar for mrnutty

All the best! You will definitely do your presentation very well :) Good luck!

Member Avatar for iAssistant
0
178
Member Avatar for debasishgang7

full can hold only a character. Each time you assign a character to [COLOR="black"]full[/COLOR] the previous character in full gets erased. [URL="http://ee.hawaii.edu/~tep/EE160/Book/chap7/subsection2.1.1.2.html"]this[/URL] might help you. You can give it like this printf( "%s", array ), why go for copying into something.

Member Avatar for abhimanipal
0
163
Member Avatar for Chona Ramos

Did you try atleast any one of those ? Show us your effort and we will help you. [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]READ THIS[/URL]

Member Avatar for WaltP
0
163
Member Avatar for Sonia11

can you post the code fully ? Hint: convert the numbers in the character array into integers. This would give you a good start.

Member Avatar for TrustyTony
0
120
Member Avatar for ineedsomehelp:3
Member Avatar for Arbus
0
212
Member Avatar for syria718

[CODE]getchar(); scanf("%c",&choice1);[/CODE] When you type something for getchar and press enter, the linefeed '\n' goes into the choice1. That is scanf will not prompt the user to enter a character. Instead it will take the last key you pressed for getchar()

Member Avatar for Narue
0
273
Member Avatar for cemali_ys

To have a slash or quote in a string give like this "abc \" " if you give printf("abc \" "); will display abc " Change you string accordingly. Perhaps like this, [CODE]char *args[] = { "--user-agent=\"Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0\" ", NULL };[/CODE] Use code …

Member Avatar for cemali_ys
0
140
Member Avatar for munitjsr2

Answers to few questions... 6)[URL="http://msdn.microsoft.com/en-us/library/d9x1s805(v=vs.71).aspx"]#pragma[/URL] 7)This is one way : private members of a class can be accessed by the functions pertaining to that class. 3)[URL="http://www.exforsys.com/tutorials/c-plus-plus/polymorphism-an-introduction.html"]http://www.exforsys.com/tutorials/c-plus-plus/polymorphism-an-introduction.html[/URL] Is google-ing so tough?

Member Avatar for kanuxy
-2
184
Member Avatar for Valiantangel

It's simple. Just break them into segments. hour < 10 ? "0" : " " The hour <10 part tells that if value of hour is less than 10 then 0 will be displayed, if hour is not less than 10 then it displays nothing. If the condition is satisfied …

Member Avatar for Narue
0
164
Member Avatar for kagotsky

or press alt + F5 or from menu windows->output after running your program to see the output. But the above two posts are the best ones to make output screen wait.

Member Avatar for renish khunt
0
169
Member Avatar for Arbus

Hello all, I was trying to make a folder secure. So when the folder is opened( or any operation is performed on the folder like deletion) an application would open and ask for password. The application i have is an exe file which is dos based and asks for password. …

Member Avatar for aquamarine_kath
0
595
Member Avatar for vibhaJ

You can download camstudio from [URL="http://camstudio.org"]here[/URL] It records whatever that comes onto the sceen.

Member Avatar for jingda
0
299
Member Avatar for misterious

How do you want to relate all the classes ? and what is the question to these assignments ? use CODE tags

Member Avatar for raptr_dflo
-4
135
Member Avatar for happyhappyhappy

[CODE]inputcomputer(a,b,c,char A[][3][3]);[/CODE] You should not declare the array while passing the values because it would give you errors.Declare the array before passing it. [CODE]char A[][3][3]; inputcomputer(a,b,c,A);[/CODE] In the function prototype A is declared as a char *. It can only hold one string. [CODE]void inputcomputer(int*pt1,int*pt2,int*pt3,char *A);[/CODE] Declare A as char …

Member Avatar for Arbus
-1
144
Member Avatar for niggz

coms[y].name is a string. How can you give cout<<table[coms[y].name] ? It would be right if you give an integer value present in coms. Please post your full code.

Member Avatar for niggz
0
407
Member Avatar for king03

level.year is not an array. So you cannot give output<<level.year[i] [QUOTE]string types I have Increment well but the int types do not. it says int[int] is invalid for array subscript.[/QUOTE] Increment is different( a++ or ++a,--a,a--).

Member Avatar for WaltP
0
116
Member Avatar for king03

I see that you have used file streams. I beg your pardon if i was wrong about it. But i don't know why you used them as the instructions didn't say about that.

Member Avatar for Arbus
0
165
Member Avatar for king03

I don't know what you mean by "streaming". I assume that you mean file streams. The requirements of your program doesn't state about using file streams. So you can solve the given problem using structures itself.

Member Avatar for Arbus
0
111