Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
89% Quality Score
Upvotes Received
69
Posts with Upvotes
60
Upvoting Members
11
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
13 Commented Posts
~108.32K People Reached
Favorite Tags
Member Avatar for ravi_forum

I don't think that someone will provide you the source code. Try at google. I bet that you will find something

Member Avatar for naamurad
2
2K
Member Avatar for Shiva_nan
Member Avatar for vijay.neo

Your type A, can it be outside of the main function? Still your pst struct is local beside that. NOTE: Instead of void main use int main. [code] void function1(void *pStr) { A * ptmp = (A *) pStr; ptmp->a = 0; ptmp->b = 0; ptmp->c = 0; ptmp->ch = …

Member Avatar for ahmad chehade
0
204
Member Avatar for mhelal

So if I understand corectly even you include your header files the compiler tells you that they are implicitly declared. That means that in first case they were also implicitly declared but the linker resolved the problems but with the second compiler the linker didn't resolved it. Always declare explicitly …

Member Avatar for swatithakur
0
209
Member Avatar for mjmythili

you mean something like this [inlinecode] sizeof(array)/sizeof(type of array); [/inlinecode]

Member Avatar for Ancient Dragon
0
882
Member Avatar for The Dude
Member Avatar for vbcielle

[QUOTE=vbcielle;262934]how will i round off the return value to decimal place with tis function? [code] unsigned int CalculatePercentage(int TotalComponent, int PartialComponent){ return int((PartialComponent/TotalComponent)100); }[/code][/QUOTE] You must multiply with 100 (for multiplaying use [inlinecode]*[/inlinecode]).

Member Avatar for WaltP
0
207
Member Avatar for ashokkumarrsp

Can you specify your problem more clearly?[URL="http://www.google.com/search?hl=en&q=NFA+DFA&btnG=Google+Search"]Click here[/URL]

Member Avatar for Nick Evan
0
2K
Member Avatar for Diode

[QUOTE=FireSBurnsmuP;256632]Okay, so what libraries are [inlinecode]getch()[/inlinecode] and [inlinecode]kbhit()[/inlinecode] included in? (I think I might test this one out, after I reformat my computer...)[/QUOTE] In conio.h but this is not standard so there are posibility that you don't have this library.

Member Avatar for hsp700
1
4K
Member Avatar for himabindu

[QUOTE=himabindu]sir, we want complete c programme for huffman encoding & decoding.im doing my b.tech project .please send me the code[/QUOTE] try google there are lots open source compresion algorithms including huffman, rle etc

Member Avatar for ck.ckravi
0
254
Member Avatar for Madzts

First of all add code tags. Find out why void main and gets are bad. There is many posts about them.

Member Avatar for Afaq Haider
0
407
Member Avatar for andor

This algorithm proved to be effective when two images are combined. The picture beneath (background) is seen if alpha component of fronth picture is less then 0xFF. If alpha of front picture (src in snippet) is zero then all we see is background picture. The format of colour is ARGB …

Member Avatar for Jason Zhang
0
1K
Member Avatar for xponse

Tried [URL="http://www.google.com/search?hl=en&lr=&q=download+free+turbo+C+compiler&btnG=Search"]here[/URL]?

Member Avatar for ~s.o.s~
2
446
Member Avatar for Warrior4017

[QUOTE=Warrior4017] does it have anything to do with the $sp or the $fp registers? I can't seem to find anywhere information on what these registers actually do. [/QUOTE] Use this pdf. The $fp and $sp registers are explained in "Procedure Calls" link [URL]http://www.cs.wisc.edu/~larus/HP_AppA.pdf[/URL]

Member Avatar for Amirlano
0
273
Member Avatar for Gigs_

[QUOTE=Gigs_;260616]HI, I have exe file writen in c++ or c and wanna decompile it to source code. Is that possible? If it is, is there any decompilet that can do that? thanks![/QUOTE] Then you must learn assembler. But why do U need it?

Member Avatar for Salem
0
9K
Member Avatar for Narue

If you don't care about loop order in for loop then instead this [CODE] for( i=0; i<SIZE; i++) [/CODE] you can use [CODE] for( i=SIZE; i--; ) [/CODE] and the loop should be faster

Member Avatar for bector
2
8K
Member Avatar for rati

[QUOTE=rati;255260][B]i have a problem in a program i am making. In my program i need to call a function again and again until the string entered in it is not correct. Initially i was using gets() but it wasn't accepting the string.[/B] [B]i cahnged it to scanf(), so it is …

Member Avatar for Salem
0
730
Member Avatar for toxic

Try memcpy or strcpy. [quote=http://www.acm.uiuc.edu/webmonkeys/book/c_guide/2.14.html] 2.14.4 memcpy Declaration: void *memcpy(void *str1, const void *str2, size_t n); Copies n characters from str2 to str1. If str1 and str2 overlap the behavior is undefined. Returns the argument str1. 2.14.13 strcpy Declaration: char *strcpy(char *str1, const char *str2); Copies the string pointed to …

Member Avatar for Duoas
0
17K
Member Avatar for ashkash

hm this line is bad: [inlinecode] loop3: lw $s0, 0($t9) [/inlinecode] The value of t9 is not an address its only 1. So you have illegal address exception. If your next question is why its 1 than the answer is: [code] lw $t7, 0($t6) // you putted the first element …

Member Avatar for andor
0
140
Member Avatar for jaepi

Your problem is not to convert int to char if I'm correct. You only need to check the input with [inlinecode] int isdigit(int character); [/inlinecode] [URL="http://www.acm.uiuc.edu/webmonkeys/book/c_guide/2.2.html"]link[/URL]

Member Avatar for WaltP
0
160
Member Avatar for caltiger

[quote]for (i=10; i--; )[/quote] you can do this if you dont care for loop order. The answer you will find if you check the asm for both cases, then U will see for which case is less asm code.

Member Avatar for Narue
0
188
Member Avatar for satyanarayanam

[QUOTE=satyanarayanam;362698]Hi, This is satya, how we can print a string in C that doesn't use printf in main or functions? plz help on this Thank u..[/QUOTE] [code=c] puts(cString); [/code] ;)

Member Avatar for Narue
0
151
Member Avatar for kavaas
Member Avatar for doiko

[QUOTE=doiko;247377]please help. i am a student and my teacher needs it till 2nd of September. please help my pass the class convert from decimal in binary or in the base of 8 numerical system, (it can be used the same interelation with the suitable parameters. Also, for the storage of …

Member Avatar for iamthwee
0
119
Member Avatar for mailsteam
Member Avatar for deng_cen
0
188
Member Avatar for rwagnes

[QUOTE=rwagnes;312819]Quick Question: Is there a way in c to read an entire file into a string or char buffer? Thanks, Elise[/QUOTE] Yes. With fopen, SEEK_END and ftell you can determine the size of file and after SEEK_SET read the the whole file with fread. [EDIT] [code=c] #include <stdio.h> #include <stdlib.h> …

Member Avatar for rwagnes
0
336
Member Avatar for Jishnu
Re: New

I'm not shore that I understood your problem. [code] #if 0 /* you can put here anything and the compiler wouldn't consider it */ #else /* while this part will be considered */ #endif /* if 0 */ [/code]

Member Avatar for Ancient Dragon
0
131
Member Avatar for uu666

Create a thread which will have only getchar. If something pressed then set a bool value in that thread. Of course in while loop will break when the bool value is set.

Member Avatar for Salem
0
138
Member Avatar for dukiduki

Check [URL="http://www.cprogramming.com/tutorial.html"]this[/URL]. Here you have OpenGL and graphics programming tutorial.

Member Avatar for dwks
0
215
Member Avatar for jan1024188
Member Avatar for andor
0
112