Posts
 
Reputation
Joined
Last Seen
Ranked #576
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
43% Quality Score
Upvotes Received
7
Posts with Upvotes
6
Upvoting Members
7
Downvotes Received
10
Posts with Downvotes
8
Downvoting Members
8
9 Commented Posts
0 Endorsements
Ranked #864
~47.9K People Reached
Interests
Geeking...
PC Specs
Intel Core 2 DuoT7520 Processor2.0 GB RAM160 GB HDD8x DVD RW +/-8400 nVidia 128 MB Graphics Card
Favorite Tags
Member Avatar for Duki
Member Avatar for devh

[QUOTE=devh;697232]Hello Every Buddy.. My Problem is solved.. I was unable to send data from my C program for that I hav to make some small changes in My Serial cable.. I had make it NULL MODEM... Just Short 4-6 and 7-6 pin It will start sending as receiving...[/QUOTE] Hey can …

Member Avatar for nithinkumar
0
1K
Member Avatar for lara_

Check this [url]http://www.daniweb.com/forums/thread147417.html[/url] and [url]http://www.daniweb.com/forums/thread148447.html[/url] It should help you out

Member Avatar for nootan.ghimire_1
0
7K
Member Avatar for jared_masc

Hi, If you just want to read a string with space termination, you could just use scanf... If you want to print the read characters, just find the length of the string read and print it... You said the user input is arbitrary, in that case you can do 1) …

Member Avatar for deceptikon
0
5K
Member Avatar for Aamit
Member Avatar for ahamed101
0
87
Member Avatar for abd2

Hi Just "Press Enter" after the last curly braces. you must be using vi editor. Some compilers show this as warning.

Member Avatar for kimchong
2
2K
Member Avatar for animefun2

This code will given an run time error only if you have miss "&" in the scanf section...Please check your actual code if you have the &A[i] and not just A[i] in the scanf section...

Member Avatar for abhishekjha
0
255
Member Avatar for joelogs

[QUOTE=joelogs;711581]we are given the assignment to implement the banker's algorithm in c. this implementation must run in the linux terminal and program must be utilized the os in the time of execution. this means that it must capable on real-time execution with the os. i really don't have any idea …

Member Avatar for jon.kiparsky
0
1K
Member Avatar for The Dude
Member Avatar for SHENGTON

fflush(stdin) is commonly used by everyone in their code to flush the input stream... even i was also using that until Salem and some others from this group corrected me... fflush(stdin) will work most of the time but it is not all recommended to use that... if you want to …

Member Avatar for vsiddharthv
0
902
Member Avatar for vladdy19

Hi there... If you are using Eclipse on Windows then read below... For windows, you should download eclipse-[B][U]cpp-ganymede-win32.zip[/U][/B] from [URL="http://eclispe.org"]http://eclispe.org[/URL]. This comes with a inbuilt gnu compiler (gcc etc)... If still you are not able to compile please install MiniGW from [URL="http://minigw.org"]http://minigw.org[/URL]... This is free gnu compiler... Further if you …

Member Avatar for lmpmbernardo
-1
794
Member Avatar for staufa

Just modifying Sci@phy's code... [code=c] while ((string[i++] = getchar())!='\n' && i < SIZE); string[i]='\0'; [/code] This will do the trick...

Member Avatar for cthoes
0
315
Member Avatar for Scuppery

You know it’s love when you memorize her IP number to skip DNS overhead If at first you don't succeed; call it version 1.0 -- i think we can call it beta version also right?? :D:D lol nice ones...

Member Avatar for Lardmeister
7
522
Member Avatar for ahamed101

Hi All, Let me explain the problem. I have multiple include files as in class1.inc, class2.inc, class3.inc etc. Contents of an include file will be like class1.inc [code=c] { "john", 12, 68, "steve", 12, 98, "mat", 12, 95, }; [/code] This will basically serve as a static array of structures. …

Member Avatar for gerard4143
2
971
Member Avatar for ahamed101

Hi All, I am trying to write a common function called call which will take in a void* and an int type. Based on the int type it will have access to different structures. The code doesn't compile in the first place. I am not sure this is correct or …

Member Avatar for ahamed101
0
106
Member Avatar for drjay1627
Member Avatar for drjay1627
0
139
Member Avatar for The Dude
Member Avatar for gunjanagrawal

fgets is always safe... cause in fgets we can specify the size of the string that should be read... in such a case we can be sure only the specified no of bytes will be read... gets is not like that... it will read whatever we give and may overwrite …

Member Avatar for nucleon
-1
184
Member Avatar for thuyh83

This part is wrong... [code=c] if (a==0 && b==0 && c==0) { opselect = 1; else if (a==0 && b==0 && c!=0) opselect = 2; else if (a==0 && b!=0 && c!=0) opselect = 3; else if (sqr < 0) opselect = 4; else if (sqr == 0) opselect = …

Member Avatar for ArkM
0
161
Member Avatar for jodyf1717

Check [URL="http://www.math.lsa.umich.edu/courses/389/Projects/triangular_arrays.pdf"]this[/URL]

Member Avatar for ahamed101
0
79
Member Avatar for vmanes

Yeah!!! True... the most complicated code we write should not be commented... It should be a piece of wonder and mystique for others...

Member Avatar for sneekula
1
207
Member Avatar for Serunson

[QUOTE=GrimJack;710087]Dang, I must be noob - I don't know you but welcome back anyway.[/QUOTE] Yeah me too... dont know you... welcome back anyways... :P

Member Avatar for jbennet
0
200
Member Avatar for MyRedz

What is your problem anyways... No clue... seriously... one thing we know, you got a problem for sure... be more specific buddy...

Member Avatar for MyRedz
0
129
Member Avatar for vmanes
Member Avatar for The Dude
Member Avatar for ahfan_85

First thing first... You want to calculate the age of a particular user, why do want an array for that?... Second... [code=c] /* Function Prototype */ int calAge(int currentYear[],int currentMonth[],int currentDay[],int birthYear[],int birthMonth[],int birthDay[]) /* Function Call */ calAge(currentYear[i],currentMonth[i],currentDay[i],birthYear[i],birthMonth[i],birthDay[i]); [/code] The above function call and prototype does not match... In …

Member Avatar for ahamed101
0
106
Member Avatar for En-Motion

You can clear the input buffer also... use something like this... [code] char ch; while((ch = getchar())!= EOF && ch != '\n'); [/code] I hope Aia doesn't shout at me for the code I have given here... :D... cause you all know there was a small talk over this code... …

Member Avatar for WaltP
0
144
Member Avatar for anny**

Bottom line... you don't have graphics.h/the compiler doesn't know... Dev-cpp does not come with graphics.h... [URL="http://www.daniweb.com/forums/thread17709.html"]Read this[/URL] thread...

Member Avatar for devnar
0
223
Member Avatar for Somersett

One thing is you need to reallocate memory dynamically... As you say calling realloc always for small data size ain't a good idea... In such a case you can allocate chunks of memory at time... like 32 bytes, 64 bytes, 128 bytes and so on... whenever your data exceeds the …

Member Avatar for Somersett
0
98
Member Avatar for tytelizgal
Member Avatar for ahamed101
0
90